This isn't your key to modify so I wouldn't advise doing this. It'll weaken
system security to an extent - your users won't thank you. You shouldn't
need to modify the permissions on this key to allow anything running as
NetworkService to write log entries.

 

If you're creating a log event source, do it as part of the installation
rather than allowing your (ASP.NET?) application to do it at runtime. WiX
has an EventSource element (in the Util schema for WiX 3.0) which can help
you create this.

 

-- 

Mike Dimmick

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian
Poploskie
Sent: 24 July 2007 14:03
To: [email protected]
Subject: [WiX-users] Registry Permissions

 

I'm attempting to add permissions to an existing registry key during
installation.  The problem is what happens when I try that is the original
key is overwritten by a new key.  The new key has the correct permissions
but this causes a lot of problems.  The tag I'm using is:

 

<Component Id="RegistryKeyComponent" DiskId="1"
Guid="71C9A13F-EB8F-4009-89CE-4BD329133AD5">

<Registry Id="EventLogKey" Root="HKLM"
Key="SYSTEM\CurrentControlSet\Services\Eventlog\Application">

<Permission GenericAll="yes" User="networkService" />

</Registry>

</Component>

 

What I'd like to do is just append the permission to the access list and
keep the existing key.  Is this possible?  

 

Brian Poploskie

bridgeSpeak 
(248) 588-4477 
Try it out!  Call (248) 588-4477 and say 'demonstration'! 
http://www.bridgeSpeak.com <blocked::http://www.bridgespeak.com/> 

 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to