Details
What is the command line argument set for silently installing Solid Edge ST10?
Solution
Silent (or Remote) Installations
The following is a complete command line argument set for silently installing
Solid Edge. Silent installation needs to run from an elevated command prompt
(such as, command window "Run as Administrator"). Setup no longer supports the
use of the ADDLOCAL property. All arguments should be enclosed in double
quotes if there are spaces in the paths.
MSIEXEC /i "J:\Solid Edge\Solid Edge ST10.msi" MYTEMPLATE=2
USERFILESPECXML="C:\temp\My Docs\SEAdmin\Options.xml" USERFILESPEC="C:\temp\My
Docs\SEAdmin\selicense.dat" SETPDMCLIENT=1 INSTALLDIR="C:\Program Files\Silent
Solid Edge" /qn+ /l*v "C:\temp\mysilentsetup.log"
The string J:\Solid Edge\Solid Edge ST10.msi" represents the fully qualified
path to the Solid Edge MSI file.
The MSI Property MYTEMPLATE indicates which templates are to be installed. If
no value is specified, Solid Edge uses the setting from the Standard.ini file.
The default in the Standard.ini file is Auto. For Auto, the templates will
set based on the current users Region and Language Format setting.
(1) METRIC
(2) JIS Metric
(3) ISO Metric
(4) ANSI Inch
(5) DIN Metric
(6) UNI Metric
(7) ESKD Metric
(8) GB Metric
(9) ANSI Metric
The MSI Property USERFILESPECXML allows the user to optionally install a Solid
Edge Admin file. The user should supply a fully qualified path and filename.
The MSI Property USERFILESPEC allows the user to optionally provide a license
file that setup will copy to the Solid Edge Program folder at the end of the
setup.
The MSI Property INSTALLDIR is used to specify the installation folder for
Solid Edge.
The MSI Property SETPDMCLIENT is used to specify the PDM client activated with
Solid Edge.
(1) Built in data management
(2) Teamcenter Integration for Solid Edge (SEEC)
(3) Insight
(4) Solid Edge for SP
The MSI Property ADDPDMCLIENTMENUS is used to specify the PDM client menus
activated with Solid Edge.
(1) All
(2) Teamcenter Integration for Solid Edge (SEEC)
(3) Insight
(4) Solid Edge for SP
The argument "qn+" instructs the Windows installer to provide NO user
interface and alert the user at the completion of the setup with a dialog box.
Refer to the Windows help system for further information about Windows
Installer arguments. Leaving this argument off the command line will display
the setup user interface with selections made and fields provided. Note: if
you are using this option some installations that require user interaction
could fail.
The argument "l*v" tells the Windows installer to create a log file of
important messages, warnings and errors and write it to the location provided,
in this example, C:\temp\mysilentsetup.log. If you have silent installation
errors, add the following argument to your command line and review the
resulting log file: /L*v "%TEMP%\install.log"
Here are more instructions for using the /L option (note that the path MUST
exist):
/L [i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] Log file
Writes logging information into a log file at the specified existing path. The
path to the log file location must already exist, or the installer will not
write the log file. Flags indicate which information to log. If no flags are
specified, the default is /l*.
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 file.
! - Flush each line to the log.
KB2555189"*" - Wildcard, log all information except for the v and x options.
To include the v and x options, specify "/l*vx".
Silent Installation for Maintenance Packs (MP)
The following is an example command line argument for silently installing the
MSI Solid Edge MPs. Silent installation needs to run from an elevated command
prompt or an administrator command window.
/s is an InstallShield switch that makes the InstallShield EXE run silent.
/v is an InstallShield switch that passes the string following it in quotes
to the wrapped MSI
/qn The q sets the UI level of the MSI and the n is its option for No
UI
Be careful attempting to output a log file as MSI will not create directories
if they dont exist. So, if you want to create a log file set your path to a
directory that exits or to %TEMP%\mysilentupdate.log as %TEMP% is an
environment variable which translates into
c:\users\yourusername\local\appdata\temp.
Silent Installation using Setup.exe (not for multi-version installation)
Alternately the following command line can also be used to silently install
Solid Edge using the setup.exe program. This approach installs all of the
prerequisites just as if the setup was executed interactively. This approach
cannot be used for multi-version installation.
setup.exe /s /v"/qn" /v"MYTEMPLATE=1" /v"USERFILESPEC=\" C:\temp\My
Docs\SEAdmin\selicense.dat\" INSTALLDIR=\"C:\Program Files\SilentSolidEdge\\""
/v"/l*v C:\temp\mysilentsetup.log"
Notes and References
Hardware/Software Configuration
Platform: INTL64
OS: window
OS Version: 1064
Product: SOLID_EDGE
Application: SETUP
Version: V110.0
Function: INSTALL
Ref: 001-9099233