Old 6th December 2017, 01:20   #1
sfx09
Junior Member
 
Join Date: Jul 2017
Posts: 18
NSIS Installer as Event Message File?

Hello!

Can I use NSIS-installer (installer.exe) as Event Message File, which will be used by Windows Event Viewer? I need to set any Event ID, which will be writing to an existing "Application" log without the annoying "The description for Event ID cannot be found" message. It's possible without secondary DLL or EXE? Thanks for answers.

Sorry for my English.
sfx09 is offline   Reply With Quote
Old 6th December 2017, 01:28   #2
sfx09
Junior Member
 
Join Date: Jul 2017
Posts: 18
Maybe, NSIS-installer (exe) already has some standart built-in event IDs? I tried to use 1,0,32,1000 values (decimal), but - unsuccessfully. =( Maybe, I can add one message ID into finish exe-installer manually?
sfx09 is offline   Reply With Quote
Old 6th December 2017, 02:51   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,608
Use !packhdr to execute Resource Hacker, it can add a message table. It makes little sense for a installer to do this since the path needs to be stored in the registry IIRC.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 6th December 2017, 14:17   #4
sfx09
Junior Member
 
Join Date: Jul 2017
Posts: 18
Thumbs up

big thanks!
sfx09 is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump