Calling exe on button click event - Advanced Installer Community
gaurang
Posts: 6
Joined: Fri Jun 06, 2014 12:54 pm

Calling exe on button click event

Hi, All
I want to call exe on button click event when i click on validate license key button.
or I want to call a standard .dll function on click event.
Please suggest what can i do?
I have attached screen.
I want to call exe when click on validate key button on attached screen.
Attachments
1.png
1.png (17.38 KiB) Viewed 2312 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Calling exe on button click event

Hello and welcome to Advanced Installer forums,

In order to achieve that you can execute your custom action as a published event on the related control.
Please take a look on the How do I execute a custom action when a button is pushed? article withe related information for hints and guidance.

In order to launch you .EXE file, you can go in the “Custom Actions” page and add a predefined Launch attached file custom action without sequence. This type of custom action can execute an application (EXE or DLL) or run a script (VBScript or Java script). Also, the source file will be embedded in the MSI file but will not be deployed at install time with the other application files.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

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

Return to “Common Problems”