Difference between revisions of "Img2gps"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Created page with 'IMG2GPS is a utility which allow Garmin .img file to be uploaded to a Garmin GPS, without needing to use Garmin's MapSource software. This means that it is possible to use "hoema…')
 
m
Line 1: Line 1:
 
IMG2GPS is a utility which allow Garmin .img file to be uploaded to a Garmin GPS, without needing to use Garmin's MapSource software. This means that it is possible to use "hoemade" .img files such as those generated using OpenStreetMap data.
 
IMG2GPS is a utility which allow Garmin .img file to be uploaded to a Garmin GPS, without needing to use Garmin's MapSource software. This means that it is possible to use "hoemade" .img files such as those generated using OpenStreetMap data.
  
It can be [downloaded here|http://www.img2gps.co.cc/]
+
It can be [http://www.img2gps.co.cc/ | downloaded here]
  
 
The installer is an InnoSetup installer, so it is possible to create a .inf file with your preferences, by using the /saveinf flag. (See [http://unattended.sourceforge.net/InnoSetup_Switches_ExitCodes.html])
 
The installer is an InnoSetup installer, so it is possible to create a .inf file with your preferences, by using the /saveinf flag. (See [http://unattended.sourceforge.net/InnoSetup_Switches_ExitCodes.html])
Line 8: Line 8:
  
 
<source lang="xml">
 
<source lang="xml">
 
+
<package id="gps-tools-menu" name="gps-tools-menu" revision="20101119.3" reboot="false" priority="0">
<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" />
<variable name="dirPath" value="%ALLUSERSPROFILE%\Start Menu\Programs\GPS Tools" />
+
<check type="execute" path='%COMSPEC% /C if exist "%dirPath%" (exit /B 0) else (exit /B 1) ' condition="exitcodeequalto" value="0"/>
<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%"' />
<install cmd='%COMSPEC% /C mkdir "%dirPath%"' />
+
<remove cmd='%COMSPEC% /C rmdir /S /Q  "%dirPath%"' />
<remove cmd='%COMSPEC% /C rmdir /S /Q  "%dirPath%"' />
+
</package>
</package>
+
<package id="img2gps" name="img2gps" revision="20100917.1" reboot="false" priority="0">
<package id="img2gps" name="img2gps" revision="20100917.1" reboot="false" priority="0">
+
<check type="uninstall" condition="exists" path="Img2gps v2.81" />
<!-- <check type="uninstall" condition="exists" path="Microsoft Office Enterprise 2007" /> -->
+
<install cmd="%SOFTWARE%\img2gps\img2gps_281_setup.exe /loadinf=%SOFTWARE%\img2gps\ma-install2.inf /sp- /verysilent /norestart /SUPPRESSMSGBOXES" />
<check type="uninstall" condition="exists" path="Img2gps v2.81" />
+
<install cmd="%comspec% /c del /Q /F &quot;%ALLUSERSPROFILE%\Start Menu\Programs\GPS Tools\Uninstall Img2gps.lnk&quot;" />
<install cmd="%SOFTWARE%\img2gps\img2gps_281_setup.exe /loadinf=%SOFTWARE%\img2gps\ma-install2.inf /sp- /verysilent /norestart /SUPPRESSMSGBOXES" />
+
<upgrade cmd="%programfiles%\Img2gps\unins000.exe /sp- /veryslient /norestart /SUPPRESSMSGBOXES /nocancel" />
<install cmd="%comspec% /c del /Q /F &quot;%ALLUSERSPROFILE%\Start Menu\Programs\GPS Tools\Uninstall Img2gps.lnk&quot;" />
+
<upgrade cmd="%SOFTWARE%\img2gps\img2gps_281_setup.exe /loadinf=ma-install2.inf /sp- /verysilent /norestart /SUPPRESSMSGBOXES" />
<upgrade cmd="%programfiles%\Img2gps\unins000.exe /sp- /veryslient /norestart /SUPPRESSMSGBOXES /nocancel" />
+
<remove cmd="%programfiles%\Img2gps\unins000.exe /sp- /veryslient /norestart /SUPPRESSMSGBOXES /nocancel" />
<upgrade cmd="%SOFTWARE%\img2gps\img2gps_281_setup.exe /loadinf=ma-install2.inf /sp- /verysilent /norestart /SUPPRESSMSGBOXES" />
+
</package>
<remove cmd="%programfiles%\Img2gps\unins000.exe /sp- /veryslient /norestart /SUPPRESSMSGBOXES /nocancel" />
+
</package>
+
 
</source>
 
</source>
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Revision as of 14:08, 23 November 2010

IMG2GPS is a utility which allow Garmin .img file to be uploaded to a Garmin GPS, without needing to use Garmin's MapSource software. This means that it is possible to use "hoemade" .img files such as those generated using OpenStreetMap data.

It can be | downloaded here

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" />
	<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="img2gps" name="img2gps" revision="20100917.1" reboot="false" priority="0">
	<check type="uninstall" condition="exists" path="Img2gps v2.81" />
	<install cmd="%SOFTWARE%\img2gps\img2gps_281_setup.exe /loadinf=%SOFTWARE%\img2gps\ma-install2.inf /sp- /verysilent /norestart /SUPPRESSMSGBOXES" />
	<install cmd="%comspec% /c del /Q /F &quot;%ALLUSERSPROFILE%\Start Menu\Programs\GPS Tools\Uninstall Img2gps.lnk&quot;" />
	<upgrade cmd="%programfiles%\Img2gps\unins000.exe /sp- /veryslient /norestart /SUPPRESSMSGBOXES /nocancel" />
	<upgrade cmd="%SOFTWARE%\img2gps\img2gps_281_setup.exe /loadinf=ma-install2.inf /sp- /verysilent /norestart /SUPPRESSMSGBOXES" />
	<remove cmd="%programfiles%\Img2gps\unins000.exe /sp- /veryslient /norestart /SUPPRESSMSGBOXES /nocancel" />
</package>