Cccp

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

CCCP (Combined Community Codec Pack ) silent install package.

This excellent codec pack installs just the what is necessary to play any common codec (besides Quicktime and Real).

It uses DirectShow so that means Windows Media Player is no longer useless but can actually play stuff!

2015-10-18 64/32-bit both version

<package 
	id="cccp"
	name="The Combined Community Codec Pack"
	revision="%PKG_VERSION%"
	reboot="false"
	priority="0">

	<variable name="PKG_VERSION"		value="2015-10-18" />
	<variable name="FILE_VERSION"		value="51.1052.0.0" />
	<variable name="PKG_SOURCE"		value="%SOFTWARE%\CCCP" />
	<variable name="PKG_NAME"		value="Combined-Community-Codec-Pack-%PKG_VERSION%.exe" architecture="x86" />
	<variable name="PKG_NAME"		value="Combined-Community-Codec-Pack-64bit-%PKG_VERSION%.exe" architecture="x64" />
	<variable name="PKG_INSTALL_SWITCH"	value="/VERYSILENT /SUPPRESSMSGBOXES /LOG /NORESTART /TYPE=Full" />
	<variable name="PKG_REMOVE_SWITCH"	value="/VERYSILENT /SUPPRESSMSGBOXES /LOG /NORESTART" />
	<variable name="PKG_DESTINATION"	value="%PROGRAMFILES%\Combined Community Codec Pack" architecture="x86" />
	<variable name="PKG_DESTINATION"	value="%PROGRAMFILES%\Combined Community Codec Pack 64bit" architecture="x64" />

	<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION%\CCCP-Settings.exe" value="%FILE_VERSION%" />

	<install cmd='"%PKG_SOURCE%\%PKG_NAME%" %PKG_INSTALL_SWITCH%' />

	<upgrade include="install" />

	<remove cmd='"%PKG_DESTINATION%\unins000.exe" %PKG_REMOVE_SWITCH%' />

</package>

2009-09-09 32-bit only version

The /MERGETASKS=RegisterExtWMP means video files that CCCP allows you to view will open with Windows Media Player by default

I also place a shortcut directly in the Start Menu for users to access Media Player Classic should they want.

<package id="codecs" 
           name="CCCP Codecs" 
           revision="4" 
           reboot="false" 
           priority="99">

           <check type="uninstall" condition="exists" path="Combined Community Codec Pack 2009-09-09" />

           <install cmd='"%SOFTWARE%\codecs\CCCP-2009-09-09.exe" /VERYSILENT /NORESTART /NOICONS /MERGETASKS=RegisterExtWMP' />
           <install cmd='%COMSPEC% /c xcopy /E /R /Y "%SOFTWARE%\codecs\Media Player Classic.lnk" "%ALLUSERSPROFILE%\Start Menu\Programs\"' />

           <upgrade cmd='"%ProgramFiles%\Combined Community Codec Pack\unins000.exe" /NORESTART /SILENT' />
           <upgrade cmd='"%SOFTWARE%\codecs\CCCP-2009-09-09.exe" /VERYSILENT /NORESTART /NOICONS /MERGETASKS=RegisterExtWMP' />
           <upgrade cmd='%COMSPEC% /c xcopy /E /R /Y "%SOFTWARE%\codecs\Media Player Classic.lnk" "%ALLUSERSPROFILE%\Start Menu\Programs\"' />

           <remove cmd='"%ProgramFiles%\Combined Community Codec Pack\unins000.exe" /NORESTART /SILENT' />

</package>