cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jrtomasino
Level 2

Upgrading Issues

Hello.

I'm a newbie to the InstallShield world and I desperately need help. We have an installation that has been created with InstallShield 2008. One of the purposes of the installation is to completely uninstall any previous versions of the software and always install the new one. This works fine.

The problem I have is that they want me to see if there is a way to detect what version of the code is installed and decide whether or not the installation should continue.

Like I've said before, I'm not an expert, but I tried putting the minimum and maximum versions in the major upgrade fields, but what happens is not what I expect. Lets say I want to only update from version 3 and above. I have version 2.1 on the destination PC, I would expect some kind of an error generated by the installation because its not >= 3. Instead, it installs itself parallel to the previous installation. If this version was 3, then the install uninstalls the previous versions and upgrades accordingly.

One last thing, this code has been handed down. I know the GUID needs to be changed to distinguish instances but I have NO RECORDS of these.

Any help would be appreciated.
Labels (1)
0 Kudos
(3) Replies
TheResearch
Level 6

You could use AppSearch and for

U could use AppSearch and find the installed version in registry 'Display Version' under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\'.

Then use this property in LaunchCondition and abort the installaltion, if required.

Hope this helps.
0 Kudos
TheResearch
Level 6

Please omit the first line out in my previous post.
0 Kudos
jrtomasino
Level 2

Thank you, I will try it out.
0 Kudos