Changes

Jump to: navigation, search

7-Zip

813 bytes added, 22:07, 6 November 2007
MSI installer package.xml
== MSI installer package.xml ==
<PRE>
<package id="7zip"
name="7-zip 4.42"
<remove cmd='msiexec /qn /x{23170F69-40C1-2701-0442-000001000000}' />
</package>
</PRE>
 
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:
 
<PRE>
<?xml version="1.0" encoding="utf-8" ?>
<packages>
 
<package id='7-Zip' name='7-Zip Packer' revision='442' priority='50' reboot='false' >
<!-- 7-Zip file packer -->
<check type='uninstall' condition='exists' path='7-Zip 4.42' />
<install cmd='msiexec /i "%SOFTWARE%\software.free\7-Zip v.4.42\7z442.msi" /qn' />
<remove cmd='msiexec /x "%SOFTWARE%\software.free\7-Zip v.4.42\7z442.msi" /qn' />
<upgrade cmd='msiexec /i "%SOFTWARE%\software.free\7-Zip v.4.42\7z442.msi" /qn' />
</package>
 
</packages>
</PRE>
== MSI installer package.xml for use with existing older exe based installs==
Anonymous user

Navigation menu