I'm attempting what should be a simple uninstall of a previous MSI installed application, but getting the following error:
Cannot process argument transformation on parameter 'InstalledApplication'. Cannot convert the "" value of type "System.String" to type "PSADT.Types.InstalledApplication".
Where is the name of an installed application in Programs and Features.
In previous versions of PSADT, we were able to use 'Remove-MSIApplications' and provide a partial name, so as to catch any previous versions of the app where the name may be slightly different, and this worked flawlessly.
With PSADT v4, 'Remove-MSIApplications' was replaced by 'Start-ADTMsiProcess -Uninstall', but it does not recognize the name when using the '-InstalledApplication' parameter, even if the name is entered exactly as it is in Programs and Features. I know there is an option to uninstall by product code, but again, I want to allow for installation of several possible installed versions with different product codes.
I'm not sure if I'm doing something wrong or if I simply don't understand the use of the '-InstalledApplication' parameter.
Any assistance is appreciated.