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
- :
- Re: VerProductCompareVersions problem comparing installed version and product version
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 06, 2008
07:48 AM
VerProductCompareVersions problem comparing installed version and product version
Hi,
I use IS11 ... and I posted this thread in the InstallShield 11 - Windows Installer Projects but it seems that Installshield 11 forums just don't get the attention anymore even if there are a lot of developers working on that. I don't know if this is used in IS2008 to compare versions.
So please if you encountered or know a solution for the problem below please help.
I use VerProductCompareVersions to compare installed version with product version in my install script project.
My app versions are:
installed: 4.1.4.0063
to install: 4.1.5.0064
The Version value of the application uninstallation registry key for the installed version is: 4010004 (4.01.004 displayed by IFX_INSTALLED_VERSION)
When I VerProductCompareVersions() I get the I already have a newer version installed. Why is that ? Because after I install the newest version in the reg key I have 4010005 (4.01.005 displayed by IFX_INSTALLED_VERSION) isn't this newer than the older version ?
Thanks for your time,
Bianca
I use IS11 ... and I posted this thread in the InstallShield 11 - Windows Installer Projects but it seems that Installshield 11 forums just don't get the attention anymore even if there are a lot of developers working on that. I don't know if this is used in IS2008 to compare versions.
So please if you encountered or know a solution for the problem below please help.
I use VerProductCompareVersions to compare installed version with product version in my install script project.
My app versions are:
installed: 4.1.4.0063
to install: 4.1.5.0064
The Version value of the application uninstallation registry key for the installed version is: 4010004 (4.01.004 displayed by IFX_INSTALLED_VERSION)
When I VerProductCompareVersions() I get the I already have a newer version installed. Why is that ? Because after I install the newest version in the reg key I have 4010005 (4.01.005 displayed by IFX_INSTALLED_VERSION) isn't this newer than the older version ?
Thanks for your time,
Bianca
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 06, 2008
11:26 AM
Not sure if this is a defect/bug with InstallShield, I prefer to use VerCompare function to compare 2 versions. If you can get hold of 2 versions to compare, then make sure each are in format a.b.c.d and use VerCompare to check the versions.
VerCompare(svItem, svItem1, VERSION);
VerCompare(svItem, svItem1, VERSION);
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 09, 2008
04:38 AM
Happy Days wrote:
Not sure if this is a defect/bug with InstallShield, I prefer to use VerCompare function to compare 2 versions. If you can get hold of 2 versions to compare, then make sure each are in format a.b.c.d and use VerCompare to check the versions.
VerCompare(svItem, svItem1, VERSION);
Thank you very much for your time and for the solution.
Bianca