Skip to content

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

@cwegener

Description

@cwegener

'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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions