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!

maulik291
Posts: 4
Joined: Thu Nov 17, 2016 7:27 am

Launch exe after silent installation

Hello,

How to launch my application EXE after silent installation?

I have prepared MSI project.
I have set launch in "Finish Action" of "Exit Dialog" in dialogs tab. It will work fine with UI but not work in silent installation.
I have also try with custom action using "Launch File" / "Launch Installed file" / "Launch exe from working dir". but it cant work in silent installation.

Thanks
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Launch exe after silent installation

Hello,

On silent installation you should use a custom action WITH SEQUNECE. Just go to "Custom Actions" page and add a "Launch file" custom action with sequence, scheduled after Install Execution Stage -> Finish Execution" action group, configured to launch your EXE file. The custom action should be conditioned using the "UILevel" property (e.g. UILevel <> 5).

This is because during a silent installation only the "Install Execution Stage" action are executed.

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

Return to “Building Installers”