I want to add some prerequisites to my installer. But I want the prerequisites to be installed based on the value of a preprty which will be populated by a VBScript that I will be including. Is it possible? If so how can I do it? Or is there some other way to do this?
Indeed this has been implemented. You can now use the new feature called Feature-based prerequisite to set-up your prerequisite as a feature. You can then condition the installation of that feature using your property. Do this by selecting the prerequisite's feature from the Organization page and then clicking the "Conditional install level" from the right pane. Place your condition there.
This is a useful feature. But what I want is to populate the property using a vbscript. For example, as part of my installer, I would like to install a display driver, if only the machine contains a specific display card. I can find the presence of the display card using a vbscript. I do not know how to put all these together. ie I want to run the vbscript to set a property, for example, DESIRED_DISPLAY to "TRUE" and then use the property in the organization page to decide whether to install the display driver or not.
FOLLOW US
Get the latest news in Application Packaging