btatricks.blogg.se

Cisco vpn setup temp
Cisco vpn setup temp











' Reattempt install Cisco VPN Client - passive ' If exit code is 1722 or 1603, there was a problem installing IReturn = WshShell.Run("msiexec.exe REBOOT=ReallySuppress ALLUSERS=2 /m MSIOR41N /i vpnclient_setup.msi /qb!-", 1, true) ' Install Cisco VPN Client - suppresses modal dialog boxes WshShell.Run("pskill.exe /accepteula /t IPSecLog.exe") WshShell.Run("pskill.exe /accepteula /t ppptool.exe") WshShell.Run("pskill.exe /accepteula /t cvpnd.exe") WshShell.Run("pskill.exe /accepteula /t cisco_cert_mgr.exe") WshShell.Run("pskill.exe /accepteula /t ipsecdialer.exe") WshShell.Run("pskill.exe /accepteula /t vpnclient.exe") WshShell.Run("pskill.exe /accepteula /t vpngui.exe") ' Kill off any Cisco VPN Client processes Do you wish to continue?", 0, "Cisco VPN Client", 4 + 32) Please close all applications before continuing. IResponse = WshShell.Popup("This program will automatically install Cisco VPN Client v5.0.1, and will take roughly 5 minutes to complete." & VBCRLF & VBCRLF & "WARNING: This installation will temporarily disconnect you from the network. ' Warn user that this will take ~5 minutes, and that it will

cisco vpn setup temp

MsgBox "Windows Installer need to be upgraded to at least version 3.0." If Left(installer.Version, 3) < "3.0" Then Set installer = CreateObject("WindowsInstaller.Installer") Set WshShell = WScript.CreateObject("WScript.Shell") '* 17 Sep 07 - If any VPN client processes are running '* Changelog: 14 Sep 07 - If exit code is 1722 or 1603, there was a All other codes are the MSIEXEC.EXE exit codes '* 3010 - Install successful (restart required) '* Exit codes: 3 - Windows Installer needs upgraded '* Abstract: Wrapper script for installing Cisco VPN Client It deals with a few issues that can be seen during install. If you want to get a little more intelligence, I created a script like so. As for dealing with the network disconnect, simply make sure "Download content from distribution point and run locally" is selected, so that the setup You can simply import the MSI to SCCM (New > Package From Package Definition).įor dealing with the PCF files, simply put them in the same directory as the installer. The 5.x Cisco VPN client is an MSI, so you won't need a script.













Cisco vpn setup temp