Changeset 3771 in osm for applications/editors/josm
- Timestamp:
- 2007-07-27T02:22:07+02:00 (18 years ago)
- Location:
- applications/editors/josm/nsis
- Files:
-
- 1 deleted
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/nsis/josm-setup.sh
r3770 r3771 3 3 ## settings ## 4 4 5 VERSION=0.0. 85 VERSION=0.0.9 6 6 7 7 PROGRAM_FILES="/cygdrive/c/Program Files" 8 8 9 LAUNCH4J_XML="C:\Dokumente und Einstellungen\ulfl\Eigene Dateien\ proj\gps\osm\svn.openstreetmap.org\applications\nsis\launch4j.xml"9 LAUNCH4J_XML="C:\Dokumente und Einstellungen\ulfl\Eigene Dateien\svn.openstreetmap.org\applications\editors\josm\nsis\launch4j.xml" 10 10 11 11 … … 20 20 21 21 # get latest plugin (and supporting files) versions 22 cp ../../ editors/josm/plugins/mappaint/mappaint.jar .23 cp ../../ editors/josm/plugins/namefinder/namefinder.jar .24 #cp ../../ editors/josm/plugins/osmarender/osmarender.jar .25 #cp ../../ editors/josm/plugins/annotation-tester/annotation-tester.jar .26 #cp ../../ editors/josm/plugins/wmsplugin/wmsplugin.jar .22 cp ../../plugins/mappaint/mappaint.jar . 23 cp ../../plugins/namefinder/namefinder.jar . 24 #cp ../../plugins/osmarender/osmarender.jar . 25 #cp ../../plugins/annotation-tester/annotation-tester.jar . 26 #cp ../../plugins/wmsplugin/wmsplugin.jar . 27 27 28 28 # wget -nc http://svn.openstreetmap.org/applications/editors/josm/plugins/mappaint/mappaint.jar … … 43 43 ### create the installer exe ### 44 44 # NSIS - http://nsis.sourceforge.net/Main_Page 45 "$PROGRAM_FILES/nsis/makensis.exe" /DVERSION=$VERSION openstreetmap.nsi45 "$PROGRAM_FILES/nsis/makensis.exe" /DVERSION=$VERSION josm.nsi -
applications/editors/josm/nsis/josm.nsi
r3770 r3771 1 1 ; 2 ; openstreetmap.nsi2 ; josm.nsi 3 3 ; 4 4 … … 14 14 !include "INIStrNS.nsh" 15 15 16 !define DEST " openstreetmap"17 18 InstType " OpenStreetMap(full install)"16 !define DEST "josm" 17 18 InstType "JOSM (full install)" 19 19 20 20 InstType "un.Default (keep Personal Settings and plugins)" … … 32 32 ; ============================================================================ 33 33 ; The name of the installer 34 !define PROGRAM_NAME " OpenStreetMap"34 !define PROGRAM_NAME "JOSM" 35 35 36 36 Name "${PROGRAM_NAME} ${VERSION}" … … 40 40 41 41 ; Uninstall stuff (NSIS 2.08: "\r\n" don't work here) 42 !define MUI_UNCONFIRMPAGE_TEXT_TOP "The following OpenStreetMap installation will be uninstalled. Click 'Next' to continue." 42 !define MUI_UNCONFIRMPAGE_TEXT_TOP "The following JAVA OpenStreetMap editor (JOSM) installation will be uninstalled. Click 'Next' to continue." 43 43 44 44 XPStyle on … … 60 60 !define MUI_FINISHPAGE_NOAUTOCLOSE 61 61 !define MUI_UNFINISHPAGE_NOAUTOCLOSE 62 !define MUI_WELCOMEPAGE_TEXT "This wizard will guide you through the installation of OpenStreetMap.\r\n\r\nBefore starting the installation, make sure any OpenStreetMapapplications are not running.\r\n\r\nClick 'Next' to continue."62 !define MUI_WELCOMEPAGE_TEXT "This wizard will guide you through the installation of the JAVA OpenStreetMap editor (JOSM).\r\n\r\nBefore starting the installation, make sure any JOSM applications are not running.\r\n\r\nClick 'Next' to continue." 63 63 ;!define MUI_FINISHPAGE_LINK "Install WinPcap to be able to capture packets from a network!" 64 64 ;!define MUI_FINISHPAGE_LINK_LOCATION "http://www.winpcap.org" … … 157 157 158 158 ; The default installation directory 159 InstallDir $PROGRAMFILES\ OpenStreetMap\159 InstallDir $PROGRAMFILES\JOSM\ 160 160 161 161 ; See if this is an upgrade; if so, use the old InstallDir as default 162 InstallDirRegKey HKEY_LOCAL_MACHINE SOFTWARE\ OpenStreetMap"InstallDir"162 InstallDirRegKey HKEY_LOCAL_MACHINE SOFTWARE\JOSM "InstallDir" 163 163 164 164 … … 194 194 Goto UpdateIcons.quit_${UPDATEICONS_UNIQUE} 195 195 UpdateIcons.error2_${UPDATEICONS_UNIQUE}: 196 MessageBox MB_OK|MB_ICONINFORMATION "You should install the free 'Microsoft Layer for Unicode' to update OpenStreetMapfile icons"196 MessageBox MB_OK|MB_ICONINFORMATION "You should install the free 'Microsoft Layer for Unicode' to update JOSM file icons" 197 197 Goto UpdateIcons.quit_${UPDATEICONS_UNIQUE} 198 198 UpdateIcons.quit_${UPDATEICONS_UNIQUE}: … … 206 206 ; associate a file extension to an icon 207 207 Function Associate 208 ; $R0 should contain the prefix to associate to OpenStreetMap208 ; $R0 should contain the prefix to associate to JOSM 209 209 Push $R1 210 210 … … 228 228 Goto un.unlink.end 229 229 un.unlink.doUnlink: 230 ; The extension is associated with OpenStreetMapso, we must destroy this!230 ; The extension is associated with JOSM so, we must destroy this! 231 231 DeleteRegKey HKCR $R0 232 232 un.unlink.end: … … 261 261 ; Write the uninstall keys for Windows 262 262 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\OSM" "DisplayVersion" "${VERSION}" 263 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\OSM" "DisplayName" " OpenStreetMap${VERSION}"263 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\OSM" "DisplayName" "JOSM ${VERSION}" 264 264 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\OSM" "UninstallString" '"$INSTDIR\uninstall.exe"' 265 265 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\OSM" "Publisher" "The OpenStreetMap developer community, http://www.openstreetmap.org/"
Note:
See TracChangeset
for help on using the changeset viewer.