Changes

Jump to: navigation, search

Shape viewer

1,848 bytes added, 11:25, 18 October 2012
Created page with "Shape Viewer is a basic free viewer for ESRI's shapefile. Shape Viewer can be downloaded [http://www.qarah.com/shapeviewer/ here]. See the [http://en.wikipedia.org/wiki/Shapefile..."
Shape Viewer is a basic free viewer for ESRI's shapefile. Shape Viewer can be downloaded [http://www.qarah.com/shapeviewer/ here]. See the [http://en.wikipedia.org/wiki/Shapefile wikipedia entry] for more info about shapefiles.

<source lang="xml">
<packages>
<package id="shapefileviewer" name="Shapefile Viewer" revision="20120810.2" priority="10" reboot="false" >

<depends package-id="vb6runtime" os="professional.+5\.1\.\d{4}" />

<variable name="installdir" value='%PROGRAMFILES%\shapefileviewer' />

<check type="logical" condition="and">
<check type="file" condition="exists" path='%installdir%\ShapeViewer.exe' />
<check type="file" condition="exists" path='%ALLUSERSPROFILE%\Start Menu\Programs\Shapefile Viewer.lnk' />
</check>

<!-- Create the folders in programfiles -->
<install cmd='%COMSPEC% /C mkdir "%installdir%"' >
<exit code="0" />
<exit code="1" />
</install>
<!-- copy all the excutables -->
<install cmd='%COMSPEC% /C xcopy /Q /E /Y /R /I "%SOFTWARE%\GIS\shapefileviewer\*" "%installdir%" >nul' />
<!-- create the start menu shortcut -->
<install architecture="x86" cmd='"%SOFTWARE%\wpkg\tools\3rd-party\nircmd-x32\nircmdc.exe" shortcut "%installdir%\ShapeViewer.exe" "~$folder.common_start_menu$\Programs" "Shapefile Viewer"'>
<exit code="4206857" />
</install>
<install architecture="x64" cmd='"%SOFTWARE%\wpkg\tools\3rd-party\nircmd-x64\nircmdc.exe" shortcut "%installdir%\ShapeViewer.exe" "~$folder.common_start_menu$\Programs" "Shapefile Viewer"'>
<exit code="1073756732" />
</install>

<upgrade include="remove" />
<upgrade include="install" />

<remove cmd='%comspec% /c del /Q /F "%ALLUSERSPROFILE%\Start Menu\Programs\Shapefile Viewer.lnk"' />
<remove cmd='%COMSPEC% /C rmdir /S /Q "%installdir%"' />

</package>
</packages>
</source>

Navigation menu