diff --git a/setup.py b/setup.py index 6240315..ca41ec7 100644 --- a/setup.py +++ b/setup.py @@ -145,9 +145,8 @@ def uninstall(): run(uninstall_cmd(thunderbird['key'])) print('Removing registry entries') - run(r'reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Thunderbird" /v "DisableAppUpdate" /f') - run(r'reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Thunderbird" /v "DisableTelemetry" /f') - + registry_delete(HKEY_LOCAL_MACHINE, r'SOFTWARE\Policies\Mozilla\Thunderbird', 'DisableAppUpdate') + registry_delete(HKEY_LOCAL_MACHINE, r'SOFTWARE\Policies\Mozilla\Thunderbird', 'DisableTelemetry') def audit():