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!

MichaelD
Posts: 43
Joined: Tue Jan 12, 2016 10:32 am

Custom action after chained package

Hi

Where is the best place for custom actions that should run after a chained package is installed?
Actually I have placed them in the Finish Dialogs Stage, but that won't be executed on silent install.

Kind regards,
Michael
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Custom action after chained package

Hello Michael,

The best sequence to add it is after the "Install Execution Stage -> Finish Execution -> InstallFinalize" action.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MichaelD
Posts: 43
Joined: Tue Jan 12, 2016 10:32 am

Re: Custom action after chained package

Hi Daniel

I tested it and it doesn't work. The chained package installation is not finished yet when the custom action is executed.

Kind regards,
Michael
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Custom action after chained package

Hello Michael,

I've talked with our development team and it seems on a silent installation my previous solution could not work indeed.

It seems the best way to run the CA after a chained package is to create a separate MSI setup which will only run the related CA and add the new MSI as the last chained package in the list of chained packages from our "Prerequisites" page.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MichaelD
Posts: 43
Joined: Tue Jan 12, 2016 10:32 am

Re: Custom action after chained package

Hi Daniel,

It also doesn't work when using enhanced UI. It only works when placing the custom actions in the finish dialogs stage. But then I get warnings about silent install.
As silent install is actually no requirement so I'm fine.
Is the installation order of chained packages always fix?

Kind regards,
Michael
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Custom action after chained package

Hello Michael,

I apologize for such a delayed reply, but we were a bit stacked recently.

Yes, the installation order of the chained packages should be the same as you added them in "Prerequisites" page of your project.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”