This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Upgrading Issues
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 23, 2008
10:09 PM
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.
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.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 23, 2008
10:48 PM
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.
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 23, 2008
10:51 PM
Please omit the first line out in my previous post.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 24, 2008
01:00 PM
Thank you, I will try it out.