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

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (update to current version (4.1.0))
(removed unnecessary file copying / removal)
Line 1: Line 1:
This is a silent installer for K-Lite Codec Pack.
+
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 [http://www.codecguide.com/ K-Lite Homepage].
 
The K-Lite Codec Pack is a collection of free audio/video codecs. Download it from [http://www.codecguide.com/ K-Lite Homepage].
Line 9: Line 9:
 
<packages>
 
<packages>
  
<package id='K-LiteMCP' name='K-Lite Mega Codec Pack' revision='410' priority='50' reboot='false' >
+
<package id='K-LiteMCP'
  <!-- K-Lite Mega Codec Pack -->
+
        name='K-Lite Mega Codec Pack'
   <check type='uninstall' condition='exists' path='K-Lite Mega Codec Pack 4.1.0' />
+
        revision='417'
  <install cmd='cmd /C copy /Y "%SOFTWARE%\K-Lite Mega Codec Pack v.4.1.0\klmcp.ini" "%TEMP%"' />
+
        priority='50'>
   <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"' />
+
   <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"' />
 +
 
 
   <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.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='"%SOFTWARE%\k-lite\klmcodec410.exe" /verysilent /norestart /LoadInf="%SOFTWARE%\k-lite\klmcp.ini"' />
  <upgrade cmd='cmd /C del "%TEMP%\klmcp.ini"' />
+
 
 
</package>
 
</package>
  
Line 24: Line 27:
 
</source>
 
</source>
  
The required klmcp.ini file can be generated in advance using the following parameters to the installer:
+
The required <code>klmcp.ini</code> file 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.
  
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Revision as of 08:54, 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-LiteMCP'
         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\klmcodec410.exe" /verysilent /norestart /LoadInf="%SOFTWARE%\k-lite\klmcp.ini"' />

  <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>

</packages>

The required klmcp.ini file 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.