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
- :
- Is there a limit on number of and / or in one condition?
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
Nov 19, 2009
09:32 AM
Is there a limit on number of and / or in one condition?
I am trying to write a conditon which has a series of and and or. The moment I add the 11th condition, IS throws an error, saying invalid condition. Is that an limitation with IS 14 (2008) or am I doing something wrong there.
If thats the limitation, is there any workaround?
If thats the limitation, is there any workaround?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 19, 2009
10:57 AM
i think the limitiation is on the length of the field, not the complexity of the condition. but i've had this problem before too, and the solution is kindof annoying, but it works.
Break your condition up into manageable chunks.
for each chunk create two actions. one to set a value to true and another (with the compliment of the given condition as a condition) to set a property to false.
then you can simply rewrite the condition in question in terms of the properties that these new actions set.
good luck!
Break your condition up into manageable chunks.
for each chunk create two actions. one to set a value to true and another (with the compliment of the given condition as a condition) to set a property to false.
then you can simply rewrite the condition in question in terms of the properties that these new actions set.
good luck!
