micke wrote:When I execute my Java application as a Java Service the working folder is set to C:\windows\system32. I have selected to "Set current directory to product folder" but it is not working. When i run the application from the start menu the working folder is correct.
Am I doing anything wrong or is this a known bug?
Hi, I am experiencing the same problems. The statement
strIniFileName = System.getProperty("user.dir")+"" +"MyIni.ini";
works when not running as a service, but that system property is returns an empty string when running as a service!
By the way, I am running version AdvancedInstaller version 4.3.
Could you please reply whether this is a known bug and whether it is planned to be solved.
Rehards,
Addy.
FOLLOW US
Get the latest news in Application Packaging