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!

nchounlapane
Posts: 34
Joined: Tue Mar 31, 2020 10:01 pm

Conditioning prerequisites during silent install

Is there a way to condition the installation of prerequisites during a silent install? For example, if I have prerequisite A as optional installation during a full install, how would I be able to optionally install it based on certain conditions during a silent installation? I know that there is install command lines you can set for full/basic/silent install, but unsure how to set whether to install a prerequisite or not during a silent install.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Conditioning prerequisites during silent install

Hi,

This can be achieved only if for the "feature-based" and "post-install" prerequisites. For this, you need to select the prerequisite's related feature from the "Organization" page, set a property as a condition for it in the "Not installed if" field (e.g. PREREQ1="False"), then set that property from the command line during a silent installation as in the example below:

Code: Select all

mySetup.exe /exenoui /qn PREREQ1="False"
Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
nchounlapane
Posts: 34
Joined: Tue Mar 31, 2020 10:01 pm

Re: Conditioning prerequisites during silent install

Eusebiu,

Thank you for the solution. So all pre-install prerequisites will be installed during a silent installation? There is no way to condition any of them to be optionally installed?

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

Re: Conditioning prerequisites during silent install

Hi Nick,

Yes, this is true. The only solution is to add those prerequisites as feature-based or post install.

If there is anything else we can help you with just let us know.

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

Return to “Common Problems”