Open mwisnicki opened 4 months ago
Are you installing the packages with right-click -> run as administrator?
I just click "Update selected packaged". Just noticed next button is "Update as administrator", am I supposed to click that instead? If so, it's a bit unintuitive since the setting section mentions "elevate installations by default".
Also I only want to update as admin only these packages that require admin. The remaining should update/install per user.
If so, it's a bit unintuitive since the setting section mentions "elevate installations by default".
But you do have this option enabled or not?
There is no such option, see screenshot in the description.
You can automatically elevate operations for a specific manager using the following setting:
Right, but I agree with Marcin here, I only want to elevate for installs that require it. Is that possible? or is that what that setting implies? (because it reads like it's going to elevate ALL installs regardless of if they need it or not).
I've tried using "Ask only once for administrator privileges (not recommended)" and "Ask for administrator privileges once for each batch of operations" and I've tried having both enabled, or none enabled. The effect is the same regardless, I get Admin prompt for every individual install in a list of upgrades.
Right so I think my original issue was caused by misunderstanding how this option is supposed to work.
I think the "Ask only once for administrator privileges" deserves extra explanation in the UI that it is only effective when package managers are configured to always use elevation.
Separately I can create feature request to actually support asking only once with elevation as needed. I imagine this might be tricky to implement but not impossible.
I second that. Some installations fail with activated elevation, if the original install was aware of normal user/admin separation and installed only for the normal user and not the admin user. It is just unclear, how to detect this beforehand. Some installers ask for privilege elevation in the middle of the process or only optionally (if you want to install explicitly for all users).
It is just unclear, how to detect this beforehand. Some installers ask for privilege elevation in the middle of the process or only optionally (if you want to install explicitly for all users).
I see few options for dynamic elevation:
I also fail to understand this option. When I check it i expect to only have to click the elevation prompt the first time it asks. I have just installed around 10 updates and have to sit here and watch it every time so I can allow the elevation prompt. This hardly makes updating my packages a smooth and background experience.
If you want such behaviour, you need to enable the "cache administrator rights" option, under administrator rights preferences
If you want such behaviour, you need to enable the "cache administrator rights" option, under administrator rights preferences
Do you mean this option? If so, that carries security risks. I would expect the second option in the screenshot to satisfy my needs.
Based on the label, I'd expect that option to mean I only have to accept a single UAC prompt, for any one batch of package updates. It doesn't seem to actually work like that though, since I still get prompted for each individual package.
This is pretty annoying, especially when combined with automatic updates, and more so since you can't set a time-window for them.
The option you have enabled will ask for administrator only once until the install queue is empty, at which point it will lose the cache and will ask again on the next operation.
If this is not the case, please let me know
I'm 90% sure that is not currently working. I will check when I get the chance.
Please confirm these before moving forward
Describe your issue
Steps to reproduce the issue
WingetUI Log
Package Managers Logs
Relevant information
It never worked for me
Screenshots and videos
No response