Changes

7-Zip

29 bytes removed, 20:45, 8 October 2016
m
7-Zip 16.04 MSI installer (32-bit and 64-bit versions): remove OR condition, use architecture attribute instead
<source lang="xml">
<package
id='7zip'
name='7-Zip'
revision="%version%"
reboot="false"
priority="1">
<package id='7zip' variable name='7-Zip' revision="%version%"value="16.04" /> reboot <variable name="falsefilever" priorityvalue="701604"/>
<variable namecheck type="uninstall" condition="exists" path="7-Zip %version%" valuearchitecture="16.04x86" /> <variable namecheck type="fileveruninstall" condition="exists" path="7-Zip %version% (x64 edition)" valuearchitecture="1604x64" />
<check type="logical" condition="or"> <check type="uninstall" condition="exists" path="7-Zip %version%" /> <check type="uninstall" condition="exists" path="7-Zip %version% (x64 edition)" /> </check> <install cmd='msiexec /qn /norestart /i %SOFTWARE%\7zip\7z%filever%.msi' architecture="x86" /> <install cmd='msiexec /qn /norestart /i %SOFTWARE%\7zip\7z%filever%-x64.msi' architecture="x64" /> <install cmd="%comspec% /c %SOFTWARE%\7zip\7zext.bat"><exit code="any"/></install> <upgrade include="remove" /> <upgrade include="install" />
<downgrade upgrade include="remove" /> <downgrade upgrade include="install" />
<downgrade include="remove cmd" /> <downgrade include='wmic product where "name like &apos;7-Zip%%&apos;install" call uninstall' />
<remove cmd='wmic product where "name like &apos;7-Zip%%&apos;" call uninstall' />  </package>
</source>
11
edits