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!

Guest

Java Service Working Directory

Can you set the working directory for a service? What directory will the service be launched from?

Thanks
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

No you can't. Windows Installer doesn't allow it. But why do you need to? You should use GetModuleFileName() to get a module's directory.

Hope that helps,
Cata
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”