Question

I'm creating an installer for my application, using Setup Project in VS 10. The installer has a Checkboxes (A) form in it. My problem is, I want to show that form conditionally, based on one registry entry. How can I achieve this? I'm using Orca to edit my installer file, but what should I change to show this form conditionally? When I edit InstallUISequence>CustomCheckA_SetProperty_CHECKBOX1, the value of the checkbox is changed. I can't see any other property, I could edit to achieve this :(. Please help, thanks a lot! Greetings.

Was it helpful?

Solution

You need to define a registry search to see if your entry exists or not. The search name is actually an installer public property, so you can use it to set a condition.

To hide/show enable/disable controls from an MSI dialog you need to add a control condition, in Control Condition table. Make sure you define two control conditions for the same control, one to hide it if the condition is not met and one to show it when the condition is true.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top