• Welcome to Support Forum: Get Support for Patch My PC Products and Services.
 

Uninstall-Software.ps1 script and WindowsInstaller option

Started by [email protected], March 12, 2026, 02:53:26 PM

Previous topic - Next topic

[email protected]

Hi - I'm wondering if there's a reason I can only have the uninstall pre-script look for earlier install based only on MSI -OR- EXE. I didn't realize it worked that way until I did a Snagit upgrade coming from mixed install types and am now having to do a bunch of remedial clean up. We should have the option to remove both types of prior install in one go. Thanks!

.PARAMETER WindowsInstaller
    Specify a value between 1 and 0 to use as an additional criteria when trying to find installed software.
    If WindowsInstaller registry value has a data of 1, it generally means software was installed from MSI.
    Omitting the parameter entirely or specify a value of 0 generally means software was installed from EXE
    This is useful to be more specific about software titles you want to uninstall.

Andrew Jimenez (Patch My PC)

Hello,

This is good feedback, we'll look into implementing an option to skip that check.
The reason it was designed this way is because our updates are usually targeted based on a specific installer type, so we designed the uninstaller to work in the same way, but having a more "relaxed" option makes sense to me!