Xvidcodecs

This is a silent installer and uninstaller for XviD Codecs. More infos from here.

<package id="xvidcodec" name="xvid codec" revision="1" reboot="false" priority="0">
        <check type="uninstall" condition="exists" path="Xvid 1.1.2 final uninstall" />
        <install cmd='"%PACKAGES%\XviD-1.1.2-01112006.exe" /VERYSILENT' />
        <upgrade cmd='"%PACKAGES%\XviD-1.1.2-01112006.exe" /VERYSILENT' />
        <remove cmd='"%PROGRAMFILES%\Xvid\unins000.exe" /SILENT' />
</package>

Updated info regarding the Xvid 1.3.1 installer - looks like a new way of packaging things was used.

<package
	id="Xvid"
	name="Xvid Codec for Windows"
	revision="%version%"
	reboot="false"
	priority="0">
 
        <variable name="version" value="1.3.4" />
        <variable name="build" value="20150621" />

        <check type="logical" condition="and">
          <check type="uninstall" condition="exists" path="Xvid Video Codec" />
          <check architecture="x86" type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Xvid\uninstall.exe" value="%version%" />
          <check architecture="x64" type="file" condition="versiongreaterorequal" path="%PROGRAMFILES(X86)%\Xvid\uninstall.exe" value="%version%" />
        </check>
		
	<install cmd='"%SOFTWARE%\xvid\Xvid-%version%-%build%.exe" --mode unattended --AutoUpdater no --unattendedmodeui none --decode_divx 1 --decode_3ivx 1 --decode_other 1'/>
	
        <upgrade include="install" />

	<remove cmd='"%PROGRAMFILES%\Xvid\uninstall.exe" --mode unattended --unattendedmodeui none'/>
</package>