Please consider this scenario:
I have 6 check boxes controls, each having a property named "cbBINDING_XXX_XXXX"

If a check box is checked, the setup needs to write "true" in a xml file, or false if it's unchecked:

In the first image, you'll notice I have to set up TWELVE events to handle setting the relevant properties to either "true" or "false".
I also need to have these properties initialized with a default value in the Install Parameters panel, or the setup will "forget" about their content by the time it gets to write the values in the XML file:

- Is this the most optimal way of doing something like this?
- If I absolutely have to do it this way, then why, oh WHY can't I copy and paste the events? With the current editor, it's terribly inefficient to set these 12 events manually. Heck, it's faster to edit the .aip file and deal with the XML manually! Now imagine other (very real) scenarios where I have a page full of checkboxes.. it's a nightmare to set all of these events.
- It would be nice to have a check box control which we could setup to assign a (different) value to its property when it's NOT checked, instead of the current behavior, which is deleting the property.
P.S. Feel free to move this in the feature suggestions forums if it would be more appropriate.
FOLLOW US
Get the latest news in Application Packaging