I am working on a batch file that includes some tools for my local helpdesk guys to use. I am currently working on one of the tools which is to transfer and install Cisco AnyConnect for VPN usage on workstations. I was able to get the copy/transfer of the installer files down but cannot for the life of me figure out how to launch the .msi installer that is now on the remote computer. I am not very familiar with this portion of .bat files so any help would be appreciated.
*Note: I want to use a batch file for right now, at some point I will develop a desktop application for my tool but this is time sensitive.
EDIT I have been able to obtain and get PSEXEC put onto my computer so that could be an option as well. I have looked around online but really can only find help if just installing the software by itself. I know that it works in conjunction with msiexec.
I have the following but know I need more: psexsec \%id%\c$ cmd /c "c:\temp\vpn install" msiexec /i anyconnect-win-4.7.04056-core-vpn-predeploy-k9.msi /quiet /norestart
How would I call out the msi to be installed and install it in the process?
TIA