Automatically un-installing previous versions
We just recently dumped Wise in favor of Advanced Installer and have a bunch of old installs out there. I have a full list of all the installer numbers, but is there a way to query the Windows Software index programmatically and automatically un-install previous versions?
If not how can I pass the msiexec /X{*} /s before an install. Can I make that a custom Action that only runs if the {HKLM\Software\Microsoft\Windows\Uninstall\{installernumber}} exists?
-Gar