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

splay
Posts: 58
Joined: Tue May 15, 2007 6:09 pm

Conditional Dialogue

Hi Guys,

I want to display a new dialogue if I am installing running a install based on a different build.

Example I have Build_1 and I dont want the dialogue to appear in this install, however I have build_2 and I want it to appear in this one.

I have gone to the Next button on the previous dialogue and put a new Published Event which is a ..

NewDialogue with the condition of &build_2 = 3

and I have the original Published Event of ...

NewDialogue with the condition of &build_2 <> 3.

Doesnt seem to work though when I run my build_2 it just ignores the logic.

Am I doing the right thing?

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

Re: Conditional Dialogue

Hi Tony,

The build name (entered in "Media" page) is stored in the AI_BUILD_NAME property. So for the Msi resulted from build_2 this property value will be build_2.

As conditions for displaying the dialog you can use:

AI_BUILD_NAME<>"build_2" (to skip the dialog)
AI_BUILD_NAME="Build" (to show the dialog)

Best Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
splay
Posts: 58
Joined: Tue May 15, 2007 6:09 pm

Re: Conditional Dialogue

Thats just fantastic,

Thank you.

:D

Great product by the way, have been using it for a while, well done.

Tony

Return to “Common Problems”