winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

Support installers that always reboot by warning user / requiring an opt-in flag

Open JohnMcPMS opened this issue 3 years ago • 1 comments

Description of the new feature / enhancement

Some installers will always reboot, regardless of what we ask of them. We can support these by having the data in the manifest to indicate it, then warning the user and possibly requiring an opt-in flag on the command line.

Proposed technical implementation details

Add a field to the manifest to indicate a forced reboot from installation. Warn (aka error) the user if they try to install Only proceed if a new option is passed in: --allow-reboot or similar

JohnMcPMS avatar Mar 23 '22 22:03 JohnMcPMS

Could be similar to:

  • #1786

denelon avatar Mar 23 '22 23:03 denelon