Archive: How to remove the Event log from local pc by NSIS


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?


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


call OpenEventLog+ClearEventLog+CloseEventLog with the system plugin