custom action - working directory? - Advanced Installer Community

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!

Borek
Posts: 10
Joined: Wed May 21, 2008 3:59 pm

custom action - working directory?

Just another custom actions question. I can start my exe as custom action in commit phase, that's not a problem. However, what is its working directory? I can enter the path to the file itself, but it looks like there is no way of defining working directory, and that means that - for example - my program started from installer can't find help file, which is located in the same directory exe is.
F
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: custom action - working directory?

Hi,
what is its working directory?
The working directory of an application is the folder in which the application is executed. Usually, the working directory is set to the folder which contains the application.
What type of custom action are you using? Please note that the working directory can be specified only for "Exe with working Dir" custom actions.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Borek
Posts: 10
Joined: Wed May 21, 2008 3:59 pm

Re: custom action - working directory?

cosmin wrote:What type of custom action are you using? Please note that the working directory can be specified only for "Exe with working Dir" custom actions.
OK, I have managed to do it the way I wanted. I was selecting New Installed Custom Action and pointing to the exe, instead of selecting Exe with working dir from New Custom Action. Thank you once again.

Regards,
Borek
F

Return to “Common Problems”