rn-pro
Posts: 48
Joined: Thu Jun 16, 2011 10:27 am

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

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 13473 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 13473 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
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

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

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
Follow us: Twitter - Facebook - YouTube
rn-pro
Posts: 48
Joined: Thu Jun 16, 2011 10:27 am

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

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
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

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

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
Follow us: Twitter - Facebook - YouTube
wyzerd
Posts: 75
Joined: Tue Mar 27, 2007 3:54 am
Location: St. Louis, MO
Contact: Website

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

"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.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

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

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
Follow us: Twitter - Facebook - YouTube
ans
Posts: 17
Joined: Tue Jul 26, 2011 9:06 pm

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

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?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

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

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
Follow us: Twitter - Facebook - YouTube
prashant
Posts: 6
Joined: Mon Apr 18, 2016 11:06 am

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

Even Administrators user group uses a different name in Deutsche. This is a big issue. As registry permission set using advanced installer UI keeps failing
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

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

Hello,

Please accept my apologies for such a delayed reply.

Can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them? Normally you should not encounter any issue for the Administrators user group.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”