Changeset 17700 in osm


Ignore:
Timestamp:
2009-09-19T23:59:00+02:00 (15 years ago)
Author:
ulf
Message:

As there were some discussion about the windows installer:
Instead of integrating the josm jar file into the josm.exe file, install it as a separate file.
This way it might be easier for others to understand what the installer is doing.

Location:
applications/editors/josm/nsis
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/nsis/josm.nsi

    r14201 r17700  
    288288SetOutPath $INSTDIR
    289289File "josm.exe"
     290File "..\core\dist\josm-custom.jar"
    290291
    291292; XXX - should be provided/done by josm.jar itself and not here!
     
    427428SetShellVarContext current
    428429
    429 Delete "$INSTDIR\josm.exe"
     430Delete "$INSTDIR\josm-custom.jar"
    430431IfErrors 0 NoJOSMErrorMsg
    431         MessageBox MB_OK $(un.JOSM_IN_USE_ERROR) IDOK 0 ;skipped if josm.exe removed
     432        MessageBox MB_OK $(un.JOSM_IN_USE_ERROR) IDOK 0 ;skipped if josm.jar removed
    432433        Abort $(un.JOSM_IN_USE_ERROR)
    433434NoJOSMErrorMsg:
     435Delete "$INSTDIR\josm.exe"
    434436Delete "$INSTDIR\imageformats\qjpeg4.dll"
    435437RMDir "$INSTDIR\imageformats"
  • applications/editors/josm/nsis/launch4j.xml

    r14517 r17700  
    11<launch4jConfig>
    2   <dontWrapJar>false</dontWrapJar>
     2  <dontWrapJar>true</dontWrapJar>
    33  <headerType>0</headerType>
    4   <jar>../core/dist/josm-custom.jar</jar>
     4  <jar>josm-custom.jar</jar>
    55  <outfile>josm.exe</outfile>
    66  <errTitle></errTitle>
  • applications/editors/josm/nsis/locale/english.nsh

    r14201 r17700  
    4848!insertmacro JOSM_MACRO_DEFAULT_STRING un.JOSM_FULL_UNINSTALL "All (remove all)"
    4949
    50 !insertmacro JOSM_MACRO_DEFAULT_STRING un.JOSM_IN_USE_ERROR "Please note: josm.exe could not be removed, it's probably in use!"
     50!insertmacro JOSM_MACRO_DEFAULT_STRING un.JOSM_IN_USE_ERROR "Please note: josm could not be removed, it's probably in use!"
    5151!insertmacro JOSM_MACRO_DEFAULT_STRING un.JOSM_INSTDIR_ERROR "Please note: The directory $INSTDIR could not be removed!"
    5252
  • applications/editors/josm/nsis/locale/german.nsh

    r14201 r17700  
    4545!insertmacro JOSM_MACRO_DEFAULT_STRING un.JOSM_FULL_UNINSTALL "Alles (alles entfernen)"
    4646
    47 !insertmacro JOSM_MACRO_DEFAULT_STRING un.JOSM_IN_USE_ERROR "Achtung: josm.exe konnte nicht entfernt werden, möglicherweise wird es noch benutzt!"
     47!insertmacro JOSM_MACRO_DEFAULT_STRING un.JOSM_IN_USE_ERROR "Achtung: josm konnte nicht entfernt werden, möglicherweise wird es noch benutzt!"
    4848!insertmacro JOSM_MACRO_DEFAULT_STRING un.JOSM_INSTDIR_ERROR "Achtung: Das Verzeichnis $INSTDIR konnte nicht entfernt werden!"
    4949
Note: See TracChangeset for help on using the changeset viewer.