Changeset 3771 in osm


Ignore:
Timestamp:
2007-07-27T02:22:07+02:00 (17 years ago)
Author:
ulf
Message:

update files according to the recent dir move

Location:
applications/editors/josm/nsis
Files:
1 deleted
2 moved

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/nsis/josm-setup.sh

    r3770 r3771  
    33## settings ##
    44
    5 VERSION=0.0.8
     5VERSION=0.0.9
    66
    77PROGRAM_FILES="/cygdrive/c/Program Files"
    88
    9 LAUNCH4J_XML="C:\Dokumente und Einstellungen\ulfl\Eigene Dateien\proj\gps\osm\svn.openstreetmap.org\applications\nsis\launch4j.xml"
     9LAUNCH4J_XML="C:\Dokumente und Einstellungen\ulfl\Eigene Dateien\svn.openstreetmap.org\applications\editors\josm\nsis\launch4j.xml"
    1010
    1111
     
    2020
    2121# 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 .
     22cp ../../plugins/mappaint/mappaint.jar .
     23cp ../../plugins/namefinder/namefinder.jar .
     24#cp ../../plugins/osmarender/osmarender.jar .
     25#cp ../../plugins/annotation-tester/annotation-tester.jar .
     26#cp ../../plugins/wmsplugin/wmsplugin.jar .
    2727
    2828# wget -nc http://svn.openstreetmap.org/applications/editors/josm/plugins/mappaint/mappaint.jar
     
    4343### create the installer exe ###
    4444# NSIS - http://nsis.sourceforge.net/Main_Page
    45 "$PROGRAM_FILES/nsis/makensis.exe" /DVERSION=$VERSION openstreetmap.nsi
     45"$PROGRAM_FILES/nsis/makensis.exe" /DVERSION=$VERSION josm.nsi
  • applications/editors/josm/nsis/josm.nsi

    r3770 r3771  
    11;
    2 ; openstreetmap.nsi
     2; josm.nsi
    33;
    44
     
    1414!include "INIStrNS.nsh"
    1515
    16 !define DEST "openstreetmap"
    17 
    18 InstType "OpenStreetMap (full install)"
     16!define DEST "josm"
     17
     18InstType "JOSM (full install)"
    1919
    2020InstType "un.Default (keep Personal Settings and plugins)"
     
    3232; ============================================================================
    3333; The name of the installer
    34 !define PROGRAM_NAME "OpenStreetMap"
     34!define PROGRAM_NAME "JOSM"
    3535
    3636Name "${PROGRAM_NAME} ${VERSION}"
     
    4040
    4141; 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."
    4343
    4444XPStyle on
     
    6060!define MUI_FINISHPAGE_NOAUTOCLOSE
    6161!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 OpenStreetMap applications 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."
    6363;!define MUI_FINISHPAGE_LINK "Install WinPcap to be able to capture packets from a network!"
    6464;!define MUI_FINISHPAGE_LINK_LOCATION "http://www.winpcap.org"
     
    157157
    158158; The default installation directory
    159 InstallDir $PROGRAMFILES\OpenStreetMap\
     159InstallDir $PROGRAMFILES\JOSM\
    160160
    161161; See if this is an upgrade; if so, use the old InstallDir as default
    162 InstallDirRegKey HKEY_LOCAL_MACHINE SOFTWARE\OpenStreetMap "InstallDir"
     162InstallDirRegKey HKEY_LOCAL_MACHINE SOFTWARE\JOSM "InstallDir"
    163163
    164164
     
    194194        Goto UpdateIcons.quit_${UPDATEICONS_UNIQUE}
    195195UpdateIcons.error2_${UPDATEICONS_UNIQUE}:
    196         MessageBox MB_OK|MB_ICONINFORMATION "You should install the free 'Microsoft Layer for Unicode' to update OpenStreetMap file icons"
     196        MessageBox MB_OK|MB_ICONINFORMATION "You should install the free 'Microsoft Layer for Unicode' to update JOSM file icons"
    197197        Goto UpdateIcons.quit_${UPDATEICONS_UNIQUE}
    198198UpdateIcons.quit_${UPDATEICONS_UNIQUE}:
     
    206206; associate a file extension to an icon
    207207Function Associate
    208         ; $R0 should contain the prefix to associate to OpenStreetMap
     208        ; $R0 should contain the prefix to associate to JOSM
    209209        Push $R1
    210210
     
    228228        Goto un.unlink.end
    229229un.unlink.doUnlink:
    230         ; The extension is associated with OpenStreetMap so, we must destroy this!
     230        ; The extension is associated with JOSM so, we must destroy this!
    231231        DeleteRegKey HKCR $R0
    232232un.unlink.end:
     
    261261; Write the uninstall keys for Windows
    262262WriteRegStr 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}"
     263WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\OSM" "DisplayName" "JOSM ${VERSION}"
    264264WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\OSM" "UninstallString" '"$INSTDIR\uninstall.exe"'
    265265WriteRegStr 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.