Solid Edge How to execute a silent install of Solid Edge 2019 in a custom batch file

2021-10-06T23:53:13Z
Design

Summary


Details

If you want to do a silent install of Solid Edge 2019 in a custom batch file (.BAT) the SETUP.EXE starts the installation process but does not wait until completion, so the next command lines in the script file are executed too early.  In previous versions when you ran the SETUP.EXE in silent mode, all the commands were executed sequentially. 

This is an example of a batch file:

MKDIR "D:\Siemens\Solid Edge 2019"
"Z:\Install\Solid Edge 2019\setup.exe" /S /v"/qn" /v"MYTEMPLATE=1" /v"INSTALLDIR=\"D:\Siemens\Solid Edge 2019\\"" /v"/l*v C:\TEMP\mysilentsetup.log"
COPY "D:\Siemens\Solid Edge 2019\Preferences\Custom.XML" "D:\Backup\Custom.xml"

The first line (MKDIR) and second line (SETUP.EXE) are executed, but the process does not wait until the end, and the third and last line (COPY) is executed while the setup is installing Solid Edge, but then fails because the install is not completed.  This is not the expected behavior.



Solution

The parameter /clone_wait in SETUP.EXE will make the installer wait until completion.  Here is the modified command line with clone_wait command.


"Z:\Install\Solid Edge 2019\setup.exe" /S /clone_wait /v"/qn" /v"MYTEMPLATE=1" /v"INSTALLDIR=\"D:\Siemens\Solid Edge 2019\\"" /v"/l*v C:\TEMP\mysilentsetup.log"



Hardware/Software Configuration

Platform: INTL64
OS: window
OS Version: 764SP1
Product: SOLID_EDGE
Application: SETUP
Version: V219.0
Function: INSTALL

Ref: 002-8006772

KB Article ID# PL8006772

Contents

SummaryDetails

Associated Components

Part Modeling