Hi and welcome to our forums.
In order to write a "True" or "False" value in your registry entry based on a feature you can follow the steps below:
- go to the
Install Parameters page, right-click in the “Properties” field and choose “New Property” from the context menu to create a new property. Let's name it STATE_PROP and assign it the value "False"
- go to the
Registry page and create your registry with the type string
- write the property you have just created as in it's "Data" field (e.g. [STATE_PROP])
- the next step is to go to the Dialog Page and on the VerifyReadyDlg --> Next button add a "Set installer's property"
published event configured as below:
- Property: STATE_PROP
Argument: True
Condition: For the condition click on the picker ([...]) and chose "Feature will be installed local. The feature is not reinstalled" then select your optional feature
This will work since the state of the optional feature (Installed/Not Installed) is set before the VerifyReadyDlg.
Let me know if you have other questions.
Best regards,
Eusebiu