117
edits
Changes
m
klmcodec353klmcodec410.exe -MakeUnattended
update to current version (4.1.0)
<packages>
<package id='K-LiteMCP' name='K-Lite Mega Codec Pack' revision='353410' priority='50' reboot='false' >
<!-- K-Lite Mega Codec Pack -->
<check type='uninstall' condition='exists' path='K-Lite Mega Codec Pack 34.51.30' /> <install cmd='cmd /C copy /Y "%SOFTWARE%\K-Lite Mega Codec Pack v.34.51.30\klmcp.ini" "%TEMP%"' /> <install cmd='"%SOFTWARE%\K-Lite Mega Codec Pack v.34.51.30\klmcodec353klmcodec410.exe" /verysilent /norestart /LoadInf="%TEMP%\klmcp.ini"' />
<install cmd='cmd /C del "%TEMP%\klmcp.ini"' />
<remove cmd='"%ProgramFiles%\K-Lite Codec Pack\unins000.exe" /SILENT' />
<upgrade cmd='cmd /C copy /Y "%SOFTWARE%\K-Lite Mega Codec Pack v.34.51.30\klmcp.ini" "%TEMP%"' /> <upgrade cmd='"%SOFTWARE%\K-Lite Mega Codec Pack v.34.51.30\klmcodec353klmcodec410.exe" /verysilent /norestart /LoadInf="%TEMP%\klmcp.ini"' />
<upgrade cmd='cmd /C del "%TEMP%\klmcp.ini"' />
</package>
The required klmcp.ini file can be generated in advance using the following parameters to the installer:
[[Category:Silent Installers]]