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

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m
Line 34: Line 34:
  
 
<source lang="xml">
 
<source lang="xml">
  <install cmd='"%SOFTWARE%\k-lite\klmcodec417.exe" /verysilent /norestart' />
+
<install cmd='"%SOFTWARE%\k-lite\klmcodec417.exe" /verysilent /norestart' />
  
  <upgrade cmd='"%SOFTWARE%\k-lite\klmcodec417.exe" /verysilent /norestart' />
+
<upgrade cmd='"%SOFTWARE%\k-lite\klmcodec417.exe" /verysilent /norestart' />
 
</source>
 
</source>
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Revision as of 08:59, 19 September 2008

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='417'
         priority='50'>

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

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

  <upgrade cmd='"%SOFTWARE%\k-lite\klmcodec417.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:

klmcodec410.exe -MakeUnattended

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

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

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