Hi Mike,
The
property related to the checkbox is empty when the checkbox is not checked. When you check it, the property's value is set to the value specified in the "Value" field.
In order to populate the "<TrustedConnection>" XML element when the check box is not checked you can use a different public property which is set depending on the state of the checkbox.
To achieve this you can follow the steps below:
- in
"Install Parameters" page, create a property (i.e. "TRUSTED_CONNECTION") with the default value set to "True"
- using a
"Set installer property" custom action with sequence in
"Install Execution Stage" after the
"Searches" action group, you set the property created above ("TRUSTED_CONNECTION") to the "False" value if "DB_TRUSTEDCONNECTION" property is not set (condition is:
"NOT DB_TRUSTEDCONNECTION").
- use the "TRUSTED_CONNECTION" in your XML file to update the "<TrustedConnection>" element
This way, the "<TrustedConnection>" XML element will always have a value.
Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.
Best regards,
Eusebiu
FOLLOW US
Get the latest news in Application Packaging