B.6 Deploying the Windows EXE Files

B.6.1 Deployment Specifics

For EXE deployments, the DeployAgents tool performs the following actions:

  • Employs wrapper scripts that work with the Novell File Reporter EXE agents.

  • Utilizes scripts that rely on the C$ admin share being available on the servers where the agent is to be installed, and that the C:\temp directory exists or can be created, and can be written to over the network by a domain administrator.

  • Uses the installer name without path information.

  • Uses the latest version by time and date in the software folder, regardless of the command line designation.

B.6.2 Setting an Alternate Installation Path

By default, DeployAgents installs the NFR Agent software to the following location:

C:\Program Files\Novell\File Reporter\Agent

You can change the default installation path for the NFR Agent software through the AlternateInstallPath.txt file.

  1. In the root of the DeployEXE file, locate the _AlternateInstallPath.txt file.

  2. Rename the file to AlternateInstallPath.txt by removing the underscore.

    After it is renamed, the file can be edited via Notepad or another text editor.

    The AlternateInstallPath.txt file uses a combination of text and variables so it can be used over and over.

  3. Use Notepad or another text editor to edit the installation path.

    You can change the drive letter, add additional path text, or change the text altogether to make the component best fit your environment.

    Example:

    Default path: c:\%brand%\%product%\

    Modified path example: e:\%brand%\%product%\

  4. Save the AlternateInstallPath.txt file.

B.6.3 Using DeployAgentsEXE.cmd

  1. Launch the DOS Command Prompt utility.

  2. Change to the DeployEXE directory.

  3. Do one of the following:

    • Enter: deployAgentsEXE.cmd servernames.txt domain\administrator NFRAgent-2.6-x64-xx.exe engine IP address [engine port]

    • Enter: deployAgentsEXE.cmd agents.dat domain\administrator NFRAgent-2.6-x64-xx.exe engine IP address [engine port]

      When you deploy EXEs through an agents.dat file, if a servernames.txt file already exists, you are asked if you want to use the servernames.txt file that already exists.

      If you choose No, the servernames.txt file is deleted and a new one is created, based on the contents of the agent.dat file.