t3knoid
Posts: 21
Joined: Wed May 27, 2015 8:15 pm

CustomAction in UI Init Event executing during silent install

I am not sure if this is normal. I thought that any custom action associated with a UI is skipped. In this case I have an init event in a dialog that is getting executed during silent mode.
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: CustomAction in UI Init Event executing during silent install

Hello,

Yes, indeed, during a silent install only the Install Execution Stage is executed, so I can confirm that no init event should be executed in silent mode. Please send us the .AIP (project) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: CustomAction in UI Init Event executing during silent install

Hello,

We've investigated your project and I can reproduce and confirm this issue. A fix will be available in a future version of Advanced Installer, thank you for bringing it to our attention. We will update this topic when the fix will be available.

Until then, you could condition the UI actions that are executed during the silent install with the following condition:

Code: Select all

UILevel="5"
This condition will ensure that these actions are executed only on Full UI.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
t3knoid
Posts: 21
Joined: Wed May 27, 2015 8:15 pm

Re: CustomAction in UI Init Event executing during silent install

OK thanks for the workaround.
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: CustomAction in UI Init Event executing during silent install

Hello,

You are welcome! Please let me know if you have any other questions.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: CustomAction in UI Init Event executing during silent install

Hello,

This was fixed in version 16.1 of Advanced Installer, released on July 2nd, 2019.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”