Showing results for 
Show  only  | Search instead for 
Did you mean: 

uninstall command line syntax for multiple msi productguids at the same time

Can I do this:

msiexec.exe /x {ProductGuid1} : {ProductGuid2} : {ProductGuid3} /qn

What is the correct syntax for multiple uninstalls at the same time?
(2) Replies
You cannot remove multiple products using one command line; a batch file would help.

In theory, you could wrap up a dummy *.msi file that doesn't register itself on the system (by conditioning out the Register* and Publish* actions), and then add Major Upgrade items that point to the various different products.

This would allow RemoveExistingProducts to handle removing all the various *.msi's from a single commandline call (assuming they uninstall cleanly in this fashion).