How to Install PreRequests - 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!

jojoba2010
Posts: 24
Joined: Wed Nov 02, 2011 6:44 pm

How to Install PreRequests

Q1) I wanna to install prePrequesites first then ask for the main installation path and install it then.(my version is 8.6)?
Q2) How can make the preRequesites install if the end user wanna.(if installer says : skip-->Means that it exist...) But end user wanna to install it?
Thanks!
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: How to Install PreRequests

Hi and welcome to Advanced Installer forums,
I wanna to install prePrequesites first then ask for the main installation path and install it then.(my version is 8.6)?
This behavior is specific to global prerequisites which are installed before the main installation. Here is an article with more details:
http://www.advancedinstaller.com/user-g ... tions.html
How can make the preRequesites install if the end user wanna.(if installer says : skip-->Means that it exist...) But end user wanna to install it?
To achieve this you must specify an invalid install condition for your prerequisite( the default one when adding a new prerequisite is a good example ). Once you have done this, simply enable the "Skip post-install searches" flag from the Options tab, described in the article above. This way the prerequisite will always be marked for installation and the user can choose to skip it in the global prerequisites list.
Please keep in mind that this approach will not allow the installer to correctly detect if the prerequisite already exists on the target machine. The prerequisite will be installed whether the user choses or not. Unfortunately this is the only way to achieve something close to what you need.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”