Custom Action LaunchEXEWithDirectory - Advanced Installer Community
BlackCloud
Posts: 3
Joined: Fri Oct 21, 2016 6:21 pm

Custom Action LaunchEXEWithDirectory

We need to launch a windows form from the installer to collect some information from the user. It needs to happen after all the files have been written to disk so I've tried putting it directly before "Finish Execution and selected the After the system has been successfully modified option. The form needs to run with elevated permissions. The problem is that the form gets launched behind the current installer form. This is confusing to the user. How can I get the form to open on top of the installer and with focus?

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

Re: Custom Action LaunchEXEWithDirectory

Hello and welcome to our forums,

I've tested and replicated the behavior. This seems to be a limitation of our "Launch EXE with working directory" custom action. We will try to add a fix in a future version of Advanced Installer, thank you for bringing this to our attention. When the fix will be out we will update this thread.

Until then, as a workaround, you can use a "Launch file" custom action type to launch your EXE file.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
BlackCloud
Posts: 3
Joined: Fri Oct 21, 2016 6:21 pm

Re: Custom Action LaunchEXEWithDirectory

Thanks! We'll try the suggested workaround.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Custom Action LaunchEXEWithDirectory

You're welcome.

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

Return to “Common Problems”