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!

dannomite
Posts: 5
Joined: Fri May 16, 2008 8:11 am

After install some prerequisites still missing?

I have 3 prerequisites that the bootstrapper installs. However, after all of them run and they all show a status of Installed, the bootstrapper gives me a message saying that "After launching all packages some required prerequisites are still missing". It only gives me a Back button and I can't continue the install. How do I rectify this?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Re: After install some prerequisites still missing?

Hi,

This is usually caused by a wrong "Install Detection" criteria. The "Install Detection" criteria is used first to decide if the prerequisite needs to be installed, after that it's evaluated again to see if the prerequisite was installed correctly. So please verify the "Install Detection" criteria you use for your prerequisites:
http://www.advancedinstaller.com/user-g ... tions.html

Best Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
dannomite
Posts: 5
Joined: Fri May 16, 2008 8:11 am

Re: After install some prerequisites still missing?

Why does the Force Install option still allow the launch condition to be checked? I want my bootstrapped prerequisite to always run and I don't want any launch conditions to be checked, just an after condition to confirm it installed. Please don't tell my I have to use custom actions. I want the prerequisites to install before the MSI installs and I do not want it to be stopped by a launch condition.
There really needs to be the option to not check the launch condition. Help.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: After install some prerequisites still missing?

Hi,
Why does the Force Install option still allow the launch condition to be checked?
Please note that the Install Conditions of a prerequisite are always checked by the bootstrapper. This is done in order to determine if the prerequisite needs to be installed and if it is installed correctly. Also, the Force installation of this prerequisite option doesn't mean that the prerequisite will alway be installed, it means that the package cannot be launched if the prerequisite is not installed.
I want my bootstrapped prerequisite to always run and I don't want any launch conditions to be checked, just an after condition to confirm it installed.
The purpose of a prerequisite is to be installed if it's not found. In order to detect it and to confirm that it is installed, a prerequisite must use a detection criteria. Note that we have a prerequisite tutorial which may help you.
There really needs to be the option to not check the launch condition.
In this case the custom package will no longer be a prerequisite. If you need to always install another package when your main package is installed, the only solution is to use a custom action.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dannomite
Posts: 5
Joined: Fri May 16, 2008 8:11 am

Re: After install some prerequisites still missing?

Yes, but Advanced Installer is forcing detection rules for prerequisites. Please let us, the users, decide if we want a detection rule to be active or not. Why would this be such a problem to change in the product? Why the resistance?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: After install some prerequisites still missing?

Hi,

The definition of a prerequisite is: something that is necessary to an end or to the carrying out of a function. Therefore, a prerequisite is installed if it's not found and it must be installed in order run the main package. If the prerequisite doesn't have a detection criteria, it cannot be verified if it is installed or not, therefore it is no longer a prerequisite (it's not necessary to install it in order to run the package.

However, we added on our TODO list a feature which will allow you to to always install other packages when you main package is installed.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”