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
- :
- Conditional Check Character Length Limitation in Dialog Control Behavior
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
Feb 05, 2009
04:21 PM
Conditional Check Character Length Limitation in Dialog Control Behavior
One thing that we have run across during our installer development is a conditional check character limitation when defining an action for a Next PushButton control.
When defining a "Disable" or "Enable" action for the "Next" button on our dialog when a certain condition is met, this works
((EXADMPWD1 = EXADMPWD2) AND (EXADMPWD1 = "")) OR ((EXUSRPWD1 = EXUSRPWD2) AND (EXUSRPWD1 = ""))
but this does not
((REALLYLONGEXAMPLEADMINPASSWORD1 = REALLYLONGEXAMPLEADMINPASSWORD2) AND (REALLYLONGEXAMPLEADMINPASSWORD1 = "")) OR ((REALLYLONGEXAMPLEUSERPASSWORD1 = REALLYLONGEXAMPLEUSERPASSWORD2) AND (REALLYLONGEXAMPLEUSERPASSWORD1 = ""))
We couldn't find any documentation to indicate a character length limitation for condition checks and it only seems to apply to dialog control condition checks; at least that we've seen so far. Is there any documentation or general knowledge about what our character lenght limitation is or is it we have to find out by trial and error?
When defining a "Disable" or "Enable" action for the "Next" button on our dialog when a certain condition is met, this works
((EXADMPWD1 = EXADMPWD2) AND (EXADMPWD1 = "")) OR ((EXUSRPWD1 = EXUSRPWD2) AND (EXUSRPWD1 = ""))
but this does not
((REALLYLONGEXAMPLEADMINPASSWORD1 = REALLYLONGEXAMPLEADMINPASSWORD2) AND (REALLYLONGEXAMPLEADMINPASSWORD1 = "")) OR ((REALLYLONGEXAMPLEUSERPASSWORD1 = REALLYLONGEXAMPLEUSERPASSWORD2) AND (REALLYLONGEXAMPLEUSERPASSWORD1 = ""))
We couldn't find any documentation to indicate a character length limitation for condition checks and it only seems to apply to dialog control condition checks; at least that we've seen so far. Is there any documentation or general knowledge about what our character lenght limitation is or is it we have to find out by trial and error?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 09, 2009
02:45 PM
The Condition column of the ControlCondition table has a 255 character limit specified. This is most likely the source of any limit you are encountering. For this particular case, perhaps you could split up your cases so you have two enable conditions and two corresponding disable conditions, such that exactly one of the four will trigger for any given set of property values.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)