Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
AutoPIPE
  • Product Communities
AutoPIPE
AutoPIPE Wiki 06. Performing a silent installation - AutoPIPE
    • Sign In
    • -Pipe and Vessel Stress Analysis - Wiki
      • +ADL PIPE
      • -Bentley AutoPIPE
        • +- General Information about AutoPIPE
        • +- NEW User Guide for AutoPIPE
        • +- Technical Support - AutoPIPE
        • +Batch Processing, ITS, and ATS using AutoPIPE
        • AutoPIPE QA&R program
        • -Download - Install - Release Notes - AutoPIPE
          • +- CONNECTION Center - AutoPIPE
          • +01. Bentley AutoPIPE Release Notes
          • +02. How do I download, install, and license AutoPIPE?
          • +03. How do I Install, License, and Run AutoPIPE ATS (Automatic Test Set)?
          • 04. Installing AutoPIPE on an untested Operating System
          • +05. Hardware Related Issues - AutoPIPE
          • -06. Performing a silent installation - AutoPIPE
            • 01. How to silently install AutoPIPE V8i 09.05.xx.xx?
            • 02. How to silently install AutoPIPE V8i 09.06.01.xx
            • 03. What is the best way to install / deploy Bentley CONNECT via SCCM package when the application is also inside of AutoPIPE's install Bundle?
            • 04. How to perform a direct MSI installation of AutoPIPE v.11 and higher?
            • Available Installlshield Setup Silent Installation Switches for AutoPIPE
          • 07. Install multiple versions of AutoPIPE on the same computer
          • 09. For AutoPIPE V8i 09.05.xx.xx and lower install Bentley IEG First
          • 10. Re-associate AutoPIPE's *.DAT file extension to execute the program when double selected
          • 11. Installing and running AutoPIPE on a computer with MS Bitlocker
          • 12. Does AutoPIPE V8i rely on any external software like ActiveX, Java, Adobe Flash, dynamic link libraries etc?
          • 13. Installing AutoPIPE with AutoPLANT
          • 14. Performing a clean installation - AutoPIPE
          • 15. Re-installing AutoPIPE on a computer that needs to get rebuilt
          • 17. Updating AutoPIPE software
          • 18. Can AutoPIPE be deployed on a server to be accessed on any client machine through application or desktop virtualization ?
          • 19. How to uninstall AutoPIPE from my computer?
          • 20. AutoPIPE's installation folder is locked out or read-only?
          • 20. How to set file association when installing OPIM ?
          • 21. Can I install AutoPIPE on a VM (Virtual Machine)?
          • +22. How to install a patch sent by Bentley AutoPIPE development team?
          • Q. How to be notified when a new version of AutoPIPE has been released?
        • +File / Model Management using AutoPIPE
        • +General - AutoPIPE
        • +Graphics - AutoPIPE
        • +Grids (Input & Results) - AutoPIPE
        • +Import and Export - AutoPIPE
        • +Known Issues in AutoPIPE (Enhancements, defects, etc..)
        • +Libraries - AutoPIPE
        • +License AutoPIPE -
        • +Loads and Load Sets - AutoPIPE
        • +Localization (Non-English Language) - AutoPIPE
        • +Modeling Approaches in AutoPIPE
        • +Modules (i.e. Flange Analysis, Spring Hanger Selection, Rotating Equip, TTA) in AutoPIPE
        • +Piping codes - AutoPIPE
        • +Post Processing - AutoPIPE
        • +Printing - AutoPIPE
        • +Reports - AutoPIPE
        • Security
        • +Settings - AutoPIPE
        • +Stress Isometrics - AutoPIPE
        • +Technology Productivity Capabilities
        • +Warnings, Errors, Crashed, Confirm, etc.. messages in AutoPIPE
      • +Bentley AutoPIPE Nozzle (WinNOZL)
      • +Bentley AutoPIPE Vessel (powered by Microprotol)
      • +Bentley PlantFLOW
      • +Bentley PULS
    • Multi-lingual announcement from BENTLEY TECHNICAL SUPPORT.
    • Working at Home with AutoPIPE
    • +AutoPIPE Brand Learning Resources
    • +Attend a live meeting with an AutoPIPE Analyst

     
     Questions about this article, topic, or product? Click here. 

    06. Performing a silent installation - AutoPIPE

    Document Information

    Document Type: TechNote

    Product(s): AutoPIPE, AutoPIPE Nozzle, PULS, PlantFLOW

    Version(s): V8i

    Original Author: Jeremy Hoesly, Bentley Technical Support Group

    Overview

    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

    WiX installer

    AutoPIPE 9.6.1 and higher

    AutoPIPE 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 switch from a script or the Command Prompt

    To change default installation directory, use the "InstallFolder" switch as recommended below

    Notes

    1: DO NOT use a backslash (\) at end of folder path when path is enclosed in commas ("").
    2: There is an issue in AutoPIPE 9.6.1 installer. Please check this wiki for workaround.

    AutoPIPE 9.5 to 9.6

    AutoPIPE 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 switch from a script or the Command Prompt

    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 /q switch to line 67 or 68 so that it appears like the following:

    <ExecutionCommand Value="msiexec.exe /q /norestart /i &quot;[CurrentFolder]\System\AutoPIPE Preview Handler Setup.msi&quot;"></ExecutionCommand>

    The AutoPIPE Nozzle component included with AutoPIPE 9.5.1.x also displays a graphical installer even when executing the Setup program silently. To prevent this from occurring, edit the Setup.xml file. Add a /v/quiet switch to line 82 so that it appears like the following:

    <ExecutionCommand Value="&quot;[CurrentFolder]\APNozzle\Install\Setup.exe&quot; /v/quiet"></ExecutionCommand>

    InstallShield installer

    AutoPIPE (9.4 and earlier), PCF translators, STRAIT translator, ADL Pipe translator, 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.

    Following are some steps composed for an Installshield based installer:

    1) Copy AutoPIPE installer to a local drive. Say c:\APInstaller\

    2) Go to command line

    3) Go to AutoPIPE Installer folder - say cd c:\APInstaller

    4) Run AutoPIPE installer in recording mode, do specify a path for the answer file.

    setup.exe -r -f1 "c:\APInstaller\setup.iss"

    Refer to developer notes for more information on available switches!

    5) Now once the installation has completed, you will have an answers file generated on the specified path

    "setup.iss"

    6) You can use this answer file to supply as an argument running the installer again on any other machines in silent mode.

    setup.exe -s -f1 "c:\APInstaller\setup.iss"

    Available Installshield Setup Silent Installation Switches for AutoPIPE

    Notes: 

    1. Setup.exe command line parameters are not case sensitive; upper case or lower case letters can be used.

    2. Separate multiple command line switches with a space, but do not put a space inside a command line switch (for example, /r /fInstall.ins is valid, but not /r/f Install.ins).

    3. AutoPIPE Nozzle uses an installshield based installer. It can support silent install but for AP Nozzle you will have to record an answer file and then supply this file during instllation.

    Additional Comments, Questions, and Answers:

    Item #1: How to silently install AutoPIPE V8i 09.05.xx.xx?

    Item #2: How to silently install AutoPIPE V8i 09.06.01.xx

    Item #3: What is the best way to install / deploy Bentley CONNECT via SCCM package when the application is also inside of AutoPIPE's install Bundle?

    Item #4: How to perform a direct MSI installation of AutoPIPE v.11 and higher?

    Item #5: Create a Deployment image

    See Also

    Download, Install, Release Note information

    Bentley AutoPIPE

    • plantflow
    • AutoPIPE
    • silent installation
    • PULS
    • AutoPIPE Nozzle
    • Share
    • History
    • More
    • Cancel
    • jeremyhoesly Created by Bentley Colleague jeremyhoesly
    • When: Tue, Jun 26 2012 12:35 PM
    • Mike Dattilio Last revision by Bentley Colleague Mike Dattilio
    • When: Thu, Sep 30 2021 5:19 AM
    • Revisions: 34
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies