We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

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 1877 times
Catalin
Posts: 7853
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”