Question How do you use a login script to install AClient?
Answer 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:
@echo off if not exist "c:\program files\Altiris\Aclient\aclient.exe" goto NOT If exist "c:\program files\Altiris\Aclient\aclient.exe" goto YES :NOT c: cd\ md Altiris\ md Altiris\AClient copy <drive>:\Altiris\AClient\AClient.exe (default location) cd Altiris\AClient AClient -install -silent <drive>:\<file location for inp file>\AClient.inp (AClient.inp file is located in the eXpress share.) goto END :YES echo file already there goto END :END
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.
Imported Document ID: HOWTO1204
Subscribing will provide email updates when this Article is updated. Login is required.