Hi Srinu,
Your project seems to be configured correctly. Do all the controls you mentioned not preserve their valued during the upgrade? If so, can you please send me a
verbose log of the installation, so I can investigate it?
Indeed, I noticed that the value of the checkbox control is not preserved when the "Selected" attribute is set to "True" for that checkbox. This happens because of an architectural design limitation. So, you can set that attribute to "False" by default in order to avoid this.
If you want to keep the "Selected" attribute set to "True" and still preserve the state of the checkbox you can use a "Set installer property" custom action after the "Install Execute Sequence -> Searches" action group to set another property based on the state of the checkbox (i.e. Checked/Not Checked) and set that property as persistent.
Then, add a new "Set installer property" custom action after the "Wizard Dialogs Stage -> Searches" action group that will uncheck the checkbox (set its property to empty) based on the value of the other property. For example:
- Install Execute Sequence:
Property: CHECKBOX_STATE
Value: Not Checked
Condition: NOT CHECKBOX_PROP
Wizard Dialogs Stage:
Property: CHECKBOX_PROP
Value: {}
Condition: CHECKBOX_STATE = "Not Checked"
Best regards,
Eusebiu
FOLLOW US
Get the latest news in Application Packaging