Complex Custom Launch Condition not working - Advanced Installer Community
mcseforsale
Posts: 57
Joined: Wed Mar 27, 2013 10:53 pm

Complex Custom Launch Condition not working

I am searching for 3 registry keys that contain the folder information (installdir) for 3 different products. I want the installer to notify the user that they have to install one of these 3 products to be able to run this installer. I set up a custom launch condition that keeps failing. The syntax for the condition has been tried as:

((OPENSPAN_PLUGIN = "") AND (OPENSPAN_RUNTIME_ENT = "") AND (OPENSPAN_STUDIO = ""))

OPENSPAN_PLUGIN = "" AND OPENSPAN_RUNTIME_ENT = "" AND OPENSPAN_STUDIO = ""

The launch condition still does not work even though 2 of the entries have been populated appropriately.

Please help.

Thanks,
Andy
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Complex Custom Launch Condition not working

Hi Andy,

Can you try the following condition and see if it works?

Code: Select all

OPENSPAN_PLUGIN OR OPENSPAN_RUNTIME_ENT OR OPENSPAN_STUDIO
Also, if the "Check predefined launch conditions..." option is selected in the "Prerequisites" page, "Packages" tab, please uncheck it and test again.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”