msiexec /i GVCInstall64.msi /qb
Automates the installation of Global VPN Client (GVC) 4.2.6.
I have also successfully pushed a job to my client with the source files being on a network share:
msiexec /i \\server\share\GVCInstall64.msi /qb
I have tried it both with and without adding /forcerestart. Without it the above commands don't restart the client, and the client seems to work fine. To force a restart is:
msiexec /i \\server\share\GVCInstall64.msi /qb /forcerestart
Have only tested all of the above on Windows 7 64-bit, but I'm sure the 32-bit works the same.
Now for the step-by-step:
1. Download the 64-bit GVC client from mysonicwall.com. The file will be called something like 184-001457-00_Rev_A_GVCSetup64.exe
2. I put the file into the following directory on my computer: C:\temp\sonicwall
3. Extract the file into an MSI with this command: 184-001457-00_Rev_A_GVCSetup64.exe /c /t:C:\temp\sonicwall This will create files called GVCInstall64.msi and RunMSI.exe in the c:\temp\sonicwall folder
4. I then copied only the GVCInstall64.msi to a network share called \\server\share\sonicwall
5. Previously I had created a custom default.rcf file that has all the configurations for my clients. I put that default.rcf file also into \\server\share\sonicwall folder. By putting that file into the same folder as the GVCInstall64.msi, the installer will grab that file and put into C:\Program Files\SonicWALL\SonicWALL Global VPN Client on your clients for you.
6. I then created my installation command to send to my clients: msiexec /i \\server\share\sonicwall\GVCInstall64.msi /qb This command says to execute the GVCInstall64.msi in that share, and the /qb says quiet and basic interface. If you're not familiar with the msiexec command, you can run msiexec /? from a command line and get the swithes, or you can google it. I use Altiris Deployment to run that command on my clients, but any installer will do it, such as KBOX, LANDesk, Microsoft System Center, etc.
Most of this info is available in the Sonicwall Global VPN Client 4.2 Administrator's Guide, but they don't tell you all this detail and examples.
I found that vpn profiles for SonicWall VPN client are per-user only. So you have to manually set up the connection options for your vpn server for each user account on the computer manually. The settings are stored in the text file C:\Documents and Settings\SETUP_USER_ACCT\Application Data\SonicWALL\SonicWALL Global VPN Client\SonicWALL Global VPN Client.rcf.
So you can copy this file into 'C:\Documents and Settings\Default User\Application Data\SonicWALL\SonicWALL Global VPN Client\'
so that you don't have to set up the VPN profile for every user account. Or you can deploy the file using various means such as logon script etc.
This approach still requires you to enter the pre-shared key on new user profiles if you use this configuration. I have an open case with SonicWall requesting info on how to automate entering the preshared key.