In my installer there are two feature based prerequisites. One is "Use files from disk" and the other is "Download single file from URL". One these will run when the installation is taking place. I am running an inline script custom action which will pass a value either "0" or URL link to a installer file. This works fine. The property gets the value correctly. When I added the two feature based prerequisites it automatically created two new features, each for one prerequisite in the Organization pane.
During the installation only one prerequisite needs to run based on the property value. If it is "0" then run the built-in prerequisite else if it is URL then run the prerequisite which will download and install. I set PROPERTY_PREQ property for this. In the Organization pane I set the condition on each feature PROPERTY_PREQ = "0" (run the prerequisite built-in) and NOT PROPERTY_PREQ = "0" (run the prerequisite from the URL).
This is not working correctly. Both prerequisites seems to run. What I am missing here?
FOLLOW US
Get the latest news in Application Packaging