Hi Gregory,
The current version of the ManagementInstaller class implementation (which
EIF uses) does not unregister the schema during an uninstall operation.
Effectively we leave it as it is after the schema installation; however you
do have an option to remove the schema from the WMI repository by deleting
the namespace under which the schema resides.
Here?s a script that you could use to delete a namespace (please note:
deleting a namespace will remove all the classes and instances in it)
On Error Resume Next
strMachineName = InputBox("Enter the machine name or '.' for local machine")
set wmiService = GetObject("winmgmts:\\" & strMachineName & "\root")
strNamespace = InputBox("Enter the namespace that you want to delete")
wmiService.Delete("__Namespace.Name='" & strNamespace & "'")
If Err.Number <> 0 then
Wscript.Echo "Error Deleting the Namespace. Error Number: " &
Err.Number
Else
Wscript.Echo "Succesfully Deleted the Namespace " & strNamespace
End If
Hope it helps.
Thx

Signature
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
|
| How are EIF (custom) events uninstalled from their corresponding WMI
[quoted text clipped - 11 lines]
| Thanks,
| Gregory (gregory@eai.be)