Wednesday, December 3, 2008

How to setup a custom FortiClient install.

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.


1. Log into the Fortinet Support site and download the latest .zip package of Forticlient.

[Note that the install packages with _FG in the filename are for uploading directly to the Fortigate only.]


ftp://support.fortinet.com/FortiClient/v3.0/


See [LINK] for Readme.txt explanation of different install packages.


2. Unzip contents.


3. Install Forticlient.msi to a clean system/PC. Then proceed to configure the client as you would like it configured for your end-users.


[When installing; make sure to install only the components that you would like installed for your users as well. This will make the rest of the process a little simpler.]


See [LINK] for a sample FortiClient configuration.


4. Create a folder with a simple filename like "forticlient" in the root of C:\ and copy FCRepackager.exe and Forticlient MSI to it.

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:

Components installed:
AntiVirus,VPN,Firewall,WebFilter

Admin password = p@ssw0rd

Verbose Output:

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\.]

Step1.bat
cls
@echo off
TITLE Forticlient MR7 Patch3 Default Install

c:

net use v: \\xSERVERx\FortiClient\MR7_Default_Install


echo This is a silent install.......
echo You will be prompted when finished.
echo.

xcopy v:\*.* C:\Forticlient\*.* /F /Y


echo.
echo.
echo I mapped the install folder to V:\ and copied all of the contents to c:\Forticlient.
echo.
echo.
echo Another script will start and you will lose your connection to your network drives. Sorry.....

call c:\Forticlient\step2.bat

net use v: /delete

echo V:\ drive removed
echo Goodbye
exit

Step2.bat

@echo off
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+

echo.
echo.
echo.
echo.
echo.

echo done

pause

B) To script a local install just recycle step2.bat from above. Just make sure that all of your files are in c:\forticlient.



9 comments:

Sebastian said...

By the way, as of FortiClient 5.0.5 the repackager now requires a license.

Anonymous said...

Thanks for installation guide for Forticlient.
top10-bestvpn.com

Richard B. McCall said...

Thanks a lot for your job.Cool installation guide and manual for Forticlient.
It works good.
10webhostingservice

Martin said...

Wow, could this be any more complicated? Why not providing standardized custom parameters within the MSI rather than forcing admins to use a crappy repackaging tool..

Olivia Lustgraf said...

There are many reason for which you can face Mcafee Retail Card issues.

Mcafee Tech Support Number | Mcafee Customer Support Number | Mcafee Technical Support Number | Mcafee Customer Service Number | Mcafee Toll Free Number | Mcafee Customer Care Number | Mcafee Helpline Number | Mcafee Helpdesk Number | Mcafee Retail Card Support | Mcafee Antivirus Support | Mcafee Contact Number | Mcafee Phone Number

Anna Smith said...

Such a great idea... thanks for sharing this blog....

AOL Email Support | AOL Email Customer Service Number | AOL Email Customer Care | AOL Email Customer Support Number | AOL Email Support Number | AOL Email Customer Service | AOL Email Customer Support | AOL Email Technical Support | AOL Email Tech Support | AOL Email Customer Care Number | AOL Email Support Tollfree Number | AOL mail Customer Service | AOL Support Email | AOL Mail Tech Support

HP Printer Customer Support said...

Sometimes HP printer doesn’t print or print very light, due to this problem users get irritated. Well now don’t need to irritate or worry about this issue. Use HP printer technical support number which is always open for their customers.
Click here:HP Printer Customer Support Number | HP Printer Customer Service Number | HP Printer Technical Support Number | HP Printer Support Number | HP Printer Number | HP Printer customer care | HP Printer customer support | HP Printer customer service | HP Printer technical support | HP Printer tech support | HP Printer customer care Number | HP Printer customer Support Number | HP Printer customer service Number | HP Printer technical support Number | HP Printer tech Support Number |






norton activation key 1-877-226-6053 said...

Are you the latest victim of Norton not working? If yes then you need to uninstall and then re-install the Norton antivirus software again. But so as to activate your software you need to enter the Norton activation key.

Norton Activation key
Norton product key
Norton product Activation key
Norton Activation key support
Norton Activation
Norton activation support
Norton product Activation
Norton com setup Activation
Enter Norton product key code to activate
Norton com setup enter product key
Norton com setup with product key
Enter Norton product key
Norton product key free
Norton product key Activation
Norton setup product key
Norton internet security Activation key

Norton security key code free

Norton Activation code

Norton Activation key for product setup

mcafee activation key said...

For the activation of McAfee antivirus subscription, you need to choose a McAfee activation key. This code contains 25 digits which you will have to enter the required box.

McAfee Activation key
install McAfee setup product key
mcafee product key activation
mcafee renewal code
mcafee activation code
lost mcafee product key
mcafee com activate product key
mcafee product activation
mcafee activate product key
enter mcafee activation code
mcafee activate with activation code
mcafee com setup