Conditional Preriquisites - 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!

XeNoTimE
Posts: 1
Joined: Sun Feb 26, 2012 3:07 pm

Conditional Preriquisites

Hello all (and sorry for my poor english...)

For my project, I try to install a post-install prerequisite as follows:

If Appli1.exe exists on consumer computer then install the latest version of Appli1 application.
Else install the Appli2 application.

I try to test the presence of Appli1.exe using the minimum and maximum required version but if the file is not found it always returns FAILED.

Do you have a solution to achieve the installation of this prerequisite ?

Thank you in advance for your answer.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Conditional Preriquisites

Hi and welcome to Advanced Installer forums,

Prerequisites are searched using the specified criteria, from file versions to registry keys and values. This can be defined in "Install Conditions" group from the prerequisite's "Install Conditions" tab. The search checks if the installed versions fall in the specified range. Prerequisites not found are subsequently scheduled for install.

Here's the professional tutorial with an example on this.

Since you are new, we highly recommend you read our tutorials for a better understanding of how to use Advanced Installer to efficiently deploy your products.This will also help you better understand support team's suggestions now and in the future. The Simple and Professional tutorials are especially important.

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

Return to “Common Problems”