Romanitho / Winget-AutoUpdate

WAU daily updates apps as system and notify connected users. (Allowlist and Blocklist support)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request]: The installer will request to run as administrator, expect a prompt

MBstatsara opened this issue · comments

The request

When this appears, users who are not admins, get prompted, sometimes repeatedly.
Can we stop this appearing but just report it as a log failure?

Is your feature request related to a problem?

An example of this was dev.home, this was installed, potentially as an MS update, ive seen a few queries regarding this, but as we dont use this app, and there are potentially lots of other apps like this, we would like to log an event/log update, then stop the prompt.

The preceeding event in the log is 
The installer will request to run as administrator, expect a prompt.

This is a little problem, as we can exclude this one app, but im looking after so many machines it is causing me issues!

Additional information

No response

If you use black list, add this app in it.
This app needs admin right for dependencies.
Or, do not use the User context part of WAU

This app does need admin rights, but it was installed by a system update.
If we do not use the user context part, 90% of apps, are now installed as a user, and are not kept up to date.
Winget upgrade also causes the same issue, but we are finding apps after the fact, and getting reports from a lot of people all at the same time.
Makes it seem very noisy as an update, when its not, some people just click ignore, others shout, and some raise it with IT!

dev.home requests admin rights for dependencies, that's what winget says.
My suggestion is to black list the app as it is a MS Store app anyway.

I understand for this one app as its installed by windows updates, but it causes a big confusion when the techs have no idea whats prompting, especially when it isnt reported along with the failed to update message

Another bug reported it #482 but its not a bug, it is a consistent problem that will appear as more apps get caught in the mess!

This issue is stale because it has been open for 30 days with no activity.

 Install-Module ps2exe

Invoke-ps2exe .\Gui.ps1 .\Gui.exe
Invoke-ps2exe .\Winget-AutoUpdate-Install.ps1 .\Winget-AutoUpdate-Install.exe

compile-al.ps1.txt

can invoke perhaps as you can right click gui etc.. Run as admin
anyway one could compile some of the scripts to exe to make running easier to install ..

This issue is stale because it has been open for 30 days with no activity.

This issue was closed because it has been inactive for 14 days since being marked as stale.