How do I specify Visual Studio Installer Conditions?
问题 I have a Visual Studio Installation Project and I want the Installer to create a specific folder only if a check box on a 'Checkboxes (A)' form that I've added to the project UI is checked. The name of the property for the checkbox is CHECKBOXA1 but I have no idea what to put in the Condition property of the folder so that it only gets created if the checkbox is checked. 回答1: In the 'Condition' property for your folder, place the following: CHECKBOXA1=1 This will make sure that the folder is