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

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (Updated version numbers to 4.5.3)
m (-> klmcodec470)
Line 11: Line 11:
 
<package id='k-lite-mcp'
 
<package id='k-lite-mcp'
 
         name='K-Lite Mega Codec Pack'
 
         name='K-Lite Mega Codec Pack'
         revision='453'
+
         revision='470'
 
         priority='50'>
 
         priority='50'>
  
   <check type='uninstall' condition='exists' path='K-Lite Mega Codec Pack 4.5.3' />
+
   <check type='uninstall' condition='exists' path='K-Lite Mega Codec Pack 4.7.0' />
  
   <install cmd='"%SOFTWARE%\k-lite\klmcodec453.exe" /verysilent /norestart /LoadInf="%SOFTWARE%\k-lite\klmcp.ini"' />
+
   <install cmd='"%SOFTWARE%\k-lite\klmcodec470.exe" /verysilent /norestart /LoadInf="%SOFTWARE%\k-lite\klmcp.ini"' />
  
   <upgrade cmd='"%SOFTWARE%\k-lite\klmcodec453.exe" /verysilent /norestart /LoadInf="%SOFTWARE%\k-lite\klmcp.ini"' />
+
   <upgrade cmd='"%SOFTWARE%\k-lite\klmcodec470.exe" /verysilent /norestart /LoadInf="%SOFTWARE%\k-lite\klmcp.ini"' />
  
 
   <remove cmd='"%ProgramFiles%\K-Lite Codec Pack\unins000.exe" /SILENT' />
 
   <remove cmd='"%ProgramFiles%\K-Lite Codec Pack\unins000.exe" /SILENT' />

Revision as of 04:16, 4 March 2009

This is a silent installer for K-Lite Mega 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-lite-mcp'
         name='K-Lite Mega Codec Pack'
         revision='470'
         priority='50'>

  <check type='uninstall' condition='exists' path='K-Lite Mega Codec Pack 4.7.0' />

  <install cmd='"%SOFTWARE%\k-lite\klmcodec470.exe" /verysilent /norestart /LoadInf="%SOFTWARE%\k-lite\klmcp.ini"' />

  <upgrade cmd='"%SOFTWARE%\k-lite\klmcodec470.exe" /verysilent /norestart /LoadInf="%SOFTWARE%\k-lite\klmcp.ini"' />

  <remove cmd='"%ProgramFiles%\K-Lite Codec Pack\unins000.exe" /SILENT' />

</package>

</packages>

The klmcp.ini file is used for customization and can be generated in advance using the following parameters to the installer:

klmcodec453.exe -MakeUnattended

Note: you can skip /LoadInf parameter and klmcp.ini file generation if you want to install K-Lite Codec Pack with default options - i.e., use these install/upgrade commands:

<install cmd='"%SOFTWARE%\k-lite\klmcodec453.exe" /verysilent /norestart' />

<upgrade cmd='"%SOFTWARE%\k-lite\klmcodec453.exe" /verysilent /norestart' />