Run Programs not called during Previous Version Uninstall
Posted: Tue Jan 01, 2008 4:07 am
I am having a problem with IA7 Express where I have a program set to run Before Uninstallation. It runs fine when I uninstall the application through the Add/Remove Programs Control Panel. However, when I install a new version of the application without removing the old version, and proceed with the "Previous Version Uninstallation" requirement in the wizard, it does NOT run the Before Uninstall programs.
I've verified this with a simple command-line app that writes a log file when it runs.
Is there a way to either (A) get the Previous Version Uninstall procedure to run the configured Before Uninstall run programs list, or (B) to force the user to remove the existing version manually before allowing them to proceed with the new installation (which runs the commands properly).
The commands that run are needed to properly prepare the application for uninstallation - without them, IA is unable to actually remove the old files, causing issues with the new version installation. As I said - the manual uninstall via Add/Remove Programs works great... it's just that the "Previous Version Uninstallation" process at the beginning of the wizard fails to do the same things that the ARP uninstall does. Seems like a bug.
I've verified this with a simple command-line app that writes a log file when it runs.
Is there a way to either (A) get the Previous Version Uninstall procedure to run the configured Before Uninstall run programs list, or (B) to force the user to remove the existing version manually before allowing them to proceed with the new installation (which runs the commands properly).
The commands that run are needed to properly prepare the application for uninstallation - without them, IA is unable to actually remove the old files, causing issues with the new version installation. As I said - the manual uninstall via Add/Remove Programs works great... it's just that the "Previous Version Uninstallation" process at the beginning of the wizard fails to do the same things that the ARP uninstall does. Seems like a bug.