Create a button to start a application-file - Advanced Installer Community
brabbit14
Posts: 10
Joined: Mon Feb 17, 2014 9:44 am

Create a button to start a application-file

Hello,

please help me: i want to create a button on the last dialog (exitDialog) to start a file in the installation folder.
I have seen that i could use the LAUNCH Application, but i prefere to show two buttons with the start which two components.
Example to explain:

Button x to start application x.
Button y to start application y.

I have disabled the View Readme, and have create a new button, but the button must start the application after the install.

All the best and thank you for your help!
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Create a button to start a application-file

Hello,

In order to launch a file you can go in the Custom Actions page and add the predefined Launch file custom action without sequence. In the File To Launch field from the custom actions properties, which is of Formatted Type, you can add a reference to your file that will be opened.(e.g. [#ApplicationX.exe]).

Then, you can add a Published Event on a button to launch the custom actions execution. Please take a look on the How do I execute a custom action when a button is pressed article which may be useful to you.

If you need any help, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
brabbit14
Posts: 10
Joined: Mon Feb 17, 2014 9:44 am

Re: Create a button to start a application-file

Thank you Dan for your help.

Yes, i have create custom actions, but now i cant select in published events the created action. In the dropdownlist, where i should select my argument, is the list empty... Please help
brabbit14
Posts: 10
Joined: Mon Feb 17, 2014 9:44 am

Re: Create a button to start a application-file

Okay, it works...Thanks
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Create a button to start a application-file

You're welcome. I'm glad you got this working.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”