Faststone

Faststone Image Viewer is an image browser, converter and editor that supports all major graphic formats. It is provided as freeware for personal and educational use. For commercial use, a license is required.

FastStone 4.8 (2013-04-05)

<?xml version="1.0" encoding="UTF-8"?>
<packages>
	<package
		id="faststone"
		name="FastStone"
		revision="%shortversion%"
		reboot="false"
		priority="1">
 		<variable name="version" value="4.8" />
 		<variable name="fileversion" value="48" />
		<check type="uninstall" condition="exists" path="FastStone Image Viewer %version%" />
		<commands>
			<command type="install" cmd='%SOFTWARE%\FastStone\FSViewerSetup%fileversion%.exe /S' />
			<command type="upgrade" include="install" /> 
			<command type="remove" cmd='"%ProgramFiles(x86)%\FastStone Image Viewer\uninst.exe" /S' />
		</commands>
	</package>
</packages>

FastStone 4.6 (2011-06-29)

<?xml version="1.0" encoding="UTF-8"?>
<packages>
 	<package
    		id="faststone"
		name="FastStone"
		revision="%fileversion%"
		reboot="false"
		priority="1">
 		<variable name="shortversion" value="46" />
		<variable name="exesize" value="1769472" />

 		<!-- Note that FastStone reports no Version, so the filesize is only used as check condition -->
		<check type="file" condition="sizeequals" path="%ProgramFiles(x86)%\FastStone Image Viewer\FSViewer.exe" value="%exesize%" />
 		<install cmd='%SOFTWARE%\FastStone\FSViewerSetup%shortversion%.exe /S' />
		<upgrade cmd='%SOFTWARE%\FastStone\FSViewerSetup%shortversion%.exe /S' />
		<remove cmd='"%ProgramFiles(x86)%\FastStone Image Viewer\uninst.exe" /S' />
	</package> 
</packages>