In this tutorial I will demonstrate how you should setup a custom Forticlient install for your users and include some example scripts to help you along.
See [LINK] for Readme.txt explanation of different install packages.
FCRepackager.exe can be found in FortiClientSetup_3.0.606\tools.
[Make sure you read FCRepackager_Readme.txt for all available switches and options.]
5. Run c:\forticlient\FCRepackager.exe -i AV,VPN,FW,WF -L p@ssw0rd -v at a DOS prompt.
This command string is executing the following:
Admin password = p@ssw0rd
This process creates the FortiClient.mst file which is required in the next steps. Make sure you place in the same folder as FortiClient.msi if it is not already located there.
6. Scripting the install.
A) To install Forticlient off of a network drive I like to use this little 2 part batch script.
[Make sure that move Forticlient.msi, FortiClient.mst and the scripts into the same folder on the server. In this case it is \\xSERVERx\FortiClient\MR7_Default_Install\.]
TITLE Forticlient MR7 Patch3 Default Install
net use v: \\xSERVERx\FortiClient\MR7_Default_Install
echo This is a silent install.......
echo You will be prompted when finished.
xcopy v:\*.* C:\Forticlient\*.* /F /Y
echo I mapped the install folder to V:\ and copied all of the contents to c:\Forticlient.
echo Another script will start and you will lose your connection to your network drives. Sorry.....
net use v: /delete
echo V:\ drive removed
TITLE Forticlient MR7 Default Install [PART 2]
echo ......Installing..... Please Wait......
start /wait msiexec /i c:\Forticlient\FortiClient.msi TRANSFORMS=c:\Forticlient\FortiClient.mst /qn+
B) To script a local install just recycle step2.bat from above. Just make sure that all of your files are in c:\forticlient.