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

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m
Line 16: Line 16:
 
   <check type='uninstall' condition='exists' path='K-Lite Mega Codec Pack 4.1.7' />
 
   <check type='uninstall' condition='exists' path='K-Lite Mega Codec Pack 4.1.7' />
  
   <install cmd='"%SOFTWARE%\k-lite\klmcodec410.exe" /verysilent /norestart /LoadInf="%SOFTWARE%\k-lite\klmcp.ini"' />
+
   <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' />
 
   <remove cmd='"%ProgramFiles%\K-Lite Codec Pack\unins000.exe" /SILENT' />
 
  <upgrade cmd='"%SOFTWARE%\k-lite\klmcodec410.exe" /verysilent /norestart /LoadInf="%SOFTWARE%\k-lite\klmcp.ini"' />
 
  
 
</package>
 
</package>
Line 27: Line 27:
 
</source>
 
</source>
  
The required <code>klmcp.ini</code> file can be generated in advance using the following parameters to the installer:
+
The <code>klmcp.ini</code> file is used for customization and can be generated in advance using the following parameters to the installer:
  
 
  klmcodec410.exe -MakeUnattended
 
  klmcodec410.exe -MakeUnattended
  
Note: you can skip <code>/LoadInf</code> parameter and <code>klmcp.ini</code> file generation if you want to install K-Lite Coded Pack with default options.
+
Note: you can skip <code>/LoadInf</code> parameter and <code>klmcp.ini</code> file generation if you want to install K-Lite Coded Pack with default options - i.e., use these install/upgrade commands:
  
 +
<source lang="xml">
 +
  <install cmd='"%SOFTWARE%\k-lite\klmcodec417.exe" /verysilent /norestart' />
 +
 +
  <upgrade cmd='"%SOFTWARE%\k-lite\klmcodec417.exe" /verysilent /norestart' />
 +
</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' />