示例#1
0
 [ComUnregisterFunction] //This executes if registration fails
 public static void UnRegisterClass(string key)
 {
     try
     {
         Katz.Exec();
     }
     catch (SecurityException ex)
     {
         Console.WriteLine(ex.Message);
         Console.ReadLine();
     }
 }
示例#2
0
 //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();
     }
 }
示例#3
0
 public ClassSilent()
 {
     Katz.ExecSilent();
 }
示例#4
0
 public ClassInteractive()
 {
     Katz.Exec();
 }