By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,205 Members | 991 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,205 IT Pros & Developers. It's quick & easy.

Avoid to create EventLog Source

P: n/a

Does any one know how to avoid to register of the event
log source by the TransactedInstaller object?

I have a service which have some code into the main method
to self-register base on the paramenter. Im using the
TransactedInstaller class to do this. In order to know the
output from the installation I call the installation as
this to get a log of the installation.

c:\Assembly.exe -i > Assembly.Install.log

Into this Assembly.Install.log the following text is wrote

Running a transacted installation.

Beginning the Install phase of the installation.
Installing service MyService...
Service MyService has been successfully installed.

-->>Creating EventLog source MyServiceSource in log

The Install phase completed successfully, and the Commit
phase is beginning.
The Commit phase completed successfully.
The transacted install has completed.

I want to avoid the creation of the Event Log Source into
the Application Log.

Will appreciate any help or clarification on this if it
can be do or not.

Thanks in advance...
Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.