c_werner
Posts: 15
Joined: Tue Feb 06, 2007 5:24 pm
Location: Fresno
Contact: Website

determine when to install file

I'm just wondering how I can determine whether or not to install a single element (it's a text file) based on a radio button selection from the user

eg. user selects "no" and it's no installed, "yes" and it is installed
Daniela Petrescu
Posts: 30
Joined: Tue Aug 14, 2007 10:03 am

Hi,

You can choose whether or not to install a single element by adding a NewDialog that will contain a RadioButtonGroup with 2 RadioButon:
- if first is checked then the file will be installed
- if the second is set then the file isn't installed.

The RadioButtonGroup will have as Property Name the value PROPERTY. The first RadioButton must have the Value attribute set to "Yes" and the second RadioButon to "No".

The file should be placed in a his own component(in Organization view, right click on your file > Move to New Component).
The file's component must have the Condition : PROPERTY="Yes".

Regards,
Daniela

_________________
Daniela Petrescu
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”