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