I think this is easier than it might sound. You can configure the Custom
Event Log during install using the Installer component for the Event Log
component. Web Setups must be installed by Admins, so the installer has
admin privileges to create the custom event log, and I don't think the Web
App needs Admin privileges to write to the log.
---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Content-Class: urn:content-classes:message
From: "T" <to*********@totalise.co.uk>
Sender: "T" <to*********@totalise.co.uk>
Subject: Creating a Custom Event Log in a VS.NET deployment project
Date: Fri, 10 Oct 2003 04:40:43 -0700
Lines: 19
Message-ID: <0c****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcOPI1asq69IFd1pRzqEETK9X6YUJw==
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:111382
NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
X-Tomcat-NG: microsoft.public.dotnet.general
I have a web site i want to deploy using a VS.NEt set up
project. I have no problems with that, that is fine and
works no problem.
But the web application uses a custom event log to log
application messages. The asp.net application will not be
running under an account with administrative permissions
and so this will not be able to create the custom event
log.
So i wanted to be able to create this during the setup
program. As this will have to be run using an
admisitrative account. Can this be done? How can it be
done?
Any help would be gratefully appreciated.
Thanks