Hi Tim,
Unfortunately, this is not supported by Windows Installer and is also against Windows Installer guidelines. However, as a workaround, you can try to use the following approach:
1. check the "Override Windows Installer programs list entry" option from
"Product Details" page
2. go to "Table Editor" page, select the "Component" table and add your property (e.g. TEST_PROP) in the "Condition" field of the "AI_CustomARPName" component, like this:
3. build and test the project
The control panel entry should be created when the "TEST_PROP" property is set (e.g. from command line) and shouldn't be created when the "TEST_PROP" is not set.
Please keep in mind that this workaround it is not recommended at all and you should thoroughly test your installation scenario after implementing it to make sure everything works as expected.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging