Difference between revisions of "Xvidcodecs"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Check added, mandatory installer parameters --decode_divx 1 --decode_3ivx 1 --decode_other 1 added)
m (%version% and %build% introduced)
 
Line 16: Line 16:
 
<package
 
<package
 
id="Xvid"
 
id="Xvid"
name="Xvid 1.3.1"
+
name="Xvid Codec for Windows"
revision="1.3.1"
+
revision="%version%"
 
reboot="false"
 
reboot="false"
 
priority="0">
 
priority="0">
 +
 +
        <variable name="version" value="1.3.4" />
 +
        <variable name="build" value="20150621" />
  
 
         <check type="logical" condition="and">
 
         <check type="logical" condition="and">
Line 27: Line 30:
 
         </check>
 
         </check>
 
 
<install cmd='"%SOFTWARE%\xvid\Xvid-1.3.1-20110324.exe" --mode unattended --AutoUpdater no --unattendedmodeui none --decode_divx 1 --decode_3ivx 1 --decode_other 1'/>
+
<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" />
 
         <upgrade include="install" />

Latest revision as of 10:32, 12 October 2015

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>