Silent install of Sage 300 CRE client using a script
Description
Cause

If you have many workstations, you can use a script to do a silent install of the software on client workstations.

Resolution

[BCB:3:Network warning:ECB]

Before installing

The solution shown is applicable for new installs, version upgrades, or revision upgrades (17.2.8 and higher). Versions 24.2 and higher must have Actian Zen pre-installed before running the 300CRE silent install.

Complete these steps before proceeding with the workstation install:

  • Finish the Sage 300 CRE Accounting Server install
  • Make a note of the path to the setup.exe file in the WinInst folder where the Sage 300 CRE server is installed
    Example: \\SERVERNAME\Timberline Office\9.5\Accounting\WinInst\setup.exe
  • You must log on to the client workstation as a user with full administrative rights (see User's Guide on "Installing to a workstation")

Silent install

Follow these steps to perform a silent install on each client workstation. The process installs both the prerequisites and the program files.

  1. On each client workstation, run the command line from a Run dialog (Run), an Administrator command prompt (Cmd), or a batch file (.bat).
  2. The script in the command line refers to the setup.exe file in the WinInst folder (on the Accounting server). It requires a command that forces the install to run silently. For example, if the path and server name is orbfile01\testserver, type " \\orbfile01\testserver\Timberline Office\9.5\Accounting\WinInst\setup.exe" /silent
     NOTE: Note the space after setup.exe, before the /silent command. Also, the path requires quotes because the folder name Timberline Office contains a space.
    • When the silent install is running, it writes the log files for the prerequisites to the Temp folder. The list of log files varies based on the prerequisites already installed on the machine and on the version of Sage 300 CRE. See the attachment for an example.
      Attachment: PrereqLogFilesExample.pdf
  3. After the silent install completes successfully, it writes a log file called thatsall.log to the Temp folder of the machine. In Windows Explorer, type %temp% in the address bar to locate it. The thatsall.log demonstrates that the install completed successfully; it's not necessary to open this file.
  4. The workstation requires a reboot. You can reboot the machine manually. Or, add an instruction in the command line in step 2 to automatically reboot the machine after the installation. To do so, replace the script in step 2 with the following path. In the example, the path and server name are orbfile01\testserver. Replace the text with your server name and path. Type " \\orbfile01\testserver\Timberline Office\9.5\Accounting\WinInst\setup.exe" /silent FORCE_SILENT_REBOOT=true
     NOTE: Rebooting the machine automatically deletes the thatsall.log file. If the script instructs an automatic reboot after the silent install completes. you won't find the thatsall.log file. It doesn't delete the log files for the prerequisites after the reboot. 

Other notes

You can use a script to create a log file for debugging the prerequisites install. In the example below, the script runs the silent install without rebooting and creates a log file called prereq.log in the Documents folder. (Again, note the space before the /silent and /debug commands.)
" \\orbfile01\testserver\Timberline Office\9.5\Accounting\WinInst\setup.exe" /silent /debuglog"C:\Documents\prereq.log"

 

 

DocLink: How do I install the Sage 300 Construction and Real Estate accounting client on a workstation or Citrix/terminal server?


Steps to duplicate
Related Solutions