Question

I'm using the code at Run exe after msi installation?, and it shows the checkbox when uninstall is run. How to modify it so the checkbox is not shown when uninstalling?

Thank you

Was it helpful?

Solution

See the answer by akarkoulis on that very question...

Using the Orca msi editor I added the following 2 rows in the ControlCondition table of the msi:

Row 1 (When control should be shown):

(Dialog)FinishedForm (Control)CheckboxLaunch (Action)Show (Condition)REMOVE=""

Row 2 (When control should be invisible):

(Dialog)FinishedForm (Control)CheckboxLaunch (Action)Hide (Condition)REMOVE<>""

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