Using windows, I can uninstall software via script/command line as follows:
msiexec /x {00000000-0000-0000-0000-000000000000}
Is there a method to just test for the existence of the given package, without affecting it?
I'm interested in a true/false or any other input, indicating whether the package exists on the machine, and can be removed using Windows installer with the given command.
For context: I'm using NSIS, and need to modify my installer behavior in case a specific package is found. Command-line can be used as it can return values, and VBScript can be used via cmd as well.
Absolutely no affect on the package is mandatory, and also no indication of the process to the user, so repair isn't acceptable for example.