I need to create a batch file that performs the following:
1. Check that Cisco Systems VPN is installed
a. If no Install VPN and them Go to B
b. If Yes Check to see if the Client Access Agent is installed
· IF YES = Done
· If NO =
o Copy the .ini file
o Copy a FOLDER(Profiles with the LanganASA.pcf file inside) to c:\program files\Cisco Systems\VPN Client\
o Copy mswinck.ocx to C:\windows\system32
o Run Clean Access Agent
I have the files, folders and copy procedures. I am having trouble with the search and if then parts. Also, the installation of the VPN client requires a reboot. How do I make the process continue after a reboot?
This batch file will be used to kick of the process in SCCM if that makes a difference.