currently i'm using OnMaintUIBefore and ONMainUIAfter to figure out whether or not a previous version has been installed and uninstalling it. but how can i start the install process to place the new files onto the machine.
Uninstall then new install
Posted 13 February 2002 - 18:01
Posted 13 February 2002 - 22:18
It's been awhile. You could detect the application through the RegLocator table and then set a property using the AppSearch table. You could then fire off a custom action prior to the UI that runs the MsiExec commandline uninstall for the older product based on the property being set for the older value.
Would that help
Kurt Schneider
Posted 14 February 2002 - 10:22
Posted 14 February 2002 - 20:17
i've created a CA in vbscript that checks for the previous version and launches the uninstall "IDriver /m{guid}" which works great to uninstall the prevoius version. the problem i'm encountering is, as far as i can tell, (1) the execute sequence either is only used during straight install (not maintanence install) or (2) maintanence mode does not fire CA's.
does anyone know where / when maintanence mode is chosen?
i can make maintanence mode look like a first time install by making OnMaintUIBefore look like OnFirstUIBefore but once uninstall has taken place i cant make the new install fire.
btw... i'm using IS 7.02.