Support "--win-with-ui" boolean option. If specified, jpackage will ensure the 
output MSI or EXE installer will have User Interface (UI). The UI is based on 
the standard "WixUI_Minimal" WiX dialog set with the WelcomeEulaDlg dialog 
removed from the sequence.

If any option that implicitly results in the installer with UI is specified 
("--win-dir-chooser", "--win-shortcut-prompt", "--license-file"), the 
"--win-with-ui" option is ignored.

Code changes:
 - Refactor WixUiFragmentBuilder: move code constructing a model for WiX UI 
source code generation to classes in a new "jdk.jpackage.internal.wixui" 
package with unit test coverage.
 - Refactor WixPipeline and WixVariables; add unit tests for WixVariables.
 - Refactor WinInstallerUiTest to include coverage for the "--win-with-ui" 
option.

Additionally, fixed an issue in WinL10nTest.java that popped up when running 
the tests locally with different versions of WiX toolkit.

-------------

Commit messages:
 - Update WinInstallerUiTest; implement testing of MSI tables related to MSI UI
 - WinL10nTest: fix local test failure. It didn't work when WiX3 was picked 
from "C:\Program Files (x86)\WiX Toolset v3.14" directory (path with 
whitespaces that get escaped by jpackage with single quotes)
 - 8278591: Jpackage post installation information message
 - msi-export.js: bugfix

Changes: https://git.openjdk.org/jdk/pull/30172/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30172&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8278591
  Stats: 2539 lines in 50 files changed: 1958 ins; 341 del; 240 mod
  Patch: https://git.openjdk.org/jdk/pull/30172.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30172/head:pull/30172

PR: https://git.openjdk.org/jdk/pull/30172

Reply via email to