Execution Condition Logic - 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!

BCh
Posts: 63
Joined: Wed Jan 17, 2007 6:32 am
Location: Australia

Execution Condition Logic

Hi,

Using Advanced Installer 7.7 (Enterprise).

Have defined 2 custom actions to run at completion of the install via InstallFinalize. Based on values in two search conditions NOMIXP and NOMIXC which equal the file version of two different files I want only one of these custom actions to run.

I am finding that both custom actions run instead of only one since I believe the execution conditions a mutally exclusive.

A log of the installation shows expected values of:
- NOMIXP = 1.4.33.1
- NOMIXC = 1.4.36.1

with both of the below execution conditions being valid.

Execution Condition 1 = (Not Installed) AND (NOMIXC >="1.4.36.1" OR (NOMIXC = "1.0.0.0" AND NOMIXP = "1.0.0.0"))
Execution Condition 2 = (Not Installed) AND NOMIXP ="1.4.33.1" AND NOMIXC < "1.4.36.1"

I would have expected Execution Condition 1 to run but NOT Condition 2 since NOMIXC = 1.4.36.1 and hence is NOT less than 1.4.36.1.

Have I missed anything.

Thanks,
Brian
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Execution Condition Logic

Hello Brian,

I have tested your scenario and the conditions resolve as you expected:
Execution Condition 1 = 1
Execution Condition 2 = 0
Can you please send us the .AIP (project) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”