PDA

View Full Version : Upgrade Paths



Bucko666
03-25-2008, 07:40 PM
Hi,

I am having trouble with my installation picking up previous versions and upgrading them.

I have added an upgrade path, but cannot seem to get it to find the previous version and upgrade it, i constantly get the message upon installation of the upgrade:

Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.

I have even set the upgrade path to not include min/max version and exlude the language identifier and yes to ignore remove failure. I have also made sure the the Upgrade Code of the upgrade path matches the upgrade code of the install. The upgrade path is in the same project as the main install, could that be the problem ? I'd rather not have to make a new project for every upgrade though.

The only way i have found around this problem, is to change the product code for every build, which then creates multiple entries in the end users add/remove programs

joshstechnij
04-11-2008, 04:22 PM
The Upgrade Paths view is intended to uninstall a previous version of the product and then allow the new version (that has a new Product Code) to be installed. If the upgrade works correctly, there should only be one entry for your product in Add/Remove Programs.

In-place upgrades (where the Product Code does not change, also called a minor upgrade) are not support by InstallShield Express editions. If you would like to upgrade some existing files already installed by your project, you can try using a QuickPatch project to provide the updates.

To get the upgrade path to work, you should be able to create a new upgrade path, provide the previous setup/MSI package that you would like to upgrade, change the Product Code, then build and test. A separate project should not be necessary.