The Prerequisites - 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!

Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

The Prerequisites

Hello Everyone,

I know how to set the prerequisites. But, when the installer is loaded it shows the dialog with the list of prerequisites that needs to be installed first. For a novice end-user this is still too much. So my questions is how to make the prerequisites install automatically with the main installation? I mean for example:

The installer detects that the user do not have .NET framework in his/her system. Instead of showing that the .NET framework in the prerequisites list, how to make this part of the main installation? User clicks the install button, and the installer installs the .NET framework and the main application files. How can this be done?

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

Re: The Prerequisites

Hello,

In order to achieve what you want you can add your prerequisite packages as feature-based prerequisites to your package. Also, you can use a silent prerequisite installation.

If you want to have a silent prerequisite installation, then you can configure it to run in silent mode by editing the install command lines from "Prerequisites" -> "Setup Files" tab. For a MSI package prerequisite you can use the /qn command line parameters. You can take a look on our "Command line" article. Also, in order to silently run your prerequisites packages you should search the corresponding command line parameters on your prerequisites packages documentation.

Please keep in mind that on Windows Vista and above, in order to silently install the prerequisites packages the main installation package should run elevated. So, from "Install Parameters" page you should check "Run as administrator" option.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: The Prerequisites

Thanks for you help (Sorry for the late reply).
K

Return to “Common Problems”