trims30
Posts: 15
Joined: Sun Jan 17, 2010 8:04 pm

How to pass parameter to custom action

Have custom Action I want to use as "Launch Attached File"
File is Executable (*.exe)
How do I pass the application directory to the custom action?
I want to pass Application Directory as it appears on Folder Dialog.

Any help is appreciated

Lee
sample.png
sample.png (5.97 KiB) Viewed 1269 times
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: How to pass parameter to custom action

Hello,

In order to achieve this, you can use our predefined "Launch EXE with Working Directory" custom action. This custom action will allow you to select the working directory of your executable.

Hope this helps.

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

Return to “Common Problems”