212 |
{ // 64 bit OS |
{ // 64 bit OS |
213 |
//string t = @"SOFTWARE\Wow6432Node\" + ATSGlobals.ApplicationName + @"\ts-config"; |
//string t = @"SOFTWARE\Wow6432Node\" + ATSGlobals.ApplicationName + @"\ts-config"; |
214 |
key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Wow6432Node\", true); |
key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Wow6432Node\", true); |
215 |
key.DeleteSubKey("TFTPD32", false); |
key.DeleteSubKeyTree("TFTPD32", false); |
216 |
key.DeleteSubKey(ATSGlobals.ApplicationName, false); |
key.DeleteSubKeyTree(ATSGlobals.ApplicationName, false); |
217 |
} |
} |
218 |
else |
else |
219 |
{ // 32 bit OS |
{ // 32 bit OS |
220 |
//strATSregRoot = @"SOFTWARE\" + ATSGlobals.ApplicationName + @"\ts-config"; |
//strATSregRoot = @"SOFTWARE\" + ATSGlobals.ApplicationName + @"\ts-config"; |
221 |
key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("Software", true); |
key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("Software", true); |
222 |
key.DeleteSubKey("TFTPD32", false); |
key.DeleteSubKeyTree("TFTPD32", false); |
223 |
key.DeleteSubKey(ATSGlobals.ApplicationName, false); |
key.DeleteSubKeyTree(ATSGlobals.ApplicationName, false); |
224 |
} |
} |
225 |
Logging.ATSAdminInstallerLog.DebugFormat("Successfully removed AnywhereTS Registry settings"); |
Logging.ATSAdminInstallerLog.DebugFormat("Successfully removed AnywhereTS Registry settings"); |
226 |
} |
} |
235 |
// delete client images |
// delete client images |
236 |
try |
try |
237 |
{ |
{ |
238 |
|
Logging.ATSAdminInstallerLog.Warn("Deleteing Client Images has not been implemented yet."); |
239 |
} |
} |
240 |
catch (Exception ex) |
catch (Exception ex) |
241 |
{ |
{ |
242 |
|
throw ex; |
243 |
} |
} |
244 |
} |
} |
245 |
} |
} |