mathiaso
Posts: 23
Joined: Wed Feb 10, 2016 9:54 am

Install feature based on checkbox selection

Tue Jun 27, 2017 8:04 am

I have a setup where I use a quick selection list to have the user select what feature to install. I currently have 10 in total
Now I want to add a checkbox to use with the quick selection list, because I need to add an install option to each feature.

So when user selects a feature, ex "Digital camera" and my new checkbox, it should install a feature "Citrix Digital Camera".
Of course, these new features (all Citrix variants of the normal feature) are not visible for selection in the list.

How should I set the install condition on the "Citrix Digital Camera". I tried setting it to CHECKBOX_CITRIX (the property nam) but I also need the property for the "Digital Camera" feature, but I cannot understand how to find that.

Thanks in advance.

Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Install feature based on checkbox selection

Tue Jun 27, 2017 9:44 am

Hello,

Your scenario could be implemented taking the following steps:

1."Citrix Digital Camera" should be a subfeature of "Digital Camera". In this way it will only be installed if "Digital Camera" feature is selected.

2. you should configure "Citrix Digital Camera" feature's "Installation Behavior" to "Installed":

Not installed if:

Code: Select all

CHECKBOX_CITRIX<>"1"
where CHECKBOX_CITRIX selected value is "1"

This condition will install the feature only if the checkbox is selected.

Please let me know if you have any other question.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

mathiaso
Posts: 23
Joined: Wed Feb 10, 2016 9:54 am

Re: Install feature based on checkbox selection

Tue Jun 27, 2017 1:02 pm

The issue is that I do not want the "Digital Camera" files to be installed if I select "CHECKBOX_CITRIX", just the "Citrix Digital Camera".

How can I accomplish this?

Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Install feature based on checkbox selection

Wed Jun 28, 2017 8:21 am

Hello,

In this situation I would recommend creating a custom dialog for feature selection and using separate "Citrix" features (not sub features).The custom feature selection dialog could contain a separate checkbox to be used for each of your product features. You could configure the features condition based on the checkboxes placed on this dialog.

Please take a look on our article : How to show a custom feature selection dialog

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

mathiaso
Posts: 23
Joined: Wed Feb 10, 2016 9:54 am

Re: Install feature based on checkbox selection

Mon Jul 03, 2017 12:36 pm

I did what you suggested, but I cannot get the Features to be installed.

I created a "Checklist", but I cannot rename it as the instruction suggested. This is the properties of the checklist, and it displays fine and I can choose with checkboxes, but they don´t get installed.

Is my setting on feature correct for when it should install it? This is just a basic feature, not combined with the "Citrix" checkbox
Attachments
2017-07-03_13-29-45.png
2017-07-03_13-29-45.png (14.07 KiB) Viewed 3539 times
2017-07-03_13-32-54.png
2017-07-03_13-32-54.png (31.45 KiB) Viewed 3539 times

Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Install feature based on checkbox selection

Mon Jul 03, 2017 2:59 pm

Hello,

My recommendation would be to create a checkbox for each of your feature (not using checklists) and a radio button group containing two radio buttons (standard and Citrix variations). Please take a look on my attached screenshot of this configuration for the dialog.

You could configure the standard variation in the following way:

Code: Select all

Not Installed
Installed if : CHECKBOX_1_PROP AND RADIOBUTTONGROUP_1_PROP="Standard"
The citrix variation of Feature1 should be configured in this way:

Code: Select all

Not Installed
Installed if : CHECKBOX_1_PROP AND RADIOBUTTONGROUP_1_PROP="Citrix"
For a second feature you could enter the following condition:

For standard variation:

Code: Select all

Not Installed
Installed if : CHECKBOX_2_PROP AND RADIOBUTTONGROUP_1_PROP="Standard"
For Citrix variation:

Code: Select all

Not Installed
Installed if : CHECKBOX_2_PROP AND RADIOBUTTONGROUP_1_PROP="Citrix"
And so on..

Best regards,
Sorin
Attachments
screenshot.jpg
screenshot.jpg (33.03 KiB) Viewed 3529 times
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”