| Line | |
|---|
| 1 | This is the Win32 installer generator for JOSM, to create a Windows installer.
|
|---|
| 2 | This should ease installation for Windows users.
|
|---|
| 3 |
|
|---|
| 4 | Currently josm, the Java runtime and JavaFX are included in the installer.
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 | install
|
|---|
| 8 | -------
|
|---|
| 9 | simply execute josm-setup-latest.exe
|
|---|
| 10 |
|
|---|
| 11 | uninstall
|
|---|
| 12 | ---------
|
|---|
| 13 | use "control panel / software" to uninstall
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 | current state of the art
|
|---|
| 17 | ------------------------
|
|---|
| 18 | The installer will currently add:
|
|---|
| 19 | - josm and java/javafx runtime into "%CSIDL_LOCAL_APPDATA%\JOSM" (or the directory chosen by user)
|
|---|
| 20 | - josm icons to the desktop
|
|---|
| 21 | - josm file associations
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 | build the installer
|
|---|
| 25 | -------------------
|
|---|
| 26 | 1.) You will need to download JavaFX modules from:
|
|---|
| 27 | - https://gluonhq.com/products/javafx/
|
|---|
| 28 |
|
|---|
| 29 | 2.) Extract the modules to %JAVA_HOME%/jmods
|
|---|
| 30 |
|
|---|
| 31 | 3.) Start a cygwin shell and call ./native/windows/win-jpackage.sh
|
|---|
| 32 |
|
|---|
| 33 | 4.) The JOSM.exe and JOSM.msi files can then be found in ./app/
|
|---|
| 34 |
|
|---|
| 35 | how the installer is built
|
|---|
| 36 | --------------------------
|
|---|
| 37 | See jpackage documentation to understand what it does and how it works:
|
|---|
| 38 | - https://docs.oracle.com/en/java/javase/17/jpackage/preface.html
|
|---|
| 39 |
|
|---|
| 40 | known issues
|
|---|
| 41 | ------------
|
|---|
| 42 | - no translation
|
|---|
| 43 |
|
|---|
| 44 | build the installer under Linux / Debian
|
|---|
| 45 | ----------------------------------------
|
|---|
| 46 | It's likely not possible to build the installer under Linux because of the WiX transitive dependency.
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.