Hi There. We have an application that has a somewhat dirty install scheme. Each update is it's own seperate uninstall. Many of our PCs have upwards towards 60 MSI packages for a fully-updated suite. There are some times that we need to do a complete uninstall/reinstall of the application. I'm usually able to get a list by copying files with a certain author from c:\windows\installer, pasting into a new folder, doing a DIR /b > List.txt and adding an msiexec /x to the beginning of each line and a /qb! at the end of each line. Run this and it works great.
I have a situation coming up where I will need to do this in one of our satellite offices (~35 people) and I would like to script this to run on every PC. Only problem is that the uninstall MSI file names are not uniform cross-workstation. I would like to be able to script this uninstall using perhaps some sort of for loop utilizing the Author information attached to the file. Is there a way to do this? Alternately, can I script the uninstalls using the uninstall registry keys?
I'd love to know, thanks!