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: Component Condition based on users input
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
‎Sep 14, 2009
05:17 AM
Component Condition based on users input
I want to start my application when the user logs on if user wants to do so.. Basically I will create a registry entry under CurrentVersion\Run key but the component should have a condition for the user's choice. I put a check box with a property associated with it at Setup Type dialog or Custom Setup dialog but it doesnt work.
The reason is probably that the conditions for components are decided before that I just guess?
Could anyone help me with this?
Thanks!
The reason is probably that the conditions for components are decided before that I just guess?
Could anyone help me with this?
Thanks!
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 16, 2009
06:02 AM
RE-sending this..
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 16, 2009
10:23 AM
The installer evaluates conditions at the cost finalize action. The UI runs before that. So you haven't got a sequencing issue, you more likely have a condition issue.
What you need to test is the appearance or dissapearance of the property for a checkbox. A lot of people make the mistake of checking true/false or 1 and 0 etc.
If your check box property is called MYPROPERTY, your condition for checked is simply:
MYPROPERTY
or to test for unchecked then you want:
Not MYPROPERTY
To default the check box to checked then add the property with any value to your property table. To default the check box to unchecked then delete the property
Hope this helps
What you need to test is the appearance or dissapearance of the property for a checkbox. A lot of people make the mistake of checking true/false or 1 and 0 etc.
If your check box property is called MYPROPERTY, your condition for checked is simply:
MYPROPERTY
or to test for unchecked then you want:
Not MYPROPERTY
To default the check box to checked then add the property with any value to your property table. To default the check box to unchecked then delete the property
Hope this helps