Can you provide an example of a login script to install the BigFix Client?
The following is a sample login script that can be configured to install the BigFix client for Windows machines.
Resolving the problem
Below is an example of a batch script that can be run at startup to install the BigFix Client. You will need to configure the batch script to work on your network and you will need to set up a shared folder that contains all the files necessary to install the BigFix Client.
Note: This script assumes that the BigFix Client is installed in the default folder and that the name of the login script file is BIGFIXINSTALL.BAT.
rem This file can be used as a login script for windows machines
rem you must set up a share containing the BigFix Client with/ its masthead
rem MAKE SURE THAT THE USER HAS ACCESS TO THE SHARE OR ELSE IT WILL FAIL
rem BECAUSE IT WILL ASK FOR A LOGIN AND PASSWORD AND IT WILL FAIL
rem this is designed for WinNT/2000/XP machines
rem you will need to customize the following variables for your network configuration
rem The TEMPLOGPATH should be the path to a file where the install
rem log will be written to. This file will need to be writable by
rem every computer that is going to install the BigFix Client or the
rem installation will fail. (Example: "TEMPLOGPATH=C:\temp\besclientinstall.log"
rem will create the file besclientinstall.log in the C:\temp folder
rem on each computer that installs the BigFix Client.
if not exist BIGFIXinstall.bat goto WrongDir
if exist "c:\program files\BigFix Enterprise\BES Client\BESClient.exe" goto AgentFound
if exist "c:\program files\BigFix Enterprise\Enterprise Client\BESClient.exe" goto AgentFound
@echo Now installing BigFix Enterprise Client on this machine ...
\\%SERVERNAME%\%SHARENAME%\Setup /s /f2"%TEMPLOGPATH%"
@echo BIGFIXINSTALL.BAT not in working directory, please fix this and try again.
Translate this page: