Skip to content
⌘ NSIS Forum Archive

How to remove the Event log from local pc by NSIS

3 posts

yudyzhao#

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?
jpderuiter#
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:


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