DirectoryEntry oDirectoryEntry = new DirectoryEntry(virtualDirMetaPath);
oDirectoryEntry.DeleteTree();
This throws a COMException 0x80005000. Any pointers welcome. Creation of virtual directory is fine. Its only at uninstall I get this error logged in Event Viewver.