Globalmapper

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

Global Mapper is a mapping software, with an particularly useful collection of data conversion tools amongst other benefits.

It can be downloaded here 32bit and 64bit.

The downloaded version is a feature-limited trial version. Purchasing a license key unlocks the full feature set.

The package just installs the software itself and doesn't register the licence. The licence registration info is evidently stored in the user profile and hence at a technical (not legal) level, the licence is applied to the user starting the software.

The installers are InstallShield packages, from which MSIs can be extracted by using the "admin" switch. To create the MSIs, extract them into two separate folders named "x86" and "x64" respectively:

C:\Documents and Settings\Administrator>global_mapper12_setup.exe /a

C:\Documents and Settings\Administrator>global_mapper12_setup_64bit.exe /a

Then rename the x64 MSI to be the same as the x86 MSI. This makes the install command much tidier and gets rid of the double space in the file name.

<package id="globalmapper12" name="Global Mapper 12" revision="20110512.3" priority="10" reboot="false">
	<depends package-id="gis-other-menu" />

	<check type="logical" condition="or"> 
		<check type="uninstall" condition="exists" path="Global Mapper 12"/>
		<check type="uninstall" condition="exists" path="GlobalMapper 12  (64-bit)"/>
	</check> 

	<install cmd='msiexec /i "%SOFTWARE%\GIS\globalmapper12\%PROCESSOR_ARCHITECTURE%\Global Mapper 12.msi" /qn' >
		<exit code="3010" reboot="false" />
	</install>
	
	<!-- optionally tidy up the start menu to taste -->
	<install cmd='%COMSPEC% /c xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\Global Mapper\*" "%ALLUSERSPROFILE%\Start Menu\Programs\GIS - Other" /E /Y /I' />
	<install cmd='%COMSPEC% /C rmdir /S /Q "%ALLUSERSPROFILE%\Start Menu\Programs\Global Mapper\"' />


	<remove  cmd='%COMSPEC% /c if exist "%ALLUSERSPROFILE%\Start Menu\Programs\GIS - Other\Global Mapper.lnk" del /f /Q "%ALLUSERSPROFILE%\Start Menu\Programs\GIS - Other\Global Mapper.lnk"' />

	<!-- remove the 32bit version -->
	<remove cmd="msiexec /qn /x{E8F06EF2-9724-4D2C-A2E2-904F2B66A27E}" >
		<exit code="1605" />

	</remove>

	<!-- remove the 64bit version -->
	<remove cmd="msiexec /qn /x{AAA203F8-CFA4-4FD5-95D3-C98EB71B1210}" >
		<exit code="1605" />
	</remove>

</package>