parrotsoftware2000
Posts: 10
Joined: Tue Apr 16, 2013 6:55 pm

Setting Write permissions for a folder

My installer puts a database in the ProgramData folder, e.g. 'c:\programdata\company\program' But, that folder needs to be read and write enabled. I right clicked on the folder in the installation and chose properties. I clicked the Permissions tab and setup read and write permissions for the User group. When I run the install, I get an error 'An error occurred while applying security settings. ComputerName\Users is not a valid user group. I tried the 'guest' and 'everyone' groups with the same result. Any suggestions? :?:
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Setting Write permissions for a folder

Hi and welcome to Advanced Installer forums.

Thank you for your interest in Advanced Installer.

I'm not sure why you encounter this behavior. Can you please tell us the Operating System you have on your machine and also its language? However, the "Everyone" user group should work on every machine.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GlenT
Posts: 118
Joined: Mon Jul 16, 2012 8:44 pm

Re: Setting Write permissions for a folder

I have the same problem when our software (English) is installed on a computer that is using a French version of Windows. The standard users and groups appear to be stored in the MSI as strings, rather than tokens such as "programfilesfolder" or "sys_Dir" and are not being translated for the target system. Consequently, "Administrators" does not match "Administrateurs" and the installation fails.

P.S. It may be that "Administrator" does not match "Administrators". I'm checking on "Everyone".
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Setting Write permissions for a folder

Hi,

I tested the scenario and indeed it failed when I chose some folder permissions for a custom user or for the "Administrator" user. But when I chose the "Administrators" user group (like in the image bellow) it worked well to me.
Folder permissions.png
Folder permissions.png (36.98 KiB) Viewed 5532 times
As my colleague Bogdan said in the Error Applying security settings on French installation thread, the "Everyone" and "Administrators" user groups should work for all languages, but all other account names should be localized.

Let us know if you have any other question.

Best Regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”