cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
fernandocaprio
Level 3

Upgrade Table

Hi All,

I've been trying to solve an issue with the upgrade process for a few days with no success. It would be nice if someone here could help me.

For some reason installshield 2009 is not showing a dialog saying "this is an upgrade" if I have a different Product Code, although I'm using the same "upgrade code". It acts like it's a new software that the user never had previously installed on his computer.

My already deployed software is on the Web and was created using installshield 10.5. I had to re-create all the installation process, changing the version from 2.5.x to 2.6.x, so this is a major update - new package code / product code. If I use the same product code, the installation fails with lots of errors (which I'm guessing is expected since I changed everything inside the installer) - I have several nested MSIs (I know this is bad, but there are several plugins I need to distribute with my sw inside "setup.exe").

In my upgrade table, I have the previous version upgrade code listed. From the log, this is what I get:

00018: (Unknown): InstallShield 16:16:30: Begin SetAllUsers()
00019: (Unknown): InstallShield 16:16:30: Getting records from Upgrade table
00020: (Unknown): InstallShield 16:16:30: UpgradeCode: {AAB4726D-E9E3-4FDD-890E-C2DA1C6F90A4} MinVersion: MaxVersion: 2.5.5.200 Language: Attributes: 1
00021: (Unknown): InstallShield 16:16:30: Checking related product {55782B2F-49AE-423D-85D6-4EE7019CEA13}
00022: (Unknown): InstallShield 16:16:30: My Sw Name {55782B2F-FFAE-423D-85D6-4EE7019CEA13} 0 2.5.5.193 ***Related***
00023: (Unknown): InstallShield 16:16:30: ALLUSERS of related product {55782B2F-49AE-423D-85D6-4EE7019CEA13} is = 1
00024: (Unknown): InstallShield 16:16:30: End SetAllUsers()


Although it seems to upgrade/or just replace all my DLLs and install new stuff, for some reason the old product is not removed from windows add/remove software entry. So I get two entries there, one for the old version (which is replaced by the new one) and one for the new version.

My upgrade table is as follows:

My sw

Upgrade signature:

Upgrade Code: {AAB4726D-E9E3-4FDD-890E-C2DA1C6F90A4}
Minimum version: empty
Include Minimum version: No
Maximum Version: 2.5.5.200 (the one in the web is lower then that)
Include Maximum version: No
Language: empty
Exclude Specified languages: no
Detect Only: No
Detect Property: MySwInstalled
Only Removed Specified Features: empty
Continue on Failure: No
Migrate Feature States: yes



Any help would be appreciated 🙂

Thanks,

Fernando
Labels (1)
0 Kudos
(2) Replies
fernandocaprio
Level 3

Is there a way to manually remove one entry from Add/Remove programs from Installshield?
0 Kudos
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

If a major upgrade is not removing previous versions of a product, the best thing to check in the log file would be the FindRelatedProducts and RemoveExistingProducts standard actions. If these actions are not doing anything in the log (i.e. they just start and end with nothing in between), then the upgrade items in the Upgrades view are not configured correctly to allow the previous versions to be removed. This is usually caused by the min/max version settings or the language settings.

Also, what project type are you using (Basic MSI or InstallScript MSI)?
0 Kudos