Difference between revisions of "Xvidcodecs"
From WPKG | Open Source Software Deployment and Distribution
(Check added, mandatory installer parameters --decode_divx 1 --decode_3ivx 1 --decode_other 1 added) |
|||
Line 20: | Line 20: | ||
reboot="false" | reboot="false" | ||
priority="0"> | priority="0"> | ||
+ | |||
+ | <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-1.3.1-20110324.exe" --mode unattended --AutoUpdater no --unattendedmodeui none'/> | + | <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'/> |
− | <upgrade | + | |
+ | <upgrade include="install" /> | ||
+ | |||
<remove cmd='"%PROGRAMFILES%\Xvid\uninstall.exe" --mode unattended --unattendedmodeui none'/> | <remove cmd='"%PROGRAMFILES%\Xvid\uninstall.exe" --mode unattended --unattendedmodeui none'/> | ||
</package> | </package> |
Revision as of 06:35, 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 1.3.1"
revision="1.3.1"
reboot="false"
priority="0">
<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-1.3.1-20110324.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>