diff --git a/WAPT/control b/WAPT/control index 8ac5446..cad7c64 100644 --- a/WAPT/control +++ b/WAPT/control @@ -1,5 +1,5 @@ package : fws-system-settings -version : 2 +version : 3 architecture : all section : base priority : optional diff --git a/setup.py b/setup.py index 8b285dd..3f2aa4e 100644 --- a/setup.py +++ b/setup.py @@ -40,11 +40,6 @@ def install(): run(r'net user rv /add', accept_returncodes=[0,2]) run(r'net localgroup Administrateurs rv /add', accept_returncodes=[0,2]) - print('Disabling Windows host script engine') - registry_setstring(HKEY_LOCAL_MACHINE, r'Software\Microsoft\Windows Script Host\Settings', 'Enabled', 0, REG_DWORD) - if iswin64(): - registry_setstring(HKEY_LOCAL_MACHINE, r'SOFTWARE\WOW6432Node\Microsoft\Windows Script Host\Settings', 'Enabled', 0, REG_DWORD) - print('Disabling P2P updates delivery') registry_setstring(HKEY_LOCAL_MACHINE, r'SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization', 'DODownloadMode', 0, REG_DWORD) @@ -54,11 +49,6 @@ def uninstall(): print(' Enabling %s' % service) run(r'sc config %s start= auto' % service, accept_returncodes=[0,1060]) - print('Enabling Windows Host Script engine') - registry_setstring(HKEY_LOCAL_MACHINE, r'Software\Microsoft\Windows Script Host\Settings', 'Enabled', 1, REG_DWORD) - if iswin64(): - registry_setstring(HKEY_LOCAL_MACHINE, r'SOFTWARE\WOW6432Node\Microsoft\Windows Script Host\Settings', 'Enabled', 1, REG_DWORD) - prin('Removing DeliveryOptimization settings') with reg_openkey_noredir(HKEY_LOCAL_MACHINE, r'SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization', sam=KEY_WRITE) as reg_key: reg_delvalue(reg_key, 'DODownloadMode')