Previous versions of our installers were built using other product (InstallShield, Inno, VISE).
I'm currently testing for the presence of various RegKeys in order to determine the previous version that may be installed.
Question: is there a better way? Can I just sample Add/Remove programs in some way and force an uninstall of the old version?
TIA!
Detecting Previous Installations With Other Installers
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Of course, there are many counterparts in InstallAware. For example, look at:
Read Registry
Check Registry
Run Program
Is MSI Setup Installed
(Un)Install MSI Setup
Also, each default setup project comes with a pre-built script block that uninstalls an older version of your InstallAware-based setup, using (Un)Install MSI Setup. So you can look at that block of code, and similary extend the idea to automatically uninstall your old versions built inside other IDEs.
Read Registry
Check Registry
Run Program
Is MSI Setup Installed
(Un)Install MSI Setup
Also, each default setup project comes with a pre-built script block that uninstalls an older version of your InstallAware-based setup, using (Un)Install MSI Setup. So you can look at that block of code, and similary extend the idea to automatically uninstall your old versions built inside other IDEs.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: Google [Bot] and 134 guests