On Tue, 10 Mar 2026 21:10:33 GMT, Alexey Semenyuk <[email protected]> wrote:
> 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.
This pull request has now been integrated.
Changeset: 96f6ffbf
Author: Alexey Semenyuk <[email protected]>
URL:
https://git.openjdk.org/jdk/commit/96f6ffbff49e39d6efd5bddd8f8b0a55ea696aa7
Stats: 2544 lines in 51 files changed: 1962 ins; 341 del; 241 mod
8278591: Jpackage post installation information message
Reviewed-by: almatvee, erikj
-------------
PR: https://git.openjdk.org/jdk/pull/30172