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!

osherk
Posts: 41
Joined: Mon Apr 20, 2015 11:55 am

Customized prerequisites

Hi all,

In order to install my product, I need some perquisites like framework 4.5 and one of 2 sqls: 2008 or 2012.
I need the user to choose if he wants sql 2005 or sql 2008 and the framework will be installed anyway if it's not already installed,

I added a new dialog and put there one dialog box which includes 2 radio buttons.
At organization tab, I wrote a condition for each feature that leads to its installation like:
RADIO="RadioSQLServerExpress2008"

RADIO is the radio box name.
RadioSQLServerExpress2008 is the radio button value.
In addition, the sqlconnection dialog is displayed before the dialog of the radio buttons and after the regular dialog of the prerequisite Framework, which is not OK.

While running, it installs sql 2012 at each case no matter what I choose.

Any ideas? what is the best way to do it?

Thanks
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Customized prerequisites

Hello,

This may happen if your prerequisite setup packages have the same name (i.e. SQLEXPR_x86_ENU.exe) and when they use the same extraction folder. At install time Advanced Installer extracts/downloads each prerequisite in the location specified in "Prerequisites page -> Packages tree node -> "Global Prerequisite Options section -> Download/extraction folder" field. Each prerequisite is extracted in a folder created under the above path. Each prerequisite extraction folder is specified in "Setup Files" tab. Just go to "Prerequisites" page, select your prerequisite item and click on "Setup File" tab. Here check the "Folder" field. If this field is not set, then the prerequisite will be extracted in the root of the main extraction location I mentioned above.

So, if you have the same extract location for more prerequisites (with the same setup name) included in your project, then at install time they will be overwritten. To avoid this behavior you should make sure your prerequisites use different extraction folders.

Let us know if this helped, otherwise please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
osherk
Posts: 41
Joined: Mon Apr 20, 2015 11:55 am

Re: Customized prerequisites

Yes, it helped.
Many thanks
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Customized prerequisites

You're welcome.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”