Changes

K-Lite Mega Codec Pack

1,619 bytes added, 11:08, 26 March 2013
no edit summary
Use the following XML file to install it:
== K-Lite Mega Codec Pack 9.8.0 ==
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<packages:packages
xmlns:packages="http://www.wpkg.org/packages"
xmlns:wpkg="http://www.wpkg.org/wpkg"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.wpkg.org/packages xsd/packages.xsd">
 
<package
id="k-lite_mcp"
name="K-Lite Mega Codec Pack"
revision="%PKG_SHORTVERSION%"
reboot="false"
priority="1">
 
<variable name="PKG_VERSION" value="9.8.0" />
<variable name="PKG_SHORTVERSION" value="980" />
<variable name="PKG_EXE" value="K-Lite_Codec_Pack_%PKG_SHORTVERSION%_Mega.exe" />
<variable name="PKG_SOURCE" value="%SOFTWARE%\K-Lite_Mega_Codec_Pack" />
<variable name="PKG_DESTINATION" value="%ProgramFiles%\" architecture="x86" />
<variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\" architecture="x64" />
<variable name="PKG_INSTALL_SWITCH" value='/SP- /VERYSILENT /NORESTART /LoadInf="%PKG_SOURCE%\klcp_mega_unattended.ini"' />
<variable name="PKG_REMOVE_SWITCH" value="/VERYSILENT /NORESTART" />
<check type='uninstall' condition='exists' path='K-Lite Mega Codec Pack %PKG_VERSION%' />
<commands>
<command type="install" cmd='"%PKG_SOURCE%\%PKG_EXE%" %PKG_INSTALL_SWITCH%' />
<command type="upgrade" cmd='"%PKG_SOURCE%\%PKG_EXE%" %PKG_INSTALL_SWITCH%' />
<command type="remove" cmd='"%PKG_DESTINATION%\K-Lite Codec Pack\unins000.exe" %PKG_REMOVE_SWITCH%' />
</commands>
</package>
</packages:packages>
</source>
 
== K-Lite Mega Codec Pack 5.1.0 ==
<source lang="xml">
<?xml version="1.0" encoding="utf-8" ?>
<packages>
<package id='k-lite-mcp'
name='K-Lite Mega Codec Pack'
revision='510'
priority='50'>
<check type='uninstall' condition='exists' path='K-Lite Mega Codec Pack 5.1.0' /> <install cmd='"%SOFTWARE%\k-lite\klmcodec510.exe" /verysilent /norestart /LoadInf="%SOFTWARE%\k-lite\klmcp.ini"' /> <upgrade cmd='"%SOFTWARE%\k-lite\klmcodec510.exe" /verysilent /norestart /LoadInf="%SOFTWARE%\k-lite\klmcp.ini"' /> <remove cmd='"%ProgramFiles%\K-Lite Codec Pack\unins000.exe" /verysilent /norestart' /> </package> 
</packages>
</source>
==klmcp.ini==
The <code>klmcp.ini</code> file is used for customization and can be generated in advance using the following parameters to the installer:
Anonymous user