|
|
|
|
#1 |
|
Junior Member
Join Date: Sep 2009
Posts: 7
|
How to remove the Event log from local pc by NSIS
I want to create uninstaller to remove the Event Log on the local pc. Does anyone know how to do this?
|
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Feb 2007
Posts: 672
|
Which event log do you want to delete?
And do you want to delete the complete log, or some entries? You can use a cmdline tool from Microsoft to delete a complete event log file: http://technet.microsoft.com/en-us/l.../dd347725.aspx You can also do it with WMI, but that requires some programming (not possible from NSIS directly AFAIK): http://www.microsoft.com/technet/scr....mspx?mfr=true |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
call OpenEventLog+ClearEventLog+CloseEventLog with the system plugin
IntOp $PostCount $PostCount + 1 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|