Uninstall old version of new application
Posted 26 January 2004 - 00:17
I would like my MSI package to uninstall previous versions before installing a new version of the same software. Currently the MSI package does not and this leaves MyApp listed in the Add/Remove Programs list, along with old version files & shortcuts on the target machine.
I use VB 6 sp5 to create the application. Then Visual Studio 6.0 creates the MSI setup file. The problem is that no matter what I set for the Product Code (Upgrade Code always stays the same) and Version Number, every different version of MyApp creates another entry in the Add/Remove programs list and never removes the previous version.
Is it possible to get a new version of MyApp to uninstall the old version first?
Tools we have
VB 6 sp5
VS 6.0 Installer
Orca version 1.2 and 2.0
Posted 26 January 2004 - 03:59
Here is what I have tried, but I still get duplicate entries in the Add/Remove programs when trying to upgrade my program.
Property Table (not all properties listed)...
InstallExecuteSequence Table (not all rows listed)...
Posted 26 January 2004 - 05:09
Description: Searching for related applications
Template:Found application: 
Thank you for the help and the review of these changes
Posted 26 January 2004 - 07:16
Posted 27 January 2004 - 03:48
Posted 30 January 2004 - 22:01
Posted 09 February 2004 - 03:36
Edited by kellc, 09 February 2004 - 03:40.