Thanks for the help Paul.
I will test it and report back.
I did try the Remove-MSIApplications, but for whatever reason it will not uninstall this application.
I then decided to build an uninstaller using PsApp with the following code:
Execute-MSI -Action Uninstall -Path "{49E48BAD-ED29-44FF-BB27-9BE66CC61852}"
and it works. I want to think it is because the old version of this app is installed in the "users app data folder", but the new version installs in ProgramData, but this should not matter as I do reference the GUID.
Maybe I am better off running the Execute-MSI -Action Uninstall -Path "{49E48BAD-ED29-44FF-BB27-9BE66CC61852}" then add a pause, then remove the second application.
You have given me something to think about regardless.
Thanks
I will test it and report back.
I did try the Remove-MSIApplications, but for whatever reason it will not uninstall this application.
I then decided to build an uninstaller using PsApp with the following code:
Execute-MSI -Action Uninstall -Path "{49E48BAD-ED29-44FF-BB27-9BE66CC61852}"
and it works. I want to think it is because the old version of this app is installed in the "users app data folder", but the new version installs in ProgramData, but this should not matter as I do reference the GUID.
Maybe I am better off running the Execute-MSI -Action Uninstall -Path "{49E48BAD-ED29-44FF-BB27-9BE66CC61852}" then add a pause, then remove the second application.
You have given me something to think about regardless.
Thanks