eldadcohenil
Posts: 5
Joined: Sun Feb 16, 2020 8:57 pm

What is the best practice to run EXE after selection with Dialog Win

Sun Feb 20, 2022 4:57 pm

Hi,

What is the best practice to run EXE after selection with Dialog Win.
I want to run an EXE at the end of installation progress after copying files. I need ability to control the running with radio button.
What is the best solution for that ?

Thanks

Catalin
Posts: 6537
Joined: Wed Jun 13, 2018 7:49 am

Re: What is the best practice to run EXE after selection with Dialog Win

Mon Feb 21, 2022 12:58 pm

Hello,

Since you want to conditionally launch your .EXE, I believe the best approach would be this:

- in "Custom Actions" page, create a "Launch File" custom action ("Without Sequence")

- configure it to launch your .EXE file and also configure the condition of execution (using the "Condition" field)

- go to "Dialogs" page --> select "ExitDlg" dialog and then add the custom action as a "Published Event" on the "Finish" button

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”