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

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 8: Line 8:
 
<?xml version="1.0" encoding="utf-8" ?>
 
<?xml version="1.0" encoding="utf-8" ?>
 
<packages>
 
<packages>
 
 
<package id='k-lite-mcp'
 
<package id='k-lite-mcp'
 
         name='K-Lite Mega Codec Pack'
 
         name='K-Lite Mega Codec Pack'
 
         revision='470'
 
         revision='470'
 
         priority='50'>
 
         priority='50'>
 
 
   <check type='uninstall' condition='exists' path='K-Lite Mega Codec Pack 4.7.0' />
 
   <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"' />
 
   <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"' />
 
   <upgrade cmd='"%SOFTWARE%\k-lite\klmcodec470.exe" /verysilent /norestart /LoadInf="%SOFTWARE%\k-lite\klmcp.ini"' />
 
 
   <remove cmd='"%ProgramFiles%\K-Lite Codec Pack\unins000.exe" /verysilent /norestart' />
 
   <remove cmd='"%ProgramFiles%\K-Lite Codec Pack\unins000.exe" /verysilent /norestart' />
 
 
</package>
 
</package>
  

Revision as of 09:24, 14 August 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" /verysilent /norestart' />
</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' />