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!

raddad555
Posts: 23
Joined: Sat Feb 09, 2013 3:40 pm

Condition based file install

I simply want to have a file install or not based on the answer to the selected item in the combo-box. I can't find how to do this simple action. When I used wise I could work with if statements etc, without having to build bat or script files to launch.
am I missing something using AI. Anybody chime-in please and thanks.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Condition based file install

Hello,

In order to achieve that, after you had added a combo box control(by default a property has been associated and its name is COMBOBOX_1_PROP ) and specified the control data, you can go in the “Organization” page and for the components that you want to be installed based on the user choice you can condition its installation.

You can select a component and in the in the “Condition” field from the component properties you can type a condition something like: combo box property = “value of the related user selection item”.

I have also attached a .zip archive containing a sample which implements a similar scenario.

If you have any questions please let us know.

Best regards,
Dan
Attachments
sample.zip
(3.32 KiB) Downloaded 304 times
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”