Permissions folder to edit a file - 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!

vueliing
Posts: 2
Joined: Tue May 31, 2011 3:44 pm

Permissions folder to edit a file

Hi,

I've a java program running as a Windows service who is checking every 2 minutes our server for new updates. In case that it find a new update, the service is able to update a file with the reference to the new content.

My problem is that apparently, the service is not able to update this file, but if I delete manually, the service downloads the newest file (as programmed) correctly. So, I think the service don't has enough permissions to edit this file and editing the permission over the aplication folder I can't solve it.

Any ideas?

Thanks for all.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Permissions folder to edit a file

Hello and welcome to the Advanced Installer Forums,

Since you can manually remove it, please make sure that the specified file is not in use.

You can also try to set a working directory for your java product by doing the following:
- go to "Java Products" page
- selecting your product
- on the Settings tab, in the Application section, tick the "Set product folder as current".

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vueliing
Posts: 2
Joined: Tue May 31, 2011 3:44 pm

Re: Permissions folder to edit a file

Hello Mihai,

It works with your solution setting the folder product as current. :D

Thanks for all

Best regards

Return to “Common Problems”