I have a project with an optional feature which is selected using a checkbox. When the installer is run again in maintenance mode, I want to show the feature checkbox as checked but disable it so it cannot be turned off.
My feature is named "Feature_EnhancedSecurity" and I added a control condition to the dialog:
!Feature_EnhancedSecurity = 3 Disable
I also want to check the box if the feature is already installed so I added a custom action in the Init Events of the dialog
[CHECKBOX_ENHANCED_SECURITY_2] TRUE AI_MAINT AND (!FeatureEnhancedSecurity = 3)
Unfortunately after I install without EnhancedSecurity, I still see the box checked and disabled when I do maintenance mode.
What am I doing wrong?
FOLLOW US
Get the latest news in Application Packaging