-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installer expects 'Users' group. Language specific. #150
Comments
Looks like this code to localize the name in this custom action isn't working correctly when called from the installer |
Could it be something to do with our msi being set to english ? |
Or maybe we just use the sid ? |
@johnsimons yep I had the same thoughts |
SID not supported by netsh.exe - resorted to SDDL |
The Custom Action was only one part of the problem, Advanced Installer stores reg and file permissions sets for wellknown groups in english rather that SIDs so the setting here are also killing the installer on foreign language OSes. |
That is going to be harder to fix! |
This FAQ article seems to indicate that Advanced Installer should do the magic mapping of "Users" to the correct localized name. I'll try a evaluation version of the latest version of Adv Installer to see if this makes difference, otherwise I'll add a custom action. |
Verified that latest Adv Installer doesn't fix the issue - looks like custom actions are the way to go. |
Fixed |
In a non-English install of Windows 7 x64 I get the error "An error occurred while applying security settings. Users is not a valid user or group.", which is correct as it doesn't exist. All local groups are language specific. Manually creating the group skips the error but causes a nondescript error later. Install can't finish.
The text was updated successfully, but these errors were encountered: