Delete ESET installer after setup
This commit is contained in:
parent
f9ab36fc7c
commit
ceae05817d
1 changed files with 5 additions and 1 deletions
|
|
@ -314,16 +314,20 @@ def install_eset_nod32_av(scan_pups=True):
|
|||
out_dir=global_vars['ClientDir'],
|
||||
out_name='eav_nt64.exe',
|
||||
source_url=SOURCE_URLS['ESET NOD32 AV'])
|
||||
installer = r'{ClientDir}\eav_nt64.exe'.format(**global_vars)
|
||||
if not result['CS']:
|
||||
raise GenericError('Failed to download ESET NOD32 AV')
|
||||
|
||||
# Install
|
||||
cmd = [r'{ClientDir}\eav_nt64.exe'.format(**global_vars),
|
||||
cmd = [installer,
|
||||
'--silent', '--accepteula', '--msi-property',
|
||||
'PRODUCTTYPE=eav', 'PRODUCT_LANG=1033', 'PRODUCT_LANG_CODE=en-US',
|
||||
'ADMINCFG="{}"'.format(config_file)]
|
||||
try_and_print(message='Installing ESET NOD32 AV...',
|
||||
other_results=OTHER_RESULTS, function=run_program, cmd=cmd)
|
||||
|
||||
# Delete installer
|
||||
remove_item(installer)
|
||||
|
||||
def install_firefox_extensions():
|
||||
"""Update registry to install Firefox extensions for all users."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue