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
- :
- Conditions
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
May 12, 2006
11:21 AM
Conditions
Hi.
I am trying to create a condition that evaluates two string version numbers. I need to know if the user is upgrading from a previous version.
8.1.000.000 = new version
7.5.500.250 = old version
I'd like my condition to evaluate to true when the old version is less than the new version. How can I build this condition?
Thanks
I am trying to create a condition that evaluates two string version numbers. I need to know if the user is upgrading from a previous version.
8.1.000.000 = new version
7.5.500.250 = old version
I'd like my condition to evaluate to true when the old version is less than the new version. How can I build this condition?
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 12, 2006
11:39 AM
The StringUtils class (see the MultiPlatform API docs) has a compareVersionStrings methods that should be of use.