How to get the localized name of a group of Windows administrators in Inno Setup?

I need to install SQL Server 2008 using Inno Setup. This is required /SQLSYSADMINACCOUNTS. I want to install it in BUILTIN\Administrators, but the problem is that in localized versions of Windows this group name is different. For example, in the Russian version of Windows it is BUILTIN\.

How to get the row name for this group (S-1-5-32-544) in Inno Setup?

+2
source share
1 answer

You can get the name from the SID using LookupAccountSid .

+2
source

All Articles