Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
MicroStation Wiki Installing MicroStation V8 XM Edition silently
    • Sign In

    • +MicroStation Wiki
    • -Administration Wiki
      • Adding "Display Style List" to custom Toolbox
      • +Administration - Legacy Content
      • Answers for the Levelly Challenged
      • Batch Convert Utility
      • Bentley Tablet Driver And CalComp DrawingBoard
      • Bypassing Port Problems In Windows 2000 And Windows XP
      • Cannot find survey ft option in Design File Settings > Units
      • Configuration Variable Processing
      • Configuration Variables In MicroStation V8
      • Creating Tool Icons
      • Customize item missing from Workspace menu
      • Customize Toolbox - Tool opens new Toolbox
      • DGN file association in Windows 10 (MicroStation Does not appear in list)
      • DGN Index Service - How to set up
      • DGN Index Service Setup ended prematurely – error 1603
      • Enabling Lock Pages In Memory Under Windows 7 and Vista
      • Error - Cannot locate a default SHX font. Please install msdefault.shx
      • Error - Unable to load/create dialog item of type 'IconCmd', id
      • Error 1402. Could not open key
      • Error 1603 during install
      • Error 1610 during install
      • Error 1625 during install
      • Error message when starting MicroStation, "ucf not found"
      • File Associations
      • File Correction and Audit Tools
      • Getting Started With The Standards Checker
      • Haven't Upgraded To The MicroStation V8 Format Yet
      • How to Back Up and Restore User Preferences
      • How to Copy User Preferences and User Configuration Files to a new or different PC
      • How to quickly add a number of folders to Microstation's reference files search paths
      • How To Reset User Preferences and Delete MicroStation's Temporary Files
      • Installing MicroStation V8 XM Edition silently
      • Installing MicroStation V8i (SELECTseries 3) Without an Internet Connection
      • Installing MicroStation V8i silently
      • Is there any easy way to determine key-ins or variable names?
      • Key-in command to define different pattern setting options
      • Keyin to encrypt dgn files
      • MicroStation - Creating a Custom Colour Book
      • MicroStation Command Line Options And Switches
      • MicroStation Failed to Start
      • MicroStation file access issues with shared network drives
      • MicroStation Memory Management
      • +MicroStation V8i Variables
      • MicroStation Virtualization FAQ
      • Migrating Customizations to MS V8i
      • Migrating Customizations to MS XM
      • MSDebug File
      • MSXML Issue
      • Networking Workspaces
      • Networking Workspaces the easy way
      • New Variables
      • Overriding And Resynchronizing Level Attributes
      • Restore MicroStation to Factory defaults
      • Script error during MicroStation Installation
      • Serving Up Efficiency
      • Sharing Your Workspace
      • System Fault 5 MDL abort in DITEMS
      • The Power Of The Workspace
      • To also see hidden Config-Variables
      • Unable to connect to an Oracle Database
      • Understanding File Locations And Reference Attachments In MicroStation
      • Updating To MicroStation V8 Format
      • Upgrading From 08.09.02.52 To 08.09.02.77
      • Windows Explorer ProgramData folder
      • Workmodes DGN/DWG
      • Workspaces on the Network
    • +Annotations Wiki
    • +Bentley View Wiki
    • +MicroStation PowerDraft
    • +Programming Wiki
    • +Visualization Wiki

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

    Installing MicroStation V8 XM Edition silently

       
      Applies To 
       
      Product(s): MicroStation
      Version(s): V8 XM Edition
      Environment:  N/A
      Area:  N/A
      Subarea:  N/A
      Original Author: Bentley Technical Support Group
       

     

     

     

     

     

     

     

     

    Overview

    MicroStation V8 XM Edition Software Prerequisite Pack

    The MicroStation V8 XM Edition Software Prerequisite Pack is a sequencing of Microsoft redistributables housed in a Microsoft IExpress package. The Administrator has to unpack the MicroStation V8 XM Edition Software Prerequisite Package using a command to obtain the relevant .MSI files.

    To get a list of available command options, submit the following command:

    "Setup Prerequisites 08.09.00.17_en.exe" /?

    The sample command below will extract the files to the listed location (C:\some\full\path) without continuing on to installation.

    "Setup Prerequisites 08.09.00.17_en.exe"  /C /T:C:\some\full\path

    If you open PrerequisitesGUI.hta from the extraction with a text editor, you can obtain a listing of the files that need to be installed in order to install the MicroStation V8 XM Edition Software Prerequisite Pack in its entirety. The appropriate section begins with the comment "The HTML dialog layout". Each command line follows the attribute "BSI_CMD=". The Administrator just has to issue the command indicated in each of the HTML "List Items" ("LI" element tag).

    Please note that there is no uniformity in the Microsoft world. Consequently, there are various different return codes for success, failure, and reboot needed for each package. Some packages must be (or must not be) installed in certain OS and service packs. But that control should be available to the Administrator from their mass deployment infrastructure.

    A Registry key must be created that indicates to the MicroStation installer that the PreReq or equivalent procedure has been run. The key and name is "HKLM\SOFTWARE\Bentley\XM_Prerequisite\InstalledVersion" and has a string value of the Prerequisite Package. An example is "08090020".

    There will be a different key which corresponds to the release of the PreReq pack.  See the table below

    Release              Registry Entry

    08.09.02.xx       "HKLM\SOFTWARE\Bentley\XM_Prerequisite\InstalledVersion"
    08.09.03.xx       "HKLM\SOFTWARE\Bentley\XM_Prerequisite\080903xx\InstalledVersion"
    08.09.04.xx       "HKLM\SOFTWARE\Bentley\XM_Prerequisite\080904xx\InstalledVersion"

    MicroStation V8 XM Edition

    The MicroStation Product installer is housed in a Microsoft IExpress package. The same command options given above will extract the product files:

    "Setup_MicroStation_08.09.02.75.exe" /C /T:C:\some\full\path

    There are two public properties that can be specified on the "msiexec" command line for the MicroStation MSI file. (Note: These are documented in the delivered MicroStation V8 XM Edition Documentation in Programmed Customizations>Command Line Arguments and Exception Logs>Setting Parameters for MicroStation Silent Installation.)

    INSTALLDIR - The directory into which the MicroStation program and associated files will be installed. This value must be quoted if it contains spaces or other characters that are reserved by the command shell.

    BSI_USTN_HOMEROOT - The directory into which the MicroStation workspaces and associated files will be installed. This value must be quoted if it contains spaces or other characters that are reserved by the command shell.

    These public properties are different for MicroStation V8 XM Edition. See Installing MicroStation V8i silently for more information.

    Here is an example command for msiexec:

    msiexec /l*v c:\silent.log /qn INSTALLDIR=C:\silent install\Program\ BSI_USTN_HOMEROOT=C:\Silent install\homeroot\" /i "MicroStation 08.09.00.62.msi"

    where:

    msiexec - This is the Windows Installer

    /l*v c:\silent.log - Produces a log of the installation

    /qn - Suppresses the UI of the installer. /qn is a silent install and /qn+ is a silent installation with a single modal dialog indicating that the installation is complete.

    INSTALLDIR=C:\silent install\Program\ - Installs the program files to the specified location.

    BSI_USTN_HOMEROOT=C:\Silent install\homeroot\ - Installs the workspace files to the specified location.

    /i "MicroStation 08.09.00.62.msi" - Indicates the package to install.

    Here is another example that suppresses the installation of workspace files and sets the install to leverage an existing workspace location by setting the workspace path to another location in "msdir.cfg"

    msiexec /l*vx log.log /i MicroStation.msi /qn+ ADDLOCAL=ALL REMOVE="WorkSpaces,Users,SystemBorders,System,Standards,Projects, Interfaces,Font_TraditionalChinese,Font_Korean,Font_Japanese,DatabaseExamples, AdditionalFontFiles" INSTALLDIR=c:\08090277 BSI_USTN_HOMEROOT=c:\08090277-WS

    (Please note that all of these are on one line)

    where:

    ADDLOCAL=ALL - Install everything...

    REMOVE="WorkSpaces,Users,SystemBorders,System,Standards,Projects, Interfaces,Font_TraditionalChinese,Font_Korean, Font_Japanese,DatabaseExamples,AdditionalFontFiles" - but do not install these components.

    INSTALLDIR=c:\08090277 BSI_USTN_HOMEROOT=c:\08090277-WS - Write this as the workspace path in msdir.cfg.

    • TN9019
    • TechNote
    • MicroStation V8 XM
    • Share
    • History
    • More
    • Cancel
    • Elisa McGraw Created by Elisa McGraw
    • When: Wed, Aug 11 2010 11:22 AM
    • Conor K Last revision by Conor K
    • When: Thu, Oct 3 2013 8:44 AM
    • Revisions: 5
    • 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