GeoSetter

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

GeoSetter "is a freeware tool for Windows (XP or higher) for showing and changing geo data and other metadata (IPTC/XMP/Exif) of image files (e.g. images taken by digital cameras)."

To install v3.3.60, download this setup file

The installer is an InnoSetup installer, so it is possible to create a .inf file with your preferences, by using the /saveinf flag. (See [1])

I include a very simple extra package to add a "GPS Tools" folder in the start menu that can be used by multiple other packages.

<package id="gps-tools-menu" name="gps-tools-menu" revision="20101119.3" reboot="false" priority="0">
	<variable name="dirPath" value="%ALLUSERSPROFILE%\Start Menu\Programs\GPS Tools" />
	<!--File exist check doesn't seem to work for directories -->
	<check type="execute" path='%COMSPEC% /C if exist "%dirPath%" (exit /B 0) else (exit /B 1) ' condition="exitcodeequalto" value="0"/>
	<install cmd='%COMSPEC% /C mkdir "%dirPath%"' />
	<remove cmd='%COMSPEC% /C rmdir /S /Q  "%dirPath%"' />
</package>
<package id="geosetter" name="geosetter" revision="20101118.1" reboot="false" priority="0">
	<!-- No need to check for a version number since this is included in the Name -->
	<depends package-id="gps-tools-menu" />
	<check type="uninstall" condition="exists" path="GeoSetter 3.3.60" />
	<install cmd="%SOFTWARE%\geosetter\geosetter_setup.exe /sp- /verysilent /norestart /SUPPRESSMSGBOXES /loadinf=%SOFTWARE%\geosetter\ma-geosetter2.inf" />
	<upgrade cmd="&quot;%programfiles%\GeoSetter\unins000.exe&quot; /sp- /verysilent /norestart /SUPPRESSMSGBOXES /nocancel" />
	<upgrade cmd="%SOFTWARE%\geosetter\geosetter_setup.exe /sp- /verysilent /norestart /SUPPRESSMSGBOXES /loadinf=%SOFTWARE%\geosetter\ma-geosetter2.inf" />
	<remove cmd="&quot;%programfiles%\GeoSetter\unins000.exe&quot; /sp- /verysilent /norestart /SUPPRESSMSGBOXES /nocancel" />
</package>