See http://photomaton23.spaces.live.com/blog/cns!65F164AE43CB69AB!144.entry for 
how I did a similar thing with the "Authenticated Users" group

Chris

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Sleightholm
Sent: 28 August 2008 07:52
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] PermissionEx and WixQueryOsWellKnownSID properties

I didn't but will later but as I said in my post I need something that is not 
localised in international variants of Windows and I think NetworkService 
changes.

Neil

Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>


________________________________

From: [EMAIL PROTECTED] on behalf of Rob Mensching
Sent: Thu 28/08/2008 00:07
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] PermissionEx and WixQueryOsWellKnownSID properties



Did you try "NetworkService"?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Sleightholm
Sent: Wednesday, August 27, 2008 15:26
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] PermissionEx and WixQueryOsWellKnownSID properties

I am trying to change the permissions on a registry key like so:



        <RegistryKey Id="RegCommon" Root="HKLM"
Key="SOFTWARE\ACME\Common" Action="create">

          <util:PermissionEx GenericAll="yes"
User="[WIX_ACCOUNT_NETWORKSERVICE]" />

        </RegistryKey>



But when I run it I get this error in the log:

ExecSecureObjects:  Error 0x800706fd: failed to get sid for account: NT 
AUTHORITY\NETWORK SERVICE

Action ended 23:15:46: InstallFinalize. Return value 3.



Is it possible to use the WixQueryOsWellKnownSID properties with PermissionEx? 
Alternatively can I specify a SID (e.g. S-1-5-20) for the value of 
PermissionEx/@User?



(I can't hardcode the network service account name as it changes on 
international versions of Windows.)



Neil



Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge 
Build the coolest Linux based applications with Moblin SDK & win great prizes 
Grand prize is a trip for two to an Open Source event anywhere in the world 
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge 
Build the coolest Linux based applications with Moblin SDK & win great prizes 
Grand prize is a trip for two to an Open Source event anywhere in the world 
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



NOTICE: This email message and all attachments transmitted with it are intended 
solely for the use of the addressees and may contain confidential information. 
If you have received this message in error, please notify the sender 
immediately by email reply and please delete this message from your computer 
and destroy any copies.
PassGo Technologies Ltd is incorporated in England and Wales (registered number 
04222450) with its registered address at Horton Manor, Horton Cross, Ilminster, 
Somerset TA19 9PY.

PassGo Technologies Ltd is now part of the Quest Software Group of Companies.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to