e.g. for Adobe Reader installation with "Adobe Customization Wizard XI"
The MST file must be the same name as the MSI file
- Code: Select all
:InstMSI
rem echo Installing %1...
if not exist %SystemRoot%\Temp\nul md %SystemRoot%\Temp
if not exist %~dpn1.mst (
echo Installing %1
@%SystemRoot%\system32\msiexec.exe /i %1 /passive /norestart /lic+ "%SystemRoot%\Temp\%~n1.log"
) else (
echo Installing %1 with %~dpn1.mst
@%SystemRoot%\system32\msiexec.exe /i %1 TRANSFORMS=%~dpn1.mst /passive /norestart /lic+ "%SystemRoot%\Temp\%~n1.log"
)
if errorlevel 1 (
echo %DATE% %TIME% - Warning: Installation of %1 failed >>%UPDATE_LOGFILE%
) else (
echo %DATE% %TIME% - Info: Installed %1 >>%UPDATE_LOGFILE%
)
goto :eof
see
https://www.adobe.com/support/downloads ... ftpID=5515
http://www.klaus-hartnegg.de/gpo/msi_acroread.html
http://www.klaus-hartnegg.de/gpo/mst.html