Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
OpenBuildings | AECOsim | Speedikon | LEGION
  • Product Communities
  • Building
  • OpenBuildings | AECOsim | Speedikon | LEGION
  • More
  • Cancel
OpenBuildings | AECOsim | Speedikon | LEGION
OpenBuildings | AECOsim | Speedikon | LEGION Wiki Silent Install Of Bentley Structural [TN]
    • Sign in
    • Building Design - Wiki
    • +OpenBuildings Designer
    • OpenBuildings Station Designer
    • +AECOsim Building Designer
    • +GenerativeComponents
    • +OpenBuildings Energy Simulator
    • +Bentley Facilities
    • +Bentley Speedikon
    • +Bentley LEGION
    • +Social Distance Assessments
    • Working from home with OpenBuildings products
    • Working from home with Speedikon
    • +iModel Plugin for Revit Overview
    • +Special Interest Group (SIG) FAQs
    • +Structural Modeler_PS
    • +Configuration Explorer
    • -Legacy Products
      • +Bentley Architecture
      • Bentley Building Electrical Systems
      • Bentley Building Mechanical Systems
      • +Bentley CloudWorx
      • Bentley Structural Modeler
      • +General BIM Information
      • +Have You Tried This?
      • +Legacy Product Tips And Tricks
      • -TechNotes And FAQs
        • 2D Or 3D Choice For Design [CS]
        • +AECOsim Building Designer TechNotes And FAQs
        • Annotation Enhancements In MicroStation TriForma 2004 Edition [CS]
        • Bentley Architecture Network Configuration [TN]
        • Bentley Building Application Deployment Guide for ProjectWise Managed Workspaces [TN]
        • Bentley Building Electrical Systems FAQ
        • Bentley Building Mechanical Systems FAQ
        • Bentley HVAC General [FAQ]
        • Building Configuration Variables to Manage ProjectWise Integration [TN]
        • Cannot load standalone PC Studio
        • Cannot Use Prosteel Commands After Inserting One Shape In Microstation [TN]
        • Converting MicroStation TriForma Datasets From MicroStation J To MicroStation V8 [CS]
        • Download Message: The signature of this program is corrupt or invalid [TN]
        • Errors running SELECTseries1 Building applications on Windows 8 or 8.1
        • Extracting MicroStation Tag Data To A JSM File [CS]
        • FAQ - Dynamic Views
        • Floor Manager Settings for Dynamic Views/Drawing Extractions Created Using Floor Selector [TN]
        • Frequently Asked Questions About Bentley Building Electrical Systems [CS]
        • Issues when running SELECTseries1 Building applications with MicroStation SELECTseries3
        • Microsoft Security Bulletin MS12-027 disables VBA Scripts (updated 04-20-2012)
        • Microsoft Security Bulletin MS12-060 (update to MS12-027) disables VBA Scripts (released 08-14-2012)
        • +MicroStation TriForma General [FAQ]
        • +PC Studio FAQ
        • ProSteel Microstation Seed Template File Available [TN]
        • Running The Building Suite Together In One Session [TN]
        • Running The Building Suite Together [TN]
        • Running The TriForma Building Suite [TN]
        • Set Multiple Perforator Depths for Compound Cells [TN]
        • Silent Install Of Bentley Architecture [TN]
        • Silent Install Of Bentley HVAC [TN]
        • Silent Install Of Bentley Structural [TN]
        • Silent Install Of MicroStation TriForma [TN]
        • Spreadsheet Reporting [TN]
        • Steps for creating a DataGroup Annotation cell for Wall Assemblies [TN]
        • Steps to render (or fill) spaces in a Dynamic View [TN]
        • Structural Modeler/PowerStructural Modeler TechNotes and FAQs
      • +Tips and Tricks
      • Unifying Walls

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

    Silent Install Of Bentley Structural [TN]

       
      Applies To 
       
      Product(s): Bentley Structural
      Version(s): V8 2004 and XM Editions
      Environment:  N/A
      Area:  N/A
      Subarea:  N/A
      Original Author: Bentley Technical Support Group
       

    Overview

    The following five steps are used to generate a silent installation of Bentley Structural. These instructions were developed for an InstallShield 6 installer used by Version 8 of this product.

    Note that for every new release for which you wish to use a silent installation, you must develop a new silent install. The response file (.iss) is specific to the release of the product.

    Steps for Developing a Silent Installation

    1. Confirm that correct environment is present

      It is assumed that you wish to use the silent installs to install the product to machine where it is not already present. Also, it is assumed that there is only one version of the required base product on the machine(s) you are installing to. So for generating a silent install of Bentley Structural the environment should have:

      1. No existing installation of Bentley Structural.
      2. Just one installation of MicroStation of sufficient version.
      3. One installation of a compatible version of MicroStation TriForma.

       

    2. Develop a silent response file (.iss)

      From the command line, run the setup.exe with the parameter "-r" or "/r", to begin a normal UI install. During the install, make those installation choices that you will want the silent installation to perform. At the conclusion of the installation, the file setup.iss will be generated in the %windir% directory, typically: c:\windows\setup.iss

       

    3. Remove the previous installation

      You must first uninstall the product which you just installed to generate the .iss file. In the case of most Building products such as TriForma, Bentley Structural, Bentley Architecture and Bentley HVAC, you will also need to remove the following file/folders which are not necessarily removed by an uninstall.

      1. Any Bentley Structural-specific pcf file(s) and project(s) folders under \Workspace\Projects\Examples
      2. Any product-specific dataset folders under \Workspace\TriForma\
      3. The folder \Workspace\Structural
      4. The folder Bentley\Program\TriForma\ Structural (2004 Edition) or Bentley\TriForma\ Structural (XM Edition). 

      To confirm that you have completely removed all traces of the previous installation, you should run a normal UI installation, and stop after you accept the License Agreement. If the next window after the License Agreement states "... project files present" and offers Remove and Backup options, then you there are still parts of your previous installation present. Cancel your install, and remove the parts -- repeating the process until this "project files present" window does not appear.

       

    4. Test the silent response file (.iss)

      After confirming that you have completely uninstalled the product, then perform a silent installation using the .iss file you generated. From the command line, run the setup.exe with the two parameters: "-s" and "-f1<path to setup.iss>"

      For example, if you left the setup.iss at the location it was generated at, then the command line would be: "setup.exe -s -f1c:\windows\setup.iss" No installation windows will appear during the silent installation, although you may notice signals of the silent installation such as a busy cursor.

       

    5. Verify the result of silent installation

      To determine whether the silent installation completed successfully or not, open the log file generated in the %windir% directory, typically c:\windows\setup.log A successful silent installation will generate the following section in the log file:

      [ResponseResult]
      ResultCode=0

      and of course you should have a correctly-installed product.

    Troubleshooting

    The most typical failure is:

    [ResponseResult]
    ResultCode=-3

    In this case, the silent installation probably discovered dialogs which were not listed in the setup.iss file. For example, if you correctly developed an .iss file for an environment without Bentley Structural being present, but ran that .iss in an environment in which Bentley Structural was in fact not completely uninstalled, then a "...project files present" dialog would be raised. Because this dialog would not have been registered in the setup.iss file, the install would fail with the above -3 error.

    Result Codes

    Result CodeResult Code Value
    -0 Success
    -1 General error
    -2 Invalid mode
    -3 Required data not found in the Setup.iss file
    -4 Not enough memory available
    -5 File does not exist
    -6 Cannot write to the response file
    -7 Unable to write to the log file
    -8 Invalid path to the InstallShield Silent response file
    -9 Not a valid list type (string or number)
    -10 Data type is invalid
    -11 Unknown error during setup
    -12 Dialog boxes are out of order
    -51 Cannot create the specified folder
    -52 Cannot access the specified file or folder
    -53 Invalid option selected

    See Also

    Product TechNotes and FAQs

    Building Product TechNotes And FAQs

    External Links

    Bentley Technical Support KnowledgeBase

    Bentley LEARN Server

    Comments or Corrections?

    Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!

     

       

    • Bentley Structual
    • TechNote
    • ProjectWise
    • TN8367
    • Share
    • History
    • More
    • Cancel
    • JStierly Created by JStierly
    • When: Mon, Jun 30 2008 6:52 AM
    • Stephen Brown Last revision by Bentley Colleague Stephen Brown
    • When: Tue, Apr 14 2015 8:37 AM
    • Revisions: 14
    • 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

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