ScreenshotCaptor
From WPKG | Open Source Software Deployment and Distribution
A donationware tool for grabbing, manipulating, annotating, and sharing screenshots www.donationcoder.com
Inno Setup package.xml
This package should work for both Windows XP (32bit) and Windows 7 (32 and 64bit).
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id='screencaptor'
name='Screenshot Captor'
revision='%PKG_VERSION%'
priority='10'
reboot='false' >
<variable name="PKG_VERSION" value="4.03.00" />
<variable name="PKG_DESTINATION" value="%PROGRAMFILES%\ScreenshotCaptor" architecture="x86" />
<variable name="PKG_DESTINATION" value="%PROGRAMFILES(x86)%\ScreenshotCaptor" architecture="x64" />
<variable name="PKG_UNINSTALLER" value="%PKG_DESTINATION%\unins000.exe" />
<check type="logical" condition="and">
<check type='uninstall' condition='exists' path='Screenshot Captor %PKG_VERSION%' />
<check type='file' condition='exists' path='%PKG_UNINSTALLER%' />
</check>
<install cmd='"%SOFTWARE%\ScreenCaptor\ScreenshotCaptorSetup-%PKG_VERSION%.exe" /VERYSILENT /NORESTART' timeout="600" />
<!--
Add our license key file.
-->
<install cmd='%COMSPEC% /c copy /y /v "%SOFTWARE%\ScreenCaptor\DonationCoder_ScreenshotCaptor_Key.dat" "%PKG_DESTINATION%"' timeout="10" />
<upgrade include="install" />
<remove cmd='taskkill /f /im screenshotcaptor.exe' timeout="30" >
<exit code='0' />
<exit code='1' />
<exit code='128' />
</remove>
<remove cmd='"%PKG_UNINSTALLER%" /VERYSILENT /NORESTART' />
</package>
</packages>