Reply to Thread

Post a reply to the thread: Windows Event Log

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 03-20-2006, 10:36 AM
    linder

    Re: Windows Event Log

    Hello,

    Yes, you can use a vbscript for now. But we'll add this as a built-in feature to the next build (inspired by your post, very good idea, btw.). It will be available as a script command (RegisterEventSource, ReportEvent, etc.).

    Thanks,
  • 03-20-2006, 10:13 AM
    Unregistered

    Re: Windows Event Log

    Quote Originally Posted by linder
    Hello,

    1) It should be possible to install services written in .NET. Did you experience any problem with this function?
    No I haven't tried it, was just verifying that it should work, thanks.

    On the event log, I guess I wasn't totally clear. I was referring to creating a custom Windows event log and registering a source. I did some more research on this, and it seems that it can be created pretty easily from a vbscript script, which I know I can call from SB. So perhaps this is the best way?
  • 03-20-2006, 08:03 AM
    linder

    Re: Windows Event Log

    Hello,

    1) It should be possible to install services written in .NET. Did you experience any problem with this function?

    2) Good question. At the moment you can only use the "Send OutputDebugString" script function to send a string to an external debugger for display.

    For example:
    http://www.sysinternals.com/Utilities/DebugView.html

    We are working on extended Event Logging to provides a standard way for installation executables to record important software installation events.

    It will also be possible to register an event log and report an event.

    Please let me know if you have any further questions.
  • 03-19-2006, 12:02 PM
    Unregistered

    Windows Event Log

    I have a Windows Service application I'm writing in Visual Studio 2003 and .NET 1.1. I want to install an event log for my service - so that if the user runs uninstall, it will remove the event log. I can do this using the VS setup tools.

    1) I know I can install a service with SB, is there any issue with installing a service written in .NET?

    2) I don't see anything about setting up event logs in SB docs. What's the easiest way to do this?

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •