Difference between revisions of "K-Lite Mega Codec Pack"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m (update to current version (4.1.0))
Line 9: Line 9:
 
<packages>
 
<packages>
  
<package id='K-LiteMCP' name='K-Lite Mega Codec Pack' revision='353' priority='50' reboot='false' >
+
<package id='K-LiteMCP' name='K-Lite Mega Codec Pack' revision='410' priority='50' reboot='false' >
 
   <!-- K-Lite Mega Codec Pack -->
 
   <!-- K-Lite Mega Codec Pack -->
   <check type='uninstall' condition='exists' path='K-Lite Mega Codec Pack 3.5.3' />
+
   <check type='uninstall' condition='exists' path='K-Lite Mega Codec Pack 4.1.0' />
   <install cmd='cmd /C copy /Y "%SOFTWARE%\K-Lite Mega Codec Pack v.3.5.3\klmcp.ini" "%TEMP%"' />
+
   <install cmd='cmd /C copy /Y "%SOFTWARE%\K-Lite Mega Codec Pack v.4.1.0\klmcp.ini" "%TEMP%"' />
   <install cmd='"%SOFTWARE%\K-Lite Mega Codec Pack v.3.5.3\klmcodec353.exe" /verysilent /norestart /LoadInf="%TEMP%\klmcp.ini"' />
+
   <install cmd='"%SOFTWARE%\K-Lite Mega Codec Pack v.4.1.0\klmcodec410.exe" /verysilent /norestart /LoadInf="%TEMP%\klmcp.ini"' />
 
   <install cmd='cmd /C del "%TEMP%\klmcp.ini"' />
 
   <install cmd='cmd /C del "%TEMP%\klmcp.ini"' />
 
   <remove cmd='"%ProgramFiles%\K-Lite Codec Pack\unins000.exe" /SILENT' />
 
   <remove cmd='"%ProgramFiles%\K-Lite Codec Pack\unins000.exe" /SILENT' />
   <upgrade cmd='cmd /C copy /Y "%SOFTWARE%\K-Lite Mega Codec Pack v.3.5.3\klmcp.ini" "%TEMP%"' />
+
   <upgrade cmd='cmd /C copy /Y "%SOFTWARE%\K-Lite Mega Codec Pack v.4.1.0\klmcp.ini" "%TEMP%"' />
   <upgrade cmd='"%SOFTWARE%\K-Lite Mega Codec Pack v.3.5.3\klmcodec353.exe" /verysilent /norestart /LoadInf="%TEMP%\klmcp.ini"' />
+
   <upgrade cmd='"%SOFTWARE%\K-Lite Mega Codec Pack v.4.1.0\klmcodec410.exe" /verysilent /norestart /LoadInf="%TEMP%\klmcp.ini"' />
 
   <upgrade cmd='cmd /C del "%TEMP%\klmcp.ini"' />
 
   <upgrade cmd='cmd /C del "%TEMP%\klmcp.ini"' />
 
</package>
 
</package>
Line 26: Line 26:
 
The required klmcp.ini file can be generated in advance using the following parameters to the installer:
 
The required klmcp.ini file can be generated in advance using the following parameters to the installer:
  
  klmcodec353.exe -MakeUnattended
+
  klmcodec410.exe -MakeUnattended
  
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Revision as of 04:21, 31 July 2008

This is a silent installer for K-Lite Codec Pack.

The K-Lite Codec Pack is a collection of free audio/video codecs. Download it from K-Lite Homepage.

Use the following XML file to install it:

<?xml version="1.0" encoding="utf-8" ?>
<packages>

<package id='K-LiteMCP' name='K-Lite Mega Codec Pack' revision='410' priority='50' reboot='false' >
  <!-- K-Lite Mega Codec Pack -->
  <check type='uninstall' condition='exists' path='K-Lite Mega Codec Pack 4.1.0' />
  <install cmd='cmd /C copy /Y "%SOFTWARE%\K-Lite Mega Codec Pack v.4.1.0\klmcp.ini" "%TEMP%"' />
  <install cmd='"%SOFTWARE%\K-Lite Mega Codec Pack v.4.1.0\klmcodec410.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.4.1.0\klmcp.ini" "%TEMP%"' />
  <upgrade cmd='"%SOFTWARE%\K-Lite Mega Codec Pack v.4.1.0\klmcodec410.exe" /verysilent /norestart /LoadInf="%TEMP%\klmcp.ini"' />
  <upgrade cmd='cmd /C del "%TEMP%\klmcp.ini"' />
</package>

</packages>

The required klmcp.ini file can be generated in advance using the following parameters to the installer:

klmcodec410.exe -MakeUnattended