valiot
Posts: 80
Joined: Tue Dec 04, 2012 1:41 am

Error Applying security settings on French installation

I get the following error trying to install my app:
noname.jpeg
noname.jpeg (28.13 KiB) Viewed 9822 times
Here is what I'm doing on a folder in my Files and Folders section:
2013-01-28_1653.png
2013-01-28_1653.png (75.79 KiB) Viewed 9822 times
Should I be using the numeric form instead? S-1-5-11?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Error Applying security settings on French installation

Hi,

In Windows Installer only Everyone and Administrators are the same for all languages and all other account names should be localized. Advanced Installer localizes these groups and stores their values in properties. You can see more details in the "How do I localize user or group accounts" FAQ.

In the following article it is explained the method we used to localize them.

Just use the property associated to the desired group instead of the exact English name in the package.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
valiot
Posts: 80
Joined: Tue Dec 04, 2012 1:41 am

Re: Error Applying security settings on French installation

So how do I get the Authenticated Users localized name? I don't see a property for this.
valiot
Posts: 80
Joined: Tue Dec 04, 2012 1:41 am

Re: Error Applying security settings on French installation

I decided to try using icacls. This is how I'm running it from the AI interface for custom action. Is this correct?
Running it just before InstallFinalize.
2013-01-29_1754.png
2013-01-29_1754.png (54.88 KiB) Viewed 9808 times
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Error Applying security settings on French installation

Uncheck "Uninstall" and "Maintenance", so it runs only on install. Also, if the custom action still does not work, try to set deferred with no impersonation.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
valiot
Posts: 80
Joined: Tue Dec 04, 2012 1:41 am

Re: Error Applying security settings on French installation

I decided to use the Everyone username to avoid this problem all together. I don't have time to figure it out. I suggest you include Authenticated Users as a localized account to make it easier in the future.
GlenT
Posts: 118
Joined: Mon Jul 16, 2012 8:44 pm

Re: Error Applying security settings on French installation

As noted in my other post, it appears that it is no longer guaranteed that Everyone and Administrators are "the same in all versions of Windows". In the French version of Windows 7 Pro, "Administrators" is "Administrateurs". Not sure yet about "Everyone" (I have asked my client).

P.S. There may be a difference between the recognition of "Administrator" and "Administrators".
Fulgan
Posts: 101
Joined: Mon Feb 27, 2012 10:42 am

Re: Error Applying security settings on French installation

FYI, all names are translated into each Windows version. That is why the correct way to reference well-known security principals is to use their SIDs.

Return to “Common Problems”