Prerequisites Postgres installation not acknowledged - 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!

akearns
Posts: 8
Joined: Mon Jul 16, 2007 9:10 pm

Prerequisites Postgres installation not acknowledged

In my installation I set up PostgreSQL as a prerequisite for the actual
installation. To determine if Postgres is installed I use the version string in the registry. If PostgreSQL is not installed; the user is prompted to install it. This all seems to work until I complete the installation of
PostgreSQL; then the installer does not determine that it is now installed and states that I still need to install it. If I now exit the installation and
restart it; it correctly determines that I installed PostgreSQL. When I check the registry I looks ok. How can I make the installer realize that it just installed PostgreSQL?

I am using 5.1.1 any idea what might be incorrect?

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

Hi,

This happens because of a bug (the "Prerequisites Install" page is not updated after installing the prerequisite). This will be fixed in a future release.

As a workaround you push the "Back" button and then the "Next" button and you cancel the "Modify/Remove" setup.

Regards,
cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
akearns
Posts: 8
Joined: Mon Jul 16, 2007 9:10 pm

Do you have an estimate

Do you know which release the fix might be incorporated into.
I am doing this installation for a product shipping soon.

Thanks.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

The fix for this bug will be available in the next version of Advanced Installer which is scheduled for release in about two weeks.

Regards,
Gigi
Louis
Posts: 1
Joined: Tue Jul 24, 2007 1:02 am

Akearns,

If you do search the registry and find a standard key that Postgres put's in (HKLM/Software/Something or other) and use that as the criteria the prereq installer will work fine.

I seemed to have gotten it working lastnight.

-Louis
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

After further investigation we realized that this is not a bug of AI.

What happens is that PostgresSQL uses 2 MSI packages (one of them is a launcher), therefore AI sees only what the launcher does. Since the install MSI creates the registry keys (and not the launcher) AI sees the newly created registry keys only after the search is launched again (the "Back" - "Next" workaround).

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

Return to “Common Problems”