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: Install Condition Problem
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
Apr 15, 2010
12:32 PM
Install Condition Problem
Hi,
I'd like to create an install condition that retrieves a registry value and then compares it to a value and returns true if it is equal to or greater than that value. The problem that I am having is that the value in the registry is a string. Is there a way that I can convert the string to a number before doing the comparison? Or is the only way to accomplish this via a custom action?
Thanks in advance,
anthonyw
I'd like to create an install condition that retrieves a registry value and then compares it to a value and returns true if it is equal to or greater than that value. The problem that I am having is that the value in the registry is a string. Is there a way that I can convert the string to a number before doing the comparison? Or is the only way to accomplish this via a custom action?
Thanks in advance,
anthonyw
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 16, 2010
06:54 AM
Custom action looks like the only option to accomplish this.You can only check for the values and compare the values through install condition.