= Version 1.6 =
<source lang="xml">
<package id="qgis16" name="QGIS16" revision="20111005.3" priority="10" reboot="false"> <check type="uninstall" condition="exists" path="Quantum GIS Copiapo 1.6.0"/>
<install cmd="%SOFTWARE%\GIS\QGIS\QGIS-OSGeo4W-1.6.0-14615-Setup-2.exe /S"/>
<upgrade cmd='%COMSPEC% /c if not exist "%PROGRAMFILES%\Quantum GIS Copiapo\bin\qgis.bat" %SOFTWARE%\GIS\QGIS\QGIS-OSGeo4W-1.6.0-14615-Setup-2.exe /S' />
<remove cmd='"%PROGRAMFILES%\Quantum GIS Copiapo\Uninstall-QGIS.exe" /S'> <exit code="0" reboot="delayed" /> </remove> <!-- The Uninstall program returns before it has completed. As an ugly hack we force wpkg to wait for 10mins to give it enought time to complete. The sleep tool is from the Windows Resource Kit (http://ss64.com/nt/sleep.html) --> <remove cmd='%COMSPEC% /c "%SOFTWARE%\wpkg\tools\sleep.exe" 600' /> </package>
</source>