Details
Attempting to install a maintenance pack silently using a batch script but control to the script is returned before the installation of the maintenance pack is completed. How to wait for the maintenance pack to finish installation before returning control back to the batch script?
Solution
Here is a sample command line on how to install a SE2019 maintenance pack silently and to have the DOS batch script wait until the maintenance pack has finished installing:
start "" /wait "E:\Software\Solid Edge\SE2019\MP\2190002005\Solid_Edge_MSI_MP2.exe" /s /clone_wait /v"/qn"
However, if this is being run on Windows 10 it is imperative that the batch script is either called from an Administrator Command Prompt window or right-clicked -> Run as Administrator.
If you attempt to run the above command line as an administrative user without explicitly running as Administrator then the MP install will *not* pause until the maintenance pack install is finished.
Hardware/Software Configuration
Platform: INTL64
OS: window
OS Version: 1064
Product: SOLID_EDGE
Application: SETUP
Version: V219.0
Function: INSTALL
Ref: 002-8007054