예제 #1
0
 public static void UninstallServce()
 {
     using (ProjectInstaller installer = new ProjectInstaller())
     {
         IDictionary dictionary = new Hashtable();
         installer.Uninstall(dictionary);
     }
 }
예제 #2
0
 public static void InstallServce()
 {
     using (Installer installer = new ProjectInstaller())
     {
         Hashtable dictionary = new Hashtable();
         installer.Install(dictionary);
     }
 }