Support Forum: Get Support for Patch My PC Products and Services

Commercial Products: Support for Our Enterprise Product for Microsoft ConfigMgr and Intune => Commercial/Paid Products: Support and General Questions (ConfigMgr and Intune) => Topic started by: [email protected] on March 12, 2026, 02:53:26 PM

Title: Uninstall-Software.ps1 script and WindowsInstaller option
Post by: [email protected] on March 12, 2026, 02:53:26 PM
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.