The installation of the Cisco VPN client causes a network disconnect during the install, so installing it FROM a network drive or share fails. So, my brilliant solution was to write a script ( batch file ) to make a temporary directory on the workstation, copy over the install files, launch the install program, then remove teh temporary directory.

The script is:
mkdir c:\vpntemp
xcopy \\server\software\ciscov~1\*.pcf c:\vpntemp /y
xcopy \\server\software\ciscov~1\vpnclient_setup.msi c:\vpntemp /y
start /wait msiexec /i c:\vpntemp\vpnclient_setup.msi -qn
rmdir /q /s c:\vpntemp

I tested the script and the script works. Then I made a msi file to call my batch file ( because this is being deployed via Active Directory so there must be an MSI ). The problem is that I end up trying to run msiexec ( to install the vpn client ) while msiexec is still running ( the msiexec thread that launched the script and is waiting for the script to finish before it exits ).

I've run into this paradox before but I had forgotten. So, what do you do in a situation like this other than try and repackage? Use VBScript? Shoot yourself? That's about where I'm at. Any advice greatly appreciated.
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


You have to install the VPN Client as nested msi in you own msi! You cannot install 2.msis at the same time you have to create a custom action which installs an msi either from destination, installed files or from installation. You may place it in the Execute Deferred Section before install finalize! If you're using msi from installation which means the vpn's msi gets imported in your installtion msi's binary table then the vpn msi must have internal cabs. If not you have to modify the vpn msi with msidb(Included in the windows installer sdk) to get the cab back inside and prefix the cab with a '#' in the media table so the vpn msi knows that the cab is now internal!
Answered 10/05/2005 by: sini
Orange Senior Belt

Please log in to comment