Try using NetworkService (i.e. without the space) and <PermissionEx> I
think the replaces it with the well known SID which means it is
localised. E.g.:
        <CreateFolder>
          <util:PermissionEx GenericAll="yes" User="NetworkService" />
        </CreateFolder>


You may also be able to do something with OSInfo and
WIX_ACCOUNT_NETWORKSERVICE - see help file.

Neil

-----Original Message-----
From: Alex Henderson [mailto:bitterco...@gmail.com] 
Sent: 26 January 2009 21:35
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] German OS and Network Service Account issue

I'm having an issue with a basic installer built with WIX when it's
being
used on German versions of Windows XP - the problem is that the Network
Service account is in fact named "Netzwerkdienst" and as such the
installer
is failing with the message:

An error occurred while applying security settings. Network Service is
not a
valid user or group. This could be a problem with the package, or a
problem
connecting to a domain controller on the network. Check your network
connection and click retry, or Cancel to end the install.

Here's the snippet of xml that's failing:

<Component Id="WebSiteIndexesComponent"
Guid="3B9C897B-FE09-4c3c-A244-CC84964BFF0F" Directory="WebSiteIndexes">
  <CreateFolder>
    <Permission User="Network Service" GenericAll="yes"
ChangePermission="yes" />
  </CreateFolder>
</Component>

I'm wondering if anyone has hit this issue, and if there's a way to
reference a localized "Network Service" name that's correct for german
vs.
english OS's.  Alternatively is there a Condition I could evaluate to
choose
different components based on the OS language?

Cheers,

 - Alex
------------------------------------------------------------------------
------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to