How to use a login script to install AClient
|Article:HOWTO1204|||||Created: 2005-09-07|||||Updated: 2013-07-16|||||Article URL http://www.symantec.com/docs/HOWTO1204|
How do you use a login script to install AClient?
To install the AClient via a login script, the file AClient.inp must be configured, and you must set that file to run with the batch file. (Use the Remote Agent Installer program to generate the .INP file or copy an .INP file from a known to be correct client.) AClient.inp is the file that the install procedure will use to run in unattended mode.
Include script commands to copy AClient.exe and AClient.inp files to the workstation and use the following command to perform the installation:
<drive>:\<file location for inp file>\AClient.exe -install -silent <drive>:\<file location for inp file>\AClient.inp
The following basic sample batch file can be used to check to see if AClient is installed and then install AClient if needed. Using Notepad, create the following batch file:
if not exist "c:\program files\Altiris\Aclient\aclient.exe" goto NOT
If exist "c:\program files\Altiris\Aclient\aclient.exe" goto YES
copy <drive>:\Altiris\AClient\AClient.exe (default location)
AClient -install -silent <drive>:\<file location for inp file>\AClient.inp (AClient.inp file is located in the eXpress share.)
echo file already there
Make sure that you replace the appropriate drive, folder, and file locations with those that represent your server and workstation configuration.
Please refer to article HOWTO4119 for information about creating the AClient.inp.
Article URL http://www.symantec.com/docs/HOWTO1204