This repository has been archived on 2019-02-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
WAPT/cma17-sonicwall-global-VPN/setup.py
T
2019-01-19 23:28:54 +01:00

23 lines
797 B
Python

# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
print('installing cma17-sonicwall-global-VPN')
if iswin64():
install_msi_if_needed('GVCInstall64.msi', '/quiet /norestart', accept_returncodes='1618')
else:
install_msi_if_needed('GVCInstall32.msi', '/quiet /norestart', accept_returncodes='1618')
filecopyto('default.rcf',makepath(programfiles,'SonicWall\Global VPN Client'))
create_desktop_shortcut(r'VPN CMA17',traget=r'C:\Program Files\SonicWall\Global VPN Client\SWGVC.exe',arguments=r'/E "VPN CMA17"')
def remove():
print('uninstalling cma17-sonicwall-global-vpn')
run(r'msiExec.exe /X {7D7ED176-EA00-4B2B-B421-AA19A451F650} /q /norestart', timeout=2700, accept_returncodes=(0,1605))