You are currently reviewing an older revision of this page.
Document Type: TechNote Product(s): AutoPIPE, AutoPIPE Nozzle, PULS, PlantFLOW Version(s): V8i Original Author: Jeremy Hoesly, Bentley Technical Support Group
Document Type: TechNote
Product(s): AutoPIPE, AutoPIPE Nozzle, PULS, PlantFLOW
Version(s): V8i
Original Author: Jeremy Hoesly, Bentley Technical Support Group
Some users want to automate the program installation so that it can be performed from the command line instead of via the graphical installer. This is especially useful to system administrators when installing a program on multiple computers. Historically, the products have used InstallShield installers which can be automated using a response file. However, the products are moving to WiX installers which are easier to automate. Instructions for both installer types are provided below.
AutoPIPE 9.5 and later uses a WiX installer. To perform a silent installation, extract the contents of the package to the BentleyDownloads folder. Then run Setup.exe with a /qnui switch from a script or the Command Prompt like so:
Setup.exe /qnui
Please note that the AutoPIPE Preview Handler component still displays a graphical installer even when executing the Setup program silently. To prevent this from occurring, edit the Setup.xml file. Add a /qn switch to line 67 so that is appears like the following:
<ExecutionCommand Value="msiexec.exe /qn /norestart /i "[CurrentFolder]\System\AutoPIPE Preview Handler Setup.msi""></ExecutionCommand>
AutoPIPE (9.4 and earlier), AutoPIPE Nozzle, PULS, and PlantFLOW use InstallShield installers. These installations can be automated using a response file.
A response file contains answers to the installation dialogs presented during a graphical installation. To create a response file, first extract the installation files for the program, and quite the graphical installer. Then open an administrator command prompt, navigate to the install directory in the extracted location, and run setup.exe like so:
setup.exe /r /f1%userprofile%\Desktop\setup.iss
The graphical installer will appear. The /r switch will record the responses given during this installation. By default, the response file, setup.iss, will be saved in the Windows directory. The /f1 switch given above will save the response file on the desktop instead.
Once complete, move the setup.iss file to the install directory. To silently install the program, open an administrator command prompt, navigate to the install directory, and run setup.exe like so:
setup.exe /s
The /s switch will use the setup.iss response file when performing the installation. Please note that some installation windows may still appear momentarily, but no interaction from the user should be required.
Important: If running the silent installation command from a script, also add the /sms switch to the command above. This will pause execution of the script until the installation is finished.
Bentley AutoPIPE
Bentley Technical Support KnowledgeBase
Bentley LEARN Server
Bentley's Technical Support Group requests that you please submit any comments you have on this Wiki article to the "Comments" area below. THANK YOU!