DoAction Event Condition - 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!

Arthur
Posts: 69
Joined: Wed May 19, 2010 9:53 am

DoAction Event Condition

I have created a first time install Dialog page with a ComboBox on it. I have a UI Custom Action VBScript to populate the ComboBox via an aicustact.dll function, PopulateComboBox. I am calling the VBScript as an Init Event: the Event is DoAction, the Argument is the VBSCript function name, and I'd like the Condition to be '1', i.e. always run. When I edit the condition, the expression 1 is validated, but when I 'ok' everything, the condition becomes 'AI_INSTALL'. How can I change this? I have previous dialog pages with similar events where the condition 1 has been successfully used.

Cheers, Arthur
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: DoAction Event Condition

Hi Arthur,

Actually, the "AI_INSTALL" condition will trigger the event to always execute on the first time install. It is the equivalent of "1".

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Arthur
Posts: 69
Joined: Wed May 19, 2010 9:53 am

Re: DoAction Event Condition

Hi Mihai,

thanks for the reply. I thought that might be the case, but looking at installers we have already the value 1 has been used: I thought I was maybe doing something different.

Cheers, Arthur

Return to “Common Problems”