Folder permissions pb for „Users“ Group on a German system

Having trouble running Advanced Installer? Got a bug to report? Post it all here.

Folder permissions pb for „Users“ Group on a German system

Postby rn-pro » Mon Aug 29, 2011 10:12 am

Hi,
I’m developing currently my setup-project on a German Windows 7 System. In my project I have a folder which at install time should get full-rights for the “Users”-Group. I found the dialogs where the rights are to be configured and I’ve also made the configuration (check the screenshot 1.)

Screenshot1.png
Screenshot1.png (70.45 KiB) Viewed 1448 times


Please notice, in the “Username” combo-box I’ve chosen “Benutzer” which is the German translation for “User/Users”. I don’t have an “Users” option in this list.

The setup works fine if I install it on a German system.
However if I try to install it on an English system, I get the following error: (check the screenshot 2.)

Screenshot2.png
Screenshot2.png (76.26 KiB) Viewed 1448 times


The shown message complains that it couldn’t find on the target system an user or group which is called “Benutzer”. Clear, would make absolutely no sense on an English system.
Is there any way to avoid this problem?

Thank you very much,
Razvan
rn-pro
 
Posts: 47
Joined: Thu Jun 16, 2011 10:27 am

Re: Folder permissions pb for „Users“ Group on a German syst

Postby mihai.petcu » Mon Aug 29, 2011 12:34 pm

Hi Razvan,

That value is only localized in the GUI. Internally it should still point to Users.

Can you please confirm this behavior manifest on several English systems? Also, what version of Advanced Installer are you using?

All the best,
Mihai
Mihai Petcu
Advanced Installer Team
http://www.advancedinstaller.com/
mihai.petcu
 
Posts: 3452
Joined: Thu Aug 05, 2010 8:01 am

Re: Folder permissions pb for „Users“ Group on a German syst

Postby rn-pro » Mon Aug 29, 2011 12:53 pm

Hi Mihai,

Yes, we're getting the same problem on the Windows 2003 and Windows 2008 Server (English version.).
We're using the Advanced Installer Version 8.3.

Please let me know if you need some more informations. (Bogdan has my email adress we were in contact last week.)

Best regards,
Razvan
rn-pro
 
Posts: 47
Joined: Thu Jun 16, 2011 10:27 am

Re: Folder permissions pb for „Users“ Group on a German syst

Postby mihai.petcu » Mon Aug 29, 2011 4:17 pm

Hi Razvan,

Only Everyone and Administrators are the same for all languages. Users should be localized.

You can have separate packages or a custom action that determines the localized value for Users. Here is a sample code to get you started.

All the best,
Mihai
Mihai Petcu
Advanced Installer Team
http://www.advancedinstaller.com/
mihai.petcu
 
Posts: 3452
Joined: Thu Aug 05, 2010 8:01 am

Re: Folder permissions pb for „Users“ Group on a German syst

Postby wyzerd » Wed Oct 05, 2011 6:22 pm

"Users" is still not translated in Version 8.5.

When is this repair expected?

Further, LockPermissions table is getting double entries and causing failure on Build. I have had to edit the XML to clear all LockPermission entries to fix the error. It appears to be an off by one error in the delete entry function when the list/array reaches 0.
wyzerd
 
Posts: 59
Joined: Tue Mar 27, 2007 3:54 am
Location: St. Louis, MO

Re: Folder permissions pb for „Users“ Group on a German syst

Postby Cosmin » Thu Oct 06, 2011 8:38 pm

Hi,

When is this repair expected?

I'm afraid we don't have an ETA for now. However, I increased its priority and hopefully it will be available soon.

Further, LockPermissions table is getting double entries and causing failure on Build.

I'm not sure why you are encountering this behavior. Does the problem still occur? If it does, can you please send us the .AIP (project) file you are using to support at advancedinstaller dot com so we can investigate it?

Regards,
Cosmin
Cosmin Pirvu
Advanced Installer Team
http://www.advancedinstaller.com/
Cosmin
 
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm

Re: Folder permissions pb for „Users“ Group on a German syst

Postby ans » Sat Oct 15, 2011 7:21 pm

I'm getting the same error the OP reported on English target systems when a German localization is also added to the installer. Version is AI 8.5.

Is there a better workaround than hacking a script? Or should I drop localization altogether?
ans
 
Posts: 11
Joined: Tue Jul 26, 2011 9:06 pm

Re: Folder permissions pb for „Users“ Group on a German syst

Postby Cosmin » Sat Oct 15, 2011 10:41 pm

Hi,

Please note that this is not related to localization. Windows localizes the group names, so the permissions set for an English name don't work.

The recommended solution is to use a custom action to generate the localized user name. You can then use that name for your permissions. Another solution is to set permissions through a custom action which handles the localized group name.

Regards,
Cosmin
Cosmin Pirvu
Advanced Installer Team
http://www.advancedinstaller.com/
Cosmin
 
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm


Return to Common Problems

Who is online

Users browsing this forum: No registered users and 8 guests