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!

blewis999
Posts: 6
Joined: Sat Sep 20, 2014 7:01 am

Bypass installation if installed, mine doesn't work

We are trying unsuccessfully to install QuickTime when it is not installed, and not install it if it is already installed.

The only thing that works is to always install. If I use the wizard it doesn't install anything, even if the product is not installed. Is there a simple example I can copy as a template? We have two programs that we need to install or not, and I do not know how to do so. If I use the wizard and say if (Not Installed) then the condition event is "False" for the test, but when 'Not Installed' the condition is 'True' I am guessing. Hence it never installs.

We have very simple requirements to begin with, we just need to get the installer to do these two files and run a bat file. (Another post was done on that).

Thank you

Robert
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Bypass installation if installed, mine doesn't work

Hi Robert,

To install the QuickTime, you can add it as a prerequisite to your installation package.

Please note that a prerequisite will be installed based its install conditions defined in the Prerequisite Install Conditions Tab of the related Prerequisite. The Install Conditions section allows you to condition the prerequisite based on custom searches. You can create multiple searches for the same prerequisite. In order to test a condition you can use the [Test] button.
The Prerequisite Search Dialog allows you to add a new search to the installation conditions of a prerequisite or edit an existing one.

Also, be aware by the two options below the “Install Conditions” pane:
  • Install only if at least one condition is false - If this option is selected, at least one search must fail in order to install the prerequisite.
    Install only if all conditions are false - If this option is selected, all searches must fail in order to install the prerequisite.
So, the prerequisite software will be installed according to the enabled option which refers to the install condition that you have defined before.

Can you please make sure you created a correct install condition for the related prerequisites?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”