As of V12 SP4 you can install a MSI package with "silent install".[79]
To do this, create a batch file (e.g.
silent_install_enterprise.bat
or
silent_install_professional.bat
) with
the following exemplary content. The file must not have line breaks
(hereinafter only for the sake of presentation).
Example for PARTsolutions Enterprise:
msiexec /i C:\partsolutions_enterprise_12.0.9.xxxxxx.msi /passive /L*V c:\temp\log.txtPRODUCT_BIN="C:\Program Files\PARTsolutions\"
PRODUCT_DATA="C:\ProgramData\PARTsolutions\" CADENAS_DATA=D:\data\
INSTALL_MODE=0 ADDLOCAL=F.apps_psol_enterprise,F.CAD_NX,F.AutoActivateInterfaces
Example for PARTsolutions Professional:
msiexec /i C:\partsolutions_professional_12.9.0.xxxxxx.msi /passive /L*V c:\temp\log.txtPRODUCT_BIN="C:\Program Files\PARTsolutions Professional\"
PRODUCT_DATA="C:\ProgramData\PARTsolutions Professional\" CADENAS_DATA=D:\data\
INSTALL_MODE=0 ADDLOCAL=F.apps_psol,F.CAD_NX,F.AutoActivateInterfaces
You can see all msiexec
specific parameters when you execute the command msiexec
in a console.
To evaluate the parameters available in the respective package, open the package with Orca. (See https://learn.microsoft.com/de-de/windows/win32/msi/orca-exe. After installing winsdksetup.exe
, the package Orca-x86_en-us.msi
must be explicitly installed at C:\Program Files
(x86)\Windows Kits\10\bin\10.0.22621.0\x86\
)
-> In Orca, all call parameters can be found in tabular form. The ones mentioned below make a concrete reference to the example used:
"RadioButton"(installation mode )
"Features"(Features )