Solid Edge ST9: Installing Silently
Solid Edge will install silently as well as interactively. To install silently, you must use an account with administrator privileges and use an administrator command window. Part 1 is a complete command line argument set for silently installing Solid Edge. Part 2 is a command line silently installing solid edge maintenance packs.
Installing Solid Edge Silently
You can silently install Solid Edge ST9 using the following command. Be sure to enclose path names in quotes if they contain spaces.
C:\>msiexec /i “D:\CM_SETUP\DISK1\Solid Edge ST9.msi”
MYTEMPLATE=2 USERFILESPECXML=”K:\temp\My Docs\Options.xml”
INSTALLDIR=”C:\Program Files\Silent Solid Edge\” /qn+
- The string D:\CM_SETUP\DISK1\Solid Edge ST9.msi represents the fully qualified path to the Solid Edge MSI file. The drive letter D is only an example of the drive letter for the DVD ROM. Your drive letter may be different.
- 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 user’s “Region and Language Format” setting.
9 ANSI Metric
- The MSI Property INSTALLDIR is used to specify the installation folder for the application.
- The MSI Property USERFILESPECXML provides the optional installation of an SE Admin file. You should supply a fully qualified path and filename. This file is copied to the Solid Edge Program folder and processed at the end of the setup.
- The MSI Property USERFILESPEC optionally defines or specifies the license file that will be copied to the Solid Edge Preferences folder at the end of the setup.
- The argument “/qn+” instructs the Windows installer to provide NO user interface and alert you at the completion of the setup using a dialog box. Refer to the Windows help system for further
- 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 install errors, add the following argument to your command line to review the resulting log file. Add: /L*v “%TEMP%\install.log”
Silent Install for Maintenance Packs (MP)
“C:\temp\” Solid_Edge_MSI_MPx.exe /s /v” /qn /l*v %temp%\mysilentupdate.log”
- /s InstallShield switch that makes the InstallShield exe run silent.
- /v InstallShield switch that passes the string following it directly to the wrapped MSI installer.
- /qn InstallShield switch for setting the user interface level. The q activates the UI level options, n is the option for “No UI”.
- /l*v InstallShield switch that creates a log file of important messages, warnings and errors. This switch must be followed by the path and filename.
Be careful attempting to output a log file since MSI will not create folders if they don’t exist. So, if you want to create a log file, set your path to a folder that exits, for exampleC:\temp\mysilentupdate.log, or as in the example above %TEMP%\mysilentupdate.log. Where %TEMP% is an existing environment variable that points to an existing folder that is used to store temporary files. For example:
- “c:\users\yourusername\local\appdata\temp” or “c:\temp”.