Changes

Jump to: navigation, search

7-Zip

80 bytes added, 12:44, 4 February 2008
m
no edit summary
== MSI installer package.xml ==
<PREsource lang="xml">
<package id="7zip"
name="7-zip 4.57"
<remove cmd='msiexec /qn /x{23170F69-40C1-2701-0457-000002000000}' />
</package>
</PREsource>
Alternatively to the use of the GUID you might use the MSI file for uninstall as well. I prefer this method since some packagers tend to create new GUID strings on each release - so you need to search for the right ID at each release. Using the MSI file obsoletes this step:
<PREsource lang="xml">
<?xml version="1.0" encoding="utf-8" ?>
<packages>
</packages>
</PREsource>
== MSI installer package.xml for use with existing older exe based installs==
Use this if you have existing .exe based installs of 7-Zip (such as 4.20) and you would like to uninstall them before switching to an .msi based install.
<source lang="xml">
<package id="7-zip" name="7-zip 4.42" revision="1" reboot="false" priority="0">
<check type="uninstall" condition="exists" path="7-Zip 4.42" />
<remove cmd='msiexec /qn /norestart /x %SOFTWARE%\7-Zip\7z442.msi' />
</package>
</source>
== EXE installer package.xml ==
<presource lang="xml">
<package
id="7zip"
</remove>
</package>
</presource>
== 7-Zip EXE installer options ==

Navigation menu