Thing it's permission not permissionex you want.

On Sun, Nov 9, 2008 at 7:07 PM, <[EMAIL PROTECTED]> wrote:

>
> I am trying to install a couple of users and then give them permission's to
> access the registry. I want them to be able to create sources fro the event
> log. Here is the Wix XML I am using
>
>          <Component Id="regPermissions" Guid="
> {C473DD90-A144-4866-B8B3-379193A55778}">
>            <User xmlns="http://schemas.microsoft.com/wix/UtilExtension"; Id
> ="SvcAccount2"
>                               CanNotChangePassword="yes"
>                               CreateUser="yes"
>                               FailIfExists="no"
>                               PasswordNeverExpires="yes"
>                               PasswordExpired="no"
>                               RemoveOnUninstall="yes"
>                               UpdateIfExists="no"
>                               Disabled="no"
>                               Name="LoggingDistributor"
>                               Password="pa55w0rd">
>              <GroupRef Id="GroupID"/>
>            </User>
>            <User xmlns="http://schemas.microsoft.com/wix/UtilExtension"; Id
> ="SvcAccount"
>                              CanNotChangePassword="yes"
>                              CreateUser="yes"
>                              FailIfExists="no"
>                              PasswordNeverExpires="yes"
>                              PasswordExpired="no"
>                              RemoveOnUninstall="yes"
>                              UpdateIfExists="no"
>                              Name="PRERSLogging"
>                              Password="pa55w0rd">
>              <GroupRef Id="GroupID"/>
>            </User>
>
>            <Registry Id="setregperm" Key="SYSTEM\CurrentControlSet
> \Services\Eventlog" Root="HKLM">
>              <PermissionEx xmlns="
> http://schemas.microsoft.com/wix/UtilExtension"; CreateSubkeys="yes"
> EnumerateSubkeys="yes" ChangePermission="yes" GenericAll="yes" User="
> PRERSLogging"/>
>              <PermissionEx xmlns="
> http://schemas.microsoft.com/wix/UtilExtension"; CreateSubkeys="yes"
> EnumerateSubkeys="yes" ChangePermission="yes" GenericAll="yes" User="
> LoggingDistributor"/>
>              <PermissionEx xmlns="
> http://schemas.microsoft.com/wix/UtilExtension"; User="NetworkService"
> CreateSubkeys="yes" ChangePermission="yes" EnumerateSubkeys="yes"
> GenericAll ="yes" />
>
>            </Registry>
>
> I have tried the Permission tag as well, but any way you try, it seems the
> users are not set up in time, or at all, to set the permission's. I have
> successfully created users in isolation and successfully set permission's
> to users that were already on the machine that the install is run on, but I
> cannot get them both to happen in the same msi.
>
> Here is the error message from this fragment:
>
> ExecSecureObjects:  Securing Object: MACHINE\SYSTEM\CurrentControlSet
> \Services\Eventlog Type: Registry User: PRERSLogging
> ExecSecureObjects:  Error 0x80070534: failed to get sid for account:
> PRERSLogging
>
> Noel Anderton
>
>
> -------------------------------------------------------------------------
> 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