microsoft / microsoft/openjdk

'PATH' feature requires a reboot. The MSI installer should therefore set a `ScheduleReboot` after `InstallFinalize`

Open
#627 7 comments 0 reactions 1 assignee View on GitHub

@d3r3kk is already working on this.

Since Oct 17, 2024.

Windows
Dominant language
No language data
Stars
345
Forks
21
PR merge metrics
No merged PRs in 30d

Description

'PATH' feature requires a reboot. The MSI installer should therefore set a ScheduleReboot after InstallFinalize

OS & version Windows 10/11

MSFT Build of OpenJDK Version: 21.0.4

To Reproduce:
Steps to reproduce the behavior:

  1. Download OpenJDK MSI
  2. Install MSI with default options ('PATH' feature is selected)
  3. See that no reboot is scheduled

Expected behavior
A reboot should be scheduled when installing the 'PATH' feature.

Screenshots, Logs etc
None

Additional context
To confirm that the PATH variable has not updated after installation, run psexec -s cmd /c set PATH and inspect the output.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.