Difference between revisions of "7-Zip"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(MSI package)
Line 2: Line 2:
  
  
== MSI package ==
+
== MSI installer package.xml ==
  
 
<pre>
 
<pre>
 
<package id="7-zip" name="7-zip 4.42" revision="1" reboot="false" priority="0">
 
<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" />
 
   <check type="uninstall" condition="exists" path="7-Zip 4.42" />
   <install cmd='%WINDIR%\system32\cmd /c start /wait /d %WINDIR% msiexec /qn /norestart /i %SOFTWARE%\7-zip\7z442.msi' />
+
   <install cmd='cmd.exe /c start /wait /d %WINDIR% msiexec /qn /norestart /i %SOFTWARE%\7-zip\7z442.msi' />
   <upgrade cmd='%WINDIR%\system32\cmd /c start /wait /d %WINDIR% msiexec /qn /norestart /i %SOFTWARE%\7-zip\7z442.msi' />
+
   <upgrade cmd='cmd.exe /c start /wait /d %WINDIR% msiexec /qn /norestart /i %SOFTWARE%\7-zip\7z442.msi' />
   <remove cmd='%WINDIR%\system32\cmd /c start /wait /d %WINDIR% msiexec /qn /norestart /x %SOFTWARE%\7-zip\7z442.msi' />
+
   <remove cmd='cmd.exe /c start /wait /d %WINDIR% msiexec /qn /norestart /x %SOFTWARE%\7-zip\7z442.msi' />
 
</package>
 
</package>
 
</pre>
 
</pre>
  
== EXE package ==
+
== EXE installer package.xml ==
  
 
<pre>
 
<pre>
Line 31: Line 31:
 
</pre>
 
</pre>
  
== 7-Zip installer options ==
+
== 7-Zip EXE installer options ==
  
 
"Use the "/S" parameter to do a silent installation and the "/D=dir" parameter to specify the "output directory". These options are case-sensitive. 7-Zip uses the NSIS installer by Nullsoft." - http://www.7-zip.org/faq.html
 
"Use the "/S" parameter to do a silent installation and the "/D=dir" parameter to specify the "output directory". These options are case-sensitive. 7-Zip uses the NSIS installer by Nullsoft." - http://www.7-zip.org/faq.html

Revision as of 13:23, 23 October 2006

A free file compressor/extractor: www.7-zip.org


MSI installer package.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" />
  <install cmd='cmd.exe /c start /wait /d %WINDIR% msiexec /qn /norestart /i %SOFTWARE%\7-zip\7z442.msi' />
  <upgrade cmd='cmd.exe /c start /wait /d %WINDIR% msiexec /qn /norestart /i %SOFTWARE%\7-zip\7z442.msi' />
  <remove cmd='cmd.exe /c start /wait /d %WINDIR% msiexec /qn /norestart /x %SOFTWARE%\7-zip\7z442.msi' />
</package>

EXE installer package.xml

<package
    id="7zip"
    name="7-Zip"     revision="432"
    reboot="false"     priority="0">
    <check type="file" condition="exists" path="%PROGRAMFILES%\7-Zip\7zFM.exe" />

    <install cmd='%SOFTWARE%\7-zip\7z432.exe /S'>
    <exit code="0" />
    </install>
    <remove cmd='"%PROGRAMFILES%\7-Zip\Uninstall.exe" /S'>
        <exit code="0"/>
    </remove>
</package>

7-Zip EXE installer options

"Use the "/S" parameter to do a silent installation and the "/D=dir" parameter to specify the "output directory". These options are case-sensitive. 7-Zip uses the NSIS installer by Nullsoft." - http://www.7-zip.org/faq.html

Links