jpackage 14-jpackage+1-64: error 2343 when using --win-dir-chooser

Serban Iordache serban.iordache at gmail.com
Tue Oct 29 16:50:13 UTC 2019


Issue on Windows 10, with jpackage build 14-jpackage+1-64 (2019/10/28):
When using the --win-dir-chooser option, the generated MSI package is not
valid.

The error message issued by Windows Installer is:
"The installer has encountered an unexpected error installing this package.
This may indicate a problem with this package. The error code is 2343."

Error code 2343 means: "Specified path is empty".
This problem did not occur in the previous version of jpackage (build
14-jpackage+1-49). I assume it is caused by the removal of the
APPLICATIONFOLDER property from:
src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/main.wxs.

Thanks

Serban


More information about the core-libs-dev mailing list