How to add a checkbox in final step to lauch a exe in VS2010 setup project?

前端 未结 3 1114
我在风中等你
我在风中等你 2020-12-21 21:47

Currently, I\'m following the steps described here to add a checkbox in the final step, but it seems that the checkbox still exits when I do the uninstallation. Does anybody

3条回答
  •  抹茶落季
    2020-12-21 21:53

    Alexey's answer works except the condition should be 'Installed', not 'NOT Installed'. Also, there is a superfluous double quote in the sql INSERT statement. So the working answer should be:

        WScript.Echo("Updating the ControlCondition table...");
    sql = "INSERT INTO `ControlCondition` (`Dialog_`, `Control_`, `Action`, `Condition`) VALUES ('FinishedForm', 'CheckboxLaunch', 'Hide', 'Installed')";
    view = database.OpenView(sql);
    view.Execute();
    view.Close();
    

提交回复
热议问题