This worked great for me when I had to uninstall an app that had been deployed without an uninstall script added. The app was a fat install but was being replaced by an App-v version and I used this as a pre-req.









** Edit the strFile for the path to the file you want to use for the detection method. For the Mosaic example, the detection file is C:\Program Files\Entero Corporation\Mosaic2015.3\mosiac.exe.







To test, install your app locally, create a temporary collection, create a deployment to run the app to uninstall the local install.
Leave a Reply