0

I just installed VS2013. As there is no longer the Setup Project, I installed InstallShield LE. I used integrated import wizard and hoped any newer build would automatically update older versions created with VS Setup project. Well, I used to alter the Product Version, which prompted me to alter the Product Code, and that was it. Now I thought this should work with InstallShield as well, so I updated the product version and manually generated the product code. I had the older application installed and tried to reinstall it with this new IS LE setup. And the result is: There are two applications installed, which have exactly the same name and path (it installed in the same directory), but different version. I can really see 2 programs with the same name in "Programs and Features". I checked the upgrade code, it is the same for both. What did I do wrong?

Thanks

2 Answers 2

1

Check the installation type, i.e. per user or per machine. It must be the same for both versions, otherwise Windows Installer will skip removing the old versions and you will end up with both versions on your machine.

A verbose log created when you install the new version should also be helpful, you can search for FindRelatedProducts and RemoveExistingProducts standard actions in it, to see why the old version is not removed.

Sign up to request clarification or add additional context in comments.

11 Comments

Well in the VS2010 Setup Project, there was InstallAllUsers property, which was set to false. In the new (imported) IS LE project, there was (in the General Information section) the ALLUSERS option set to 1 (per-machine installation) . So I changed that to "", which should be per-user installation, but it didn't help. It still installs alongside the old version.
I will try the log and see if it is of any help. Then I'll let you know.
Well, in in the log I found this: MSI (c) (5C:40) [13:04:01:320]: Doing action: FindRelatedProducts Action 13:04:01: FindRelatedProducts. Searching for related applications Action start 13:04:01: FindRelatedProducts. MSI (c) (5C:40) [13:04:01:321]: FindRelatedProducts: current install is per-user. Related install for product '{7CF44E5C-B8DB-4BF0-8759-061FC61CD808}' is per-machine. Skipping... Action ended 13:04:01: FindRelatedProducts. Return value 1.
So I uninstalled the old application and installed it for all users (VS2010 Setup let's U choose during the installation) and installed it again, now it says: MSI (c) (EC:5C) [12:54:45:283]: Doing action: FindRelatedProducts Action 12:54:45: FindRelatedProducts. Searching for related applications Action start 12:54:45: FindRelatedProducts. Action ended 12:54:45: FindRelatedProducts. Return value 1. But it still installs alongside the old version.
Ans as for the RemoveExistingProducts: MSI (s) (50:14) [13:14:58:253]: Doing action: RemoveExistingProducts Action 13:14:58: RemoveExistingProducts. Removing applications Action start 13:14:58: RemoveExistingProducts. Action ended 13:14:58: RemoveExistingProducts. Return value 1.
|
0

Well finally we were able to solve the problem. You need to place an entry to the Upgrades Path section. Oddly enough You need to do this manually and it's not done automatically by the IS import wizard.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.