/build/static/layout/Breadcrumb_cap_w.png

Managed Install for Cisco VPN Client

I need to set up a managed install for Cisco VPN Client. I got the switches for silent install and I know how to make a default user profile which contains user-group-password and host IP etc. But I don't know how to configure the silent install so that it will also push the user profile over along with the install.

What would have to happen is, the install takes place, and then the user profile gets put into c:\program files\Cisco Systems\VPN Client\Profiles.

Thanks for help,

Bob W

0 Comments   [ + ] Show comments

Answers (6)

Posted by: dyehardfan 13 years ago
Second Degree Blue Belt
0
Install.bat


start /wait msiexec.exe /qb /norestart /i vpnclient_setup.msi
copy xxxxx.pcf "C:\Program Files\Cisco\Profiles"
start /wait CreateShortCut.vbs
shutdown /r /t 15


CreateShortCut.vbs


Option Explicit
Dim objShell, objDesktop, objLink
Dim strAppPath, strWorkDir, strIconPath

strWorkDir ="C:\Program Files\Cisco Systems\VPN Client"
strAppPath = "C:\Program Files\Cisco Systems\VPN Client\ipsecdialer.exe"
strIconPath = "C:\Program Files\Cisco Systems\VPN Client\ipsecdialer.exe,0"

Set objShell = CreateObject("WScript.Shell")
objDesktop = objShell.SpecialFolders("AllUsersDesktop") 'this is where you assign where shortcut goes
Set objLink = objShell.CreateShortcut(objDesktop & "\Cisco VPN.lnk") 'this changes per install

' ---------------------------------------------------
' Section which adds the shortcut's key properties

objLink.Description = "Cisco VPN"
'objLink.HotKey = "CTRL+SHIFT+X"
objLink.IconLocation = strIconPath
objLink.TargetPath = strAppPath
objLink.WindowStyle = 3
objLink.WorkingDirectory = strWorkDir
objLink.Save

WScript.Quit


you can also use the .arguments property to have the shortcut automatically launch the vpn connection, but if you use multiple vpn connections this might not be advisable.
Posted by: RoverDrover 13 years ago
Orange Belt
0
Thank you DyeHardFan,

I'm going over to work with the contractor I sub for tonight and we'll try doing it this way.

One question though -- what is to keep the script from installing over and over? Should there be an "if exist c:\xxxxx\VPN Client...." goto END or something like that?
Posted by: cblake 13 years ago
Red Belt
0
Thanks dyehardfan - that's nearly verbatim how I did my Cisco VPN client as well.

RoverDrover - Do this as an MI, and if the software is present it doesn't run again.
Otherwise you could run it in the scripting tab and give it some litmus test like a smart label that is removed if a condition is true (like a custom inventory rule that looks for your config file). Add a verify stage to your script as well as a double check. You could certainly use "if exist c:\xxxxx\VPN Client...." goto END or something like that the problem there is that the script has to actually run to evaluate that statement; to be more efficient have something that only runs the script on machines that still need it.
Posted by: RoverDrover 13 years ago
Orange Belt
0
Thank you, Christopher. You guys are helping me with two issues right now, and I appreciate it. Things changed, and I'm not going to get to work on the Kbox till this weekend, so don't think I'm just blowing off the good advice. I'll let you know how it goes and if I have more problems.

Both of you have a good week, and I appreciate your time,

Bob
Posted by: nolefan 13 years ago
Yellow Belt
0
Where would I set this up in KACE? Under a managed install or a script? If someone could provide a little more detail on how to get the install.bat configured in KACE.
Posted by: dchristian 13 years ago
Red Belt
0
You could set this up under either, it just becomes a matter of preference at the point.

Have you gone through your jump-start training yet?

Your trainer will go over distribution with you.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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