Hi
My installer installs a IIS web server.
Part of the installation is to set the permissions of the folder holding the server files to NT AUTHORITY\NETWORK SERVICE account.
All works well until I try to install on an OS that is not in English.
For example, when I try to install on Danish win7 OS I get the following error in the install when it gets to 'Creating folders' part:
"An error occurred while applying security settings. NT AUTHORITY\NETWORK SERVICE is not a valid user or group..."
After researching the issue on-line I've found out that the property name "NETWORK SERVICE" is localized and may be different depending on the OS language (in Danish it's " NT AUTHORITY\Netværkstjeneste").
Please see MSDN reference (look at the bottom of the page under 'Localized Service Names'): http://msdn.microsoft.com/en-us/library/ms143504.aspx
My questions are:
Can I get this localized property at run time?
Is there a windows property that holds this localized name?
If not, what can you suggest me to do so I can use my installer on multiple languages without "hard coding" the localized name for each one?
Thanks,
Yoram
FOLLOW US
Get the latest news in Application Packaging