PC Review


Reply
Thread Tools Rate Thread

Problems writing to event log during execution of custom actions

 
 
=?Utf-8?B?cnJpY2h0ZXI=?=
Guest
Posts: n/a
 
      18th May 2004
I have several executables that are run as custom actions during an install. These executables write to the Application event log to so they can be debugged if they fail. The problem I'm running into is that the executables write just fine to the event log when they're run outside the context of an install. However, when they're running as custom actions, the event log shows something like below for the enties they make (I added the *'s just for this question, in the real message they hold the actual data)

The description for Event ID ( 1 ) in Source ( ******* ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: User : ******* successfully deleted.

It looks like the path to the executable that has to be set in the registry when you register the event source may be getting corrupted.

Any help would surely be appreciated!

Rick Richter
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing to custom event log =?Utf-8?B?UmljaGFyZCBTd2luZ3dvb2Q=?= Microsoft Dot NET 0 15th Mar 2007 02:06 PM
writing custom event for minimise, restore and close buttons =?Utf-8?B?c21hcnR5?= Microsoft VB .NET 5 7th Mar 2006 09:23 AM
Writing to a custom event log Alex Fedotov Microsoft Dot NET Framework 1 8th Nov 2004 05:15 AM
Writing event methods in MC++ with custom code Edward Diener Microsoft VC .NET 1 27th Dec 2003 08:10 PM
Writing to custom event log Victor Microsoft Dot NET Framework 2 22nd Oct 2003 12:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:22 AM.