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"
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)
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.