Dear Customer Support,
We are creating an installer project with Advanced Installer and need to set an installer property through the dialogs based on user interaction, and read that property later as a condition.
The scenario is the following:
1. In the Dialogs section, we create a new dialog. In the dialog, we place a combobox.
2. In that combobox, we set the Property Name property to Deployment_Env.
3. In that combobox, we place 2 items, with item1 value Env1 and item2 value Env2.
4. Later on, in the Organization section, under Features and Components we would like to install certain features based on a condition.
5. We select a feature, and set the condition to Deployment_Env = "Env1".
6. We select another feature, and set the condition to Deployment_Env = "Env2".
Now what happens during running the installer is that the condition is not taken into account. Doesn't matter what we select in the combobox, it will always take the default value of the Deployment_Env property, which is Env1.
Could you please help us out with how to write an installer property and how to read it properly later? We are not sure what goes wrong where... whether we are not setting it, or not reading it properly?
Kind regards,
Arpad
FOLLOW US
Get the latest news in Application Packaging