Confusing Prerequisite Error - 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!

cgraham
Posts: 3
Joined: Mon Sep 08, 2008 5:24 pm

Confusing Prerequisite Error

In the prerequisites installer, it's possible to get an error that says something along the lines of "All of the prerequisites need to be installed, press Back to go back to the list of prerequisites", even though all of the prerequisites are listed as Installed above. Pushing Back to go back and then going forward again works, but many users think that this is an error and don't continue. Is there any way to avoid this issue?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Confusing Prerequisite Error

Hi,

This behavior is encountered if one or more prerequisites use a launcher file. For example, PostgreSQL uses a MSI package to launch another MSI. The Advanced Installer bootstrapper launches the package set as a prerequisite and when it finishes the bootstrapper checks the prerequisite detection criteria. If the package set as a prerequisite is a launcher, the prerequisite is not installed when its detection criteria is checked.

A solution for this is to set the main package as a prerequisite (the one which affects the detection criteria).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
carmbrad
Posts: 3
Joined: Fri Aug 22, 2008 3:25 pm

Re: Confusing Prerequisite Error

How is this done? I have the same issue with Posgres. I first set the launcher "postgresql-8.1.msi" as the prereq, this results in the same error as above... search comes back with nothing installed. I then tried setting the "postgresql-8.1-int.msi" as the prereq, but this results in an error "please use the main MSI file to install PostgreSQL".

How do I get past this?

Thanks!
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Confusing Prerequisite Error

Hi,

Please note that there is another thread which may help you:
http://www.advancedinstaller.com/forums ... f=2&t=6156

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

Return to “Common Problems”