Populaire vragen (FAQ's) zoeken
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
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
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.
Control Expert using the /qn switch.
Gepubliceerd voor:Schneider Electric Belgium
bijlage(n)
Ontdek meer
Productfamilie
Ontdek meer
Productfamilie