Skip Ribbon Commands
Skip to main content

Distribution

:

Application Configuration Notes: Cisco VPN Client

Documentation and logs for UVM OS and application distribution methodologies
Customization of the Cisco VPN includes involves the following steps:
  • Obtain the latest MSI-based VPN Client installer from Cisco's web site
  • Drop our customized vpnclient.ini file into the software installation directory or zip file
  • Drop our public "PCF" (or VPN profile) file into the installation directory or zip file. 
  • Installation is then called using a shell script which first copies the installtion source to the local disk, then launches the installer using either a silent or basic interface.  Note that all installation materials must be local to the workstation on which the client is being installed.
  • We use the "RunOnce" registry key to inject a simple CMD command which deletes the local installation source after the next reboot.
NOTE:  The VPN installer requires that screen resolution be set to at least 800x600, or install will fail (even when run in fully silent mode with no UI exposed to end-user... Grrrr!).  To work around this I am using a free utility called "qres.exe", and I have added it to the Windows XP build task sequence before ZTIApplications is called.  Syntax is simple... "Qres.exe /X:1024".

At present, our unattended installation script follows this format:


@echo off
echo Making local installation source...
mkdir c:\install\vpn
xcopy /s /e /q /y * c:\install\vpn\
echo runnning install... please wait
start /wait msiexec /i c:\install\vpn\vpnclient_setup.msi /qb /norestart
echo injecting installer cleanup command to run on next boot...
reg add HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce /v UVM_VPN_Cleanup /t REG_SZ /d "c:\windows\system32\cmd.exe /c rmdir /s /q c:\install\vpn"
echo all done!

Detailed information on customizing the VPN Client installer is available at Cisco.com.  URLs to documentation resources fluctuate quite a bit, so a search of the site is recommended rather than providing a hard link.