Little question - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

arinearson
Posts: 7
Joined: Thu Jun 14, 2007 9:56 pm

Little question

I dont see it in the tutorial.

I am making a Check Box that, when checked, will make an Edit Box next to it active.
_
|_| CheckBox if "yes, or True" then EditBox |------| is active.

how would i word this in the conditional dialog box?

Thanks so much!
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Here is how you can do that:

Select the EditBox you want to make enable/disabled depending on the state of a CheckBox. In the "Control Conditions" tab add two control conditions like this:

1. Condition: TEST_PROP
Action: Disable

2. Condition: NOT TEST_PROP
Action: Enable

Where TEST_PROP is the property of the CheckBox.

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
arinearson
Posts: 7
Joined: Thu Jun 14, 2007 9:56 pm

That worked great, thanks alot gigi!
arinearson
Posts: 7
Joined: Thu Jun 14, 2007 9:56 pm

Gah one more question, is there a way to tell the program that, by having 2 checkboxes on my installer, if one is selected, install these files, the other, install those files, if both, install all?

Or if you could link me a tutorial on this, that would be great, thank you!
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Every file resides in a component. Use the "Go To Component" option from the file context menu to view this component in the "Organization" page.

Conditioning this component (using the property of the CheckBox), the file will be installed or not depending on the condition evaluation result. For example using a condition like this: TEST_PROP, the file will be installed if the CheckBox is checked.

http://www.advancedinstaller.com/user-g ... ation.html

Let me know if you encounter any problem.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”