mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-26 08:51:22 -06:00
SDA-4177 Uninstall SDA should clean up phone calls related registry keys
This commit is contained in:
parent
36d6e51221
commit
d4c40def00
@ -431,7 +431,6 @@ public class CustomActions
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Remove registry keys added by protocol handlers
|
||||
|
||||
using (var key = Registry.LocalMachine.OpenSubKey(@"Software\Classes", true))
|
||||
@ -475,13 +474,34 @@ public class CustomActions
|
||||
}
|
||||
}
|
||||
|
||||
// Remove registry keys added by protocol handlers
|
||||
// Remove registry keys added by protocol handlers & for phone calls
|
||||
|
||||
using (var key = Registry.CurrentUser.OpenSubKey(@"Software\Classes", true))
|
||||
{
|
||||
if (key != null)
|
||||
{
|
||||
key.DeleteSubKeyTree("symphony", false);
|
||||
key.DeleteSubKeyTree("Symphony.tel", false);
|
||||
}
|
||||
}
|
||||
|
||||
// Remove registry keys added for phone calls
|
||||
|
||||
using (var key = Registry.CurrentUser.OpenSubKey(@"Software", true))
|
||||
{
|
||||
if (key != null)
|
||||
{
|
||||
key.DeleteSubKeyTree("Symphony", false);
|
||||
}
|
||||
}
|
||||
|
||||
// Remove registry keys added by phone calls - symphony app registration
|
||||
|
||||
using (var key = Registry.CurrentUser.OpenSubKey(@"Software\RegisteredApplications", true))
|
||||
{
|
||||
if (key != null)
|
||||
{
|
||||
key.DeleteValue("Symphony", false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user