/[AnywhereTS-MSSQL]/trunk/TSAdminTool/ATSAmdin.Installer.cs
ViewVC logotype

Diff of /trunk/TSAdminTool/ATSAmdin.Installer.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/TSAdminTool/ATSAmdin.Installer.cs	2012/07/15 15:18:55	157
+++ trunk/TSAdminTool/ATSAmdin.Installer.cs	2012/07/15 15:35:36	160
@@ -212,15 +212,15 @@
                             {   // 64 bit OS
                                 //string t = @"SOFTWARE\Wow6432Node\" + ATSGlobals.ApplicationName + @"\ts-config";
                                 key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Wow6432Node\", true);
-                                key.DeleteSubKey("TFTPD32", false);
-                                key.DeleteSubKey(ATSGlobals.ApplicationName, false);
+                                key.DeleteSubKeyTree("TFTPD32", false);
+                                key.DeleteSubKeyTree(ATSGlobals.ApplicationName, false);
                             }
                             else
                             {   // 32 bit OS
                                 //strATSregRoot = @"SOFTWARE\" + ATSGlobals.ApplicationName + @"\ts-config";
                                 key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("Software", true);
-                                key.DeleteSubKey("TFTPD32", false);
-                                key.DeleteSubKey(ATSGlobals.ApplicationName, false);
+                                key.DeleteSubKeyTree("TFTPD32", false);
+                                key.DeleteSubKeyTree(ATSGlobals.ApplicationName, false);
                             }
                             Logging.ATSAdminInstallerLog.DebugFormat("Successfully removed AnywhereTS Registry settings");
                         }
@@ -235,9 +235,11 @@
                         // delete client images
                         try
                         {
+                            Logging.ATSAdminInstallerLog.Warn("Deleteing Client Images has not been implemented yet.");
                         }
                         catch (Exception ex)
                         {
+                            throw ex;
                         }
                     }
                 }

 

  ViewVC Help
Powered by ViewVC 1.1.22