Attempting to delete ascom profile entries on uninstall

This commit is contained in:
2019-09-28 13:24:31 +01:00
parent 9c689f1179
commit fc68a788ac
2 changed files with 2 additions and 6 deletions
+1 -5
View File
@@ -487,11 +487,7 @@ namespace ASCOM.Meade.net
//
// ASCOM
//
using (var p = new Profile())
{
p.DeviceType = deviceType;
p.Unregister(progid);
}
Registry.LocalMachine.DeleteSubKey(String.Format("SOFTWARE\\ASCOM\\{0} Drivers\\{1}", deviceType, progid), false);
}
catch (Exception) { }
}