Changes

Windirstat

593 bytes added, 20:01, 10 June 2014
Supports x64. Delays until the uninstaller has been removed (since uninstaller is asynchronous WPKG's checks think it has failed otherwise).
<source lang="xml">
<!-- http://windirstat.info/ -->
<package
id="windirstat"
name="WinDirStat Disk Usage Viewer"
revision="12"
reboot="false"
priority="1">
<variable architecture="x64" name="progfiles" value="%PROGRAMFILES(X86)%" /> <variable architecture="x86" name="progfiles" value="%PROGRAMFILES%" /> <check type="file" condition="versionequalto" path="%PROGRAMFILESprogfiles%\Windirstat\windirstat.exe" value="1.1.2.80" /> <install cmd='%SOFTWARE%\windirstat\windirstat1_1_2_setup.exe /S' /> <upgrade include='install' />  <remove cmd='"%SOFTWAREprogfiles%\windirstat\windirstat1_1_2_setupuninstall.exe " /S' /> <!-- The above is asynchronous. We will attempt to delay for max 30 seconds, or until the uninstaller vanishes. Whichever comes first. --> <remove cmd='%COMSPEC% /C for /L %X in (1,1,30) do if exist "%PROGRAMFILESprogfiles%\windirstat\uninstall.exe" /S@ping microsoft.com -n 1 -w 1000>nul' > <exit code="1" /> </remove></package>
</source>
 
Revision 2 tested with:
* Windows XP 32 bit
* Windows 7 64 bit
* Windows 7 32 bit
[[Category: Silent Installers]]
Anonymous user