我们今天能为您提供什么帮助?

Silent install does not work when using the /qn switch in the batch file.

Issue
Silent install does not work when using the /qn switch in the batch file.

Product Line
Control Expert 14

Environment
Windows10

Resolution
If you start Control Expert after installing the software using the silent install batch file modified to run with the /qn switch,
it will not start.

The reason this occurs is due to the batch file does not contain the instructions for installing the DTM libraries prior to
installing the Control Expert software.

The following section within the bach file needs to be edited to fix the issue:

  • Open the Install.bat file with WordPad.
  • Locate the following section:
ECHO.
echo Install of  Control Expert itself
ECHO.

echo .
echo .
echo .
MSIEXEC /i "%DIRMSI%\Control Expert Setup.msi" %TRANSFORMBLOCK% DRIVER_REQUIRED=%DRIVER_REQUIRED_VALUE% SESU_REQUIRED=%SESU_REQUIRED_VALUE% INSTALLDIR_SILENT=%INSTALLPATH% /qr /L*v C:\logsilentup.txt
echo .
echo .
echo .
goto myExit
  • Insert the following lines (in bold) into the section:
ECHO.

InstallApplication "Installer\CXM Gateway DTM\CXMGatewayDTM.msi" @("/qn")
InstallApplication "Installer\DTMLibrary\LOKI_DTM\PSx LOKI DTM.msi" @("/qn")
InstallApplication "Installer\Mx80HARTGatewayDTMLibrary\Mx80HARTGatewayDTM\Mx80HARTGatewayDTM.msi" @("/qn")
InstallApplication "Installer\Mx80HARTGatewayDTMLibrary\Schneider Electric Mx80 HART Gateway DTM Library.msi" @("/qn")
InstallApplication "Installer\NORDTMLibrary\NOR_DTM\NORDTM.msi" @("/qn")
InstallApplication "Installer\NORDTMLibrary\Schneider Electric BME NOR DTM Library.msi" @("/qn")
InstallApplication "Installer\PMEDTMLibrary\Schneider Electric PME DTM Library.msi" @("/qn")
InstallApplication "Installer\PMEDTMLibrary\PME Generic DTM\PME Generic DTM.msi" @("/qn")
InstallApplication "Installer\DTMLibrary\PSxERIO_DTM\PSx Ethernet RIO DTM.msi" @("/qn")
InstallApplication "Installer\DTMLibrary\M580_DTM\M580 Master DTM.msi" @("/qn")
InstallApplication "Installer\DTMLibrary\EcoStruxure Control Expert PSx DTM Library.msi" @("/qn")
InstallApplication "Installer\SESU\Schneider Electric Software Update.msi" @("/qn")
InstallApplication "Installer\LicenseManager\Schneider Electric License Manager.msi" @("/qn")
InstallApplication "Installer\Unity Pro Setup XL.msi" @("/qn",
"DRIVER_REQUIRED=1",
"SESU_REQUIRED=1",
"INSTALLDIR_SILENT=`"C:\Program", "Files", "(x86)\Control", "Expert`","14.1”",
"SET_PRODUCTINFORMATION_PARTNUMBER=UNYSPUEFFV1X",
"SET_PRODUCTINFORMATION_SERIALNUMBER=12345678900",
"SET_CUSTOMERINFORMATION_ORGANIZATION=Schneider Electric",
"SET_CUSTOMERINFORMATION_USERNAMEFIRST=L3",
"SET_CUSTOMERINFORMATION_USERNAMELAST=Expert",
"/L*v", "C:\temp\_Apps\UnityProInstallerLog.txt")


ECHO.
echo Install of  Control Expert itself
ECHO.

echo .
echo .
echo .
MSIEXEC /i "%DIRMSI%\Control Expert Setup.msi" %TRANSFORMBLOCK% DRIVER_REQUIRED=%DRIVER_REQUIRED_VALUE% SESU_REQUIRED=%SESU_REQUIRED_VALUE% INSTALLDIR_SILENT=%INSTALLPATH% /qr /L*v C:\logsilentup.txt
echo .
echo .
echo .
goto myExit
  • Appropriately change the part number, serial number, organization, USERNAMEFIRST, and USERNAMELAST.
  • Save the changes.
The attached silent install batch file can be used as an example of a working silent install batch file to silently install
Control Expert using the /qn switch.

施耐德電機Taiwan

探索更多

探索更多

需要協助?

產品選型工具

快速輕鬆地為您的應用找到合適的產品和附件。

取得報價

立即線上提交您的銷售需求,專業團隊將主動聯繫您。

購買地點

輕鬆在您所在地區找到最近的施耐德電機經銷商。

支援中心

在同一位置找到滿足您所有需求的支援資源。