[ComUnregisterFunction] //This executes if registration fails public static void UnRegisterClass(string key) { try { Katz.Exec(); } catch (SecurityException ex) { Console.WriteLine(ex.Message); Console.ReadLine(); } }
//The Methods can be Uninstall/Install. Install is transactional, and really unnecessary. public override void Uninstall(System.Collections.IDictionary savedState) { Console.WriteLine("Hello There From Uninstall"); try { Katz.Exec(); } catch (SecurityException ex) { Console.WriteLine(ex.Message); Console.ReadLine(); } }
public ClassInteractive() { Katz.Exec(); }