I'm still having trouble with this.

Say I create a group called "Group A". Now, if I want to add permissions for 
this group to a registry key, what would the PermissionEx tag look like?

Here is one I have tried:

<Component Id="CID_blah" Guid="{some guid}" DiskId="1">
<RegistryKey Id="RID_blah" Root="HKLM" Key="some key" Action="create">
<RegistryValue Id="RVID_blah" Name="blah" Value="blah" Type="string" 
Action="write"/>

<util:PermissionEx Read="yes" User="Group A"/>

</RegistryKey>
</Component>


I get the error:
ExecSecureObjects:  Error 0x80070534: failed to get sid for account: Group A


I know that the account gets created because I don't have a rollback CA and 
after rollback, the account is present. I also can see if verbose log file that 
the CA that creates the account occurs before ExecSecureObjects.

Thanks,
Ian

-----Original Message-----
From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 11:34 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] registry permissions on new groups

Ian Elliott (Excell Data Corporation) wrote:
> I'm having trouble trying to use PermissionsEx to set permissions for the new 
> group. Is this possible or does it only allow setting permissions for 
> "standard" groups such as Network Service, Administrators, etc?
>

They're formatted strings, so anything goes. Simple check: Is the group
created when SecureObjects is executed?

--
sig://boB
http://joyofsetup.com/



-------------------------------------------------------------------------
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

Reply via email to