Modify

Opened 3 months ago

Last modified 3 months ago

#22053 new defect

Windows installer shows no success message

Reported by: GerdP Owned by: team
Priority: normal Milestone:
Component: Installer Windows Version:
Keywords: template_report Cc: Don-vip

Description

What steps will reproduce the problem?

  1. Download josm-setup.exe
  2. Double click to start
  3. See a "Please wait" popup which disappears quickly.

What is the expected result?

A popup that asks for options or shows success with a hint how to continue or an option to launch the program.

What happens instead?

Nothing obvious, setup stops silently. It took me some time to find out that a new JOSM icon appeared on my desktop.

Please provide any additional information below. Attach a screenshot if possible.

Revision:18427
Build-Date:2022-04-05 19:23:14

Identification: JOSM/1.5 (18427 en) Windows 10 64-Bit
OS Build number: Windows 10 Home 2009 (19043)
Memory Usage: 198 MB / 1972 MB (59 MB allocated, but free)
Java version: 17.0.2+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_DE
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.18427, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe]

Plugins:
+ apache-commons (35924)
+ buildings_tools (35951)
+ contourmerge (v0.1.8)
+ ejml (35924)
+ geotools (35959)
+ imagery-xml-bounds (35893)
+ jackson (35958)
+ jaxb (35952)
+ jts (35924)
+ o5m (35893)
+ opendata (35910)
+ pbf (35893)
+ poly (35893)
+ reltoolbox (35893)
+ reverter (35893)
+ undelete (35893)
+ utilsplugin2 (35951)

Validator rules:
+ c:\josm\core\resources\data\validator\geometry.mapcss
+ c:\josm\core\resources\data\validator\unnecessary.mapcss
+ d:\java_tools\JOSM\mygeometry.mapcss

Last errors/warnings:
- 00000.493 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00000.494 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00000.878 E: java.security.KeyStoreException: Windows-ROOT not found. Cause: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available

Attachments (0)

Change History (4)

comment:1 Changed 3 months ago by anonymous

Component: CoreInstaller Windows

comment:2 Changed 3 months ago by taylor.smock

Looking at https://docs.oracle.com/en/java/javase/17/docs/specs/man/jpackage.html , we don't have the following options set for Windows:

  • --win-shortcut-prompt
  • --win-update-url (Add/Remove programs)
  • --win-help-url (Add/Remove programs)

The --win-shortcut-prompt might force the installer to show a question at the end ("Add shortcuts?"), but I don't know.

The script used to make the installer is located at source:trunk/native/windows/win-jpackage.sh

Hopefully we don't have to edit source:trunk/native/windows/main.wxs (documentation, but might be v4 (I think v3, since we are adding WiX Toolset v3.11 to the $GITHUB_PATH variable)). If so,

  • native/windows/main.wxs

    diff --git a/native/windows/main.wxs b/native/windows/main.wxs
    index fa509d9310..b2f2f1a6d1 100644
    a b  
    147147      <RemoveExistingProducts Before="CostInitialize"/>
    148148    </InstallExecuteSequence>
    149149
     150    <UI>
     151      <Publish Dialog="ExitDlg" Control="Finish"/>
     152    </UI>
     153
    150154  </Product>
    151155</Wix>

might work, but since I don't have a windows machine, I cannot test that. I don't think I can even build it. If I have to, I can try testing using GitHub actions. I'll have to check and see if we are only building the releases on the main branch.

comment:3 Changed 3 months ago by GerdP

Cc: Don-vip added

Hm, opposite on my side: I don't have a recent linux system running, not even any virtual machines since years.

comment:4 in reply to:  3 Changed 3 months ago by taylor.smock

Replying to GerdP:

Hm, opposite on my side: I don't have a recent linux system running, not even any virtual machines since years.

I could probably try fiddling with WINE, but I know that it isn't perfect, so things could work under WINE but not under Windows. That is unlikely though.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to GerdP
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.