In many instances Network Administrators have to roll-out a "silent" or scripted installation of the Plant applications. In this example we will describe the supported procedure for this requirement.Note: If ProjectWise is required for Plant applications it must be installed and properly working before this silent roll-out.
Note: These script instructions are for clean installations only. If previous versions of these applications are on the workstation the script will not run.
Install File Location Options:
A. Installation files are placed on a network drive and the AutoInstall.bat file is configured to point to and copy the files down to the local C:\BENTLEYDOWNLOADS\ location during the script.
B. Installation files are placed on the local workstation and the AutoInstall.bat runs from this location.
This exercise will follow option B.
Modification of the AutoInstall.bat file.
In this outline we are only scripting the installs for the AutoPLANT Prerequisites and Bentley I&W applications.
In this example we modified the following variables:
REM This setting controls if script will try to copy files from AI_UNC_SOURCE to AI_APSETUPS.REM You can copy files manually to AI_APSETUPS if you can't copy them from UNC pathREM specified with AI_UNC_SOURCE setting.SET AI_GET_FILES=0
REM This setting specifies location where installer files should be copied to. DefaultREM location should be good for most cases. Change it only if default location can'tREM be used (e.g. not enough space in disk).REM NOTE: Don't forget to include trailing slash.REM if AI_GET_FILES=0 then set AI_APSETUPS as the actual installation pathSET AI_APSETUPS=C:\BentleyDownloads\
REM This setting specifies if AP Prerequisites with all its dependenciesREM must be installed.SET AI_INSTALL_AP_PREREQ=1
REM This setting specifies if I&W with all its dependenciesREM must be installed.SET AI_INSTALL_PIW=1
IF "%PROCESSOR_ARCHITECTURE%" == "AMD64" (SET AP_PREREQ_PATH=apr64081110182en\SET AP_Modeler_PATH=Modeler\Modeler_x64\SET AP_PID_PATH=PID\PID_x64\SET AP_PIW_PATH=prins081110182en\PIW_x64\SET HTA_FILE=PrerequisitesGUI_x64.htaSET Modeler_MSI=Modeler_x64.msiSET PID_MSI=PID_x64.msiSET PIW_MSI=PIW_x64.msi) ELSE (SET AP_PREREQ_PATH=apr64081110182en\SET AP_Modeler_PATH=Modeler\Modeler\SET AP_PID_PATH=PID\PID\SET AP_PIW_PATH=prins081110182en\PIW_x64\SET HTA_FILE=PrerequisitesGUI_x64.htaSET Modeler_MSI=Modeler.msiSET PID_MSI=PID.msiSET PIW_MSI=PIW_x64.msi)
The point of this lesson is just to familiarize the end user who will be configuring this silent installation with the Bentley AutoInstall.bat file and its variables. It is very important though that these silent installs are used on workstations that:
Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!