/build/static/layout/Breadcrumb_cap_w.png

Cisco VPN client

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   [ + ] Show comments

Answers (1)

Posted by: sini 19 years ago
Orange Senior Belt
0
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!
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ