Hope this arrives at the correct place, I am not sure how this mailing list works, but thanks for the response Chad. As i said I have tried the Permission tag here is the Wix: <Component Id="component0" Guid=" {E6F969D3-4D2A-417c-9014-2A547EC2939D}" KeyPath="yes"> <CreateFolder/>
</Component> <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"> <Permission CreateSubkeys="yes" EnumerateSubkeys="yes" ChangePermission="yes" GenericAll="yes" User="PRERSLogging"/> <Permission CreateSubkeys="yes" EnumerateSubkeys="yes" ChangePermission="yes" GenericAll="yes" User="LoggingDistributor"/> <Permission User="NetworkService" CreateSubkeys="yes" ChangePermission="yes" EnumerateSubkeys="yes" GenericAll ="yes" /> </Registry> he error i received was: Error 1609. An error occurred while applying security settings. PRERSLogging 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. Unable to locate the user's SID, system error 1332 As i said pretty much the same error Thanks 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