Prerequisites for Features - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

LordGommos
Posts: 2
Joined: Fri Mar 30, 2007 2:47 am

Prerequisites for Features

I have the need to add prerequisites for features. However, because the prerequisite wizard starts before we get to choosing the features to install this can cause confusion?

What's the best way around this apart from having different installers?

Thanks :?:
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

The prerequisites need to be installed before you main package runs, this is why prerequisites cannot be added/conditioned by features.

The only way to do what you want is by using custom actions and conditions those custom action with the state of the feature like this: &MainFeature = 3 (the custom action runs if MainFeature is selected for installation).

Also in this case if your prerequisites are based on Windows Installer then set the custom actions as "Asynchronous execution, do not wait for return".

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”