Skip to content

[FEATURE REQUEST] (Headless Install and Updates) #1292

@gabriel-vanca

Description

Please confirm these before moving forward

  • I have searched for my feature proposal and not found a work-in-progress/duplicate/resolved/discarded issue.
  • This proposal is a completely new feature. If you want to suggest an improvement or an enhancement, please use this template

Describe the new feature

I would like to be able to install WingetUI on a headless machine from the terminal and never worry about configuring it or UAC prompts.

That means the following should be possible:

  • be able to customise which package managers to use from the command-line parameters
  • enable "Cache administrator rights, but elevate installers only when required" from the command-line parameters
  • enable "always elevate Winget installation by default" from the command-line parameters
  • enable "always elevate Chocolatey installation by default" from the command-line parameters
  • enable "always elevate Pip installation by default" from the command-line parameters
  • set the time when to check for updates from the command-line parameters
  • some way to disable any possible UAC prompt

I am guessing this might also require WingetUI to run as Admin by default at startup as some apps will be local-machine installed.
If so, WingetUI should be able to update anything within the same scope it was installed (so local machine install should be updates as local machine install and user installs should be updated as user installs). WinGetUI might already be doing this, but it's not entirely clear to me.

Describe how this new feature could help users.

So that this can be deployed from the terminal/SSH on Windows Server machines where WinGet/Chocolatey is installed and maybe no one RD-es into the machines for weeks to click accept on the UAC prompts.
Right now I use chocolatey auto-update for this, but there doesn't seem to a WinGet update option to do this.

Metadata

Metadata

Labels

new-featureA new feature that could be useful in WingetUIready-to-go

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions