jbridges
Posts: 38
Joined: Fri Jun 09, 2006 12:36 am

Need Clarification on Feature Based Prereq

I don't understand the documentation, starting with this "This type of prerequisites have attached a feature with the same display name. Dependencies between prerequisites or/and application features can be configured using the prerequisite feature.?"

I have prereq for a GUI interface but not for command line installation. So I need to attach the Dot Net Framework to the GUI optional feature. I have called the GUI the "MainFeature" and the command line install just "CMD". When I specify the Dot Net Framework as feature based, it adds it as a separate feature in the Organization Panel. From the above, does this mean that I need to rename that Feature so that is is also called "MainFeature?" What is mean by "attaching" it?

It seemed logical to me that I should drag the Dot Net Framework "feature" to be a child of the "MainFeature" but this is not clear.

I am currently on version 7.7. Is this more clear if I upgrade to the latest (currently 8.0.2)?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Need Clarification on Feature Based Prereq

Hi,

The prerequisite feature is just another feature in your installer. The difference is that the prerequisite is installed when that feature is installed. If you want to install a prerequisite when MainFeature is installed, you can drag the prerequisite feature under MainFeature.

Please note that feature-based prerequisites cannot be installed for silent installations. This is because they are handled by the installation UI. For silent installations you can use global prerequisites.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”