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
- :
- Detecting other versions of our Software
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
Oct 18, 2007
01:50 PM
Detecting other versions of our Software
I am having an issue with detecting other installed versions of our software using the Upgrades section to do a Detect Only setting.
I have this new software product that can not be installed if any of our other software products are installed on the machine. So I go to the Upgrades section and create a new Major Upgrade entry. I enter the Upgrade Code of the products in question and then under the Advanced Tab I select Detect Only and set the property for the conditional statment to exit the install if it exists.
I have it also set for Any earlier Vesion so that the entry under the Advanced tab - Maximum Version gets set to ***ALL_VERSIONS***
When I have one of these products install this install will not see them and try to contiune. Why is it not detecting the other versions? Could it be that the version numbers of the installed products are actually higher than that of my new project and therefore it is only trying to find versions lower than what my current project settings are?
Any help would be great.
Thanks,
I have this new software product that can not be installed if any of our other software products are installed on the machine. So I go to the Upgrades section and create a new Major Upgrade entry. I enter the Upgrade Code of the products in question and then under the Advanced Tab I select Detect Only and set the property for the conditional statment to exit the install if it exists.
I have it also set for Any earlier Vesion so that the entry under the Advanced tab - Maximum Version gets set to ***ALL_VERSIONS***
When I have one of these products install this install will not see them and try to contiune. Why is it not detecting the other versions? Could it be that the version numbers of the installed products are actually higher than that of my new project and therefore it is only trying to find versions lower than what my current project settings are?
Any help would be great.
Thanks,
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 19, 2007
12:51 PM
That certainly sounds like a reasonable hypothesis. Examining the Upgrade table of the build MSI (which as you surmise should hold your MSI's ProductVersion as the excluded maximum), comparing against your other product you wish to uninstall, and checking out the information in a verbose log around the FindRelatedProducts action should be able to confirm or disprove it.