AECOsim Building Designer Silent Install Commands


 Product(s):AECOsim Building Designer
 Version(s):08.11.09.866
 Environment:N\A
 Area:Installation
 Subarea:N\A

The following Optional Parameters can be set for a customized silent installation for AECOsim Building Designer in conjunction with the standard Windows ® Installer command line options (msiexec /Option <Required Parameter> [Optional Parameter]). These parameters allow you to set the location of the program installation directory, the location of your workspaces and set the backup state of existing datasets.

Parameter Name

Description

APPLICATIONFOLDER

The directory where the AECOsim Building Designer program and associated files will be installed. If not defined, the installer will use the default program location. This value must be quoted if it contains spaces or other characters that are reserved by the command shell.

PACKAGE_HOMEROOT

The directory where the AECOsim Building Designer workspaces and associated files will be installed. If not defined, the installer will use the default Workspace location. This value must be quoted if it contains spaces or other characters that are reserved by the command shell.

BACKUPDATASET

If set to '=0' or undefined, the prompt from AECOsim Building Designer to "Backup the dataset" is suppressed and the dataset is NOT backed up (default behavior for silent installs).  If set to ‘=1’, the prompt from AECOsim Building Designer to "Backup the dataset" is suppressed and the dataset is automatically backed up.

For example:

msiexec  /i "AECOsimBuildingDesigner.msi" APPLICATIONFOLDER="C:\Silent Install\Program\" PACKAGE_HOMEROOT="C:\Silent Install\HomeRoot\" BACKUPDATASET=0  /qn /l*v c:\silent.log.

This example performs a silent install of AECOsim Building Designer in quiet mode w/ no UI (/qn) , placing the program files under C:\Silent Install\Program\ (APPLICATIONFOLDER="C:\Silent Install\Program\") and the workspace under C:\Silent Install\HomeRoot\ (PACKAGE_HOMEROOT="C:\Silent Install\HomeRoot\"). The dataset is backup prompt is suppressed and is defined Not to be backed up (BACKUPDATASET=0) and the entire installation process is logged to a file located at C:\silent.log (/l*v c:\silent.log)

Other examples:

Silent install with defaults:

msiexec /i "AECOsimBuildingDesigner.msi" /qn /l*v c:\silent.log

Silent install with redirection of folder locations:

msiexec  /i "AECOsimBuildingDesigner.msi" APPLICATIONFOLDER="E:\Program Files (x86)\Bentley\AECOsimBuildingDesigner V8i Ss6\" PACKAGE_HOMEROOT="E:\ProgramData\Bentley\AECOsimBuildingDesigner V8i Ss6\" /qn /l*v c:\silent.log

Silent uninstall using SS6 Product Code (use this if the original .msi that the install was carried out form is no longer present on the machine(s) concerned), backing up dataset:

msiexec /uninstall {8F545017-6809-4342-81D1-77E4346A2841} /qn BACKUPDATASET=1

Note: the Product Code for Ss6 can be found in the registry under :

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Bentley\AECOsimBuildingDesigner\{8F545017-6809-4342-81D1-77E4346A2841}

The SS5 Product Code is: {D9E22B89-638A-4665-9ACC-7A8C86FDD71D}

A full description of msiexec and its required and optional parameters can displayed by entering msiexec /help in the command window.

Dataset Silent Install Commands

The same commands can be used for the datasets:

Typical Dataset Silent Install:

msiexec /i "C:\BentleyDownloads\dataset_ANZInstaller.msi" /qn /passive  BACKUPDATASET=0 BDMINVERSION=08.11.09.800

Typical Dataset Silent Uninstall:

msiexec /uninstall "C:\BentleyDownloads\dataset_ANZInstaller.msi" /qn /passive BACKUPDATASET=0

Other Windows Installer Parameters

This is standard Windows ® Installer technology (V 5.0.7601.17514), the folowing options are available if needed, more information about these is available on microsoft.com.

msiexec /Option <Required Parameter> [Optional Parameter]

Install Options

</package | /i> <Product.msi>

Installs or configures a product

/a <Product.msi>

Administrative install - Installs a product on the network

/j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>]

Advertises a product - m to all users, u to current user

</uninstall | /x> <Product.msi | ProductCode>

Uninstalls the product

Display Options

/quiet

Quiet mode, no user interaction

/passive

Unattended mode - progress bar only

/q[n|b|r|f]

Sets user interface level

n - No UI

b - Basic UI

r - Reduced UI

f - Full UI (default)

/help

Help information

Restart Options

/norestart

Do not restart after the installation is complete

/promptrestart

Prompts the user for restart if necessary

/forcerestart

Always restart the computer after installation

Logging Options

/l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] <LogFile>

i - Status messages

w - Nonfatal warnings

e - All error messages

a - Start up of actions

r - Action-specific records

u - User requests

c - Initial UI parameters

m - Out-of-memory or fatal exit information

o - Out-of-disk-space messages

p - Terminal properties

v - Verbose output

x - Extra debugging information

+ - Append to existing log file

! - Flush each line to the log

* - Log all information, except for v and x options

/log <LogFile>

Equivalent of /l* <LogFile>

Update Options

/update <Update1.msp>[;Update2.msp]

Applies update(s)

/uninstall <PatchCodeGuid>[;Update2.msp] /package <Product.msi | ProductCode>

Remove update(s) for a product

Repair Options

/f[p|e|c|m|s|o|d|a|u|v] <Product.msi | ProductCode>

Repairs a product

p - only if file is missing

o - if file is missing or an older version is installed (default)

e - if file is missing or an equal or older version is installed

d - if file is missing or a different version is installed

c - if file is missing or checksum does not match the calculated value

a - forces all files to be reinstalled

u - all required user-specific registry entries (default)

m - all required computer-specific registry entries (default)

s - all existing shortcuts (default)

v - runs from source and recaches local package

Setting Public Properties

[PROPERTY=PropertyValue]

Further Information

Consult the Windows ® Installer SDK for additional documentation on the command line syntax.

Copyright © Microsoft Corporation. All rights reserved.

Portions of this software are based in part on the work of the Independent JPEG Group.

See Also

Silent Install of AECOsim Building Designer

Enabling Silent Removal of Datasets - AECOsim Building Designer

 Original Author:Marc Thomas