- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Custom operations in "Basic MSI projects" dialogs
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Custom operations in "Basic MSI projects" dialogs
We are using 'Basic MSI projects' to create our installers. However, we are not able to perform some common operations with custom dialog boxes.
For example, we are not able to perform the following procedure during the installation:
1. Retrieve the value from an environment variable or registry entry (if exists) and store this value in a property.
2. A condition will use the above (of this property/registry entry) and will change the INSTALLLEVEL of a feature (if the user selects custom installation).
3. The user is able to select the feature, if it is deselected for installation and deselect the feature in case it is selected.
4. At the end of the installation the environment variable/ registry setting should be updated.
The above procedure should be executed in maintenance mode and also in major updates.
Is it possible to send us some instructions on how to accomplish the above in our installers.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
For 1. above:
To add Registry entry to Property use Behavior and Logic > System Search
To add an environment variable value use Behavior and Logic > Custom Actions and Sequences > New Set Property > where Property Value is [%EnvironmentVariable]. e.g. [%USERDOMAIN]
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)