cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
silapakt
Level 2

How to create checkbox option to install website on IIS? (please help!!)

Dear all

I create 2 VirtualDir on IIS Setting like picture image 1
and i want to create checkbox option like image 2 to select website
that user need to install

Example
CheckBox 1 = Install Virtual Dir1
CheckBox 2 = Install Virtual Dir2

1. IISSetting
ImageShack.us

Uploaded with ImageShack.us

2. Dialogs
ImageShack.us

please help

Thankyou.
Labels (1)
0 Kudos
(3) Replies
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

You should be able to condition the component(s) that contain the IIS items based on the properties associated with the checkboxes. For example, if one of the checkboxes was associated with the public property CHECKBOX1, set the following condition on the component that needs to be conditionally installed:
CHECKBOX1

This condition will be false when the checkbox is not checked since the property will not be set. When the checkbox is checked, its associated property is set and the component condition will evaluate to true allowing the component to install.
0 Kudos
silapakt
Level 2

joshstechnij wrote:
You should be able to condition the component(s) that contain the IIS items based on the properties associated with the checkboxes. For example, if one of the checkboxes was associated with the public property CHECKBOX1, set the following condition on the component that needs to be conditionally installed:
CHECKBOX1

This condition will be false when the checkbox is not checked since the property will not be set. When the checkbox is checked, its associated property is set and the component condition will evaluate to true allowing the component to install.


Dear joshstechnij

I try your solution, but it not work please see picture below.
Please advice more detail or other way to do.



very thank
0 Kudos
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

Unfortunately, this screenshot does not provide enough detail to troubleshoot the behavior you are seeing.

What property is associated with the checkbox that was created? What is the value set by the checkbox? What happens if the condition on the component is changed to:
chk1

Also, public properties should be used in this type of scenario to allow the property to be controlled correctly. Public properties are defined with names using all uppercase letters.
0 Kudos