Browse Source

Fix a typo in uninstall

master
Daniel Berteaud 9 months ago
parent
commit
84c7503d2d
2 changed files with 4 additions and 2 deletions
  1. +1
    -1
      WAPT/control
  2. +3
    -1
      setup.py

+ 1
- 1
WAPT/control View File

@@ -1,5 +1,5 @@
package : fws-system-settings
version : 6
version : 21
architecture : all
section : base
priority : optional


+ 3
- 1
setup.py View File

@@ -50,12 +50,14 @@ def install():
print('Install custom logo')
filecopyto('waptexit-logo.png',makepath(programfiles32,'wapt','templates'))


def uninstall():
print('Re enabling services')
for service in disabled_services:
print(' Enabling %s' % service)
run(r'sc config %s start= auto' % service, accept_returncodes=[0,1060])

prin('Removing DeliveryOptimization settings')
print('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')


Loading…
Cancel
Save