UniGetUI icon indicating copy to clipboard operation
UniGetUI copied to clipboard

[BUG] Batch uac issue from import setting

Open ted423 opened this issue 6 months ago • 4 comments

Please confirm these before moving forward

  • [x] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
  • [x] I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • [x] I have checked the FAQ section for solutions.
  • [x] This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version

3.2.0

Windows version, edition, and architecture

Win11IoTLTSC

Describe your issue

Manually enabling this setting works fine, but when using an imported configuration, the option appears to be enabled, yet UAC prompts still pop up one by one during execution. Also, I'm running three tasks simultaneously.

I tried recreate the setting json,seems if there is "DoCacheAdminRightsForBatches": "", and the thing happened

Steps to reproduce the issue

intall unigetUAC import setting form before install software from ubundle

UniGetUI Log

nope

Package Managers Logs

nope

Relevant information

No response

Screenshots and videos

No response

ted423 avatar Jun 18 '25 02:06 ted423

Also, I'm running three tasks simultaneously.

There is a bug with this that has been fixed in code but has not been released yet, perhaps this could be the issue?

marticliment avatar Jun 18 '25 06:06 marticliment

Also, I'm running three tasks simultaneously.

There is a bug with this that has been fixed in code but has not been released yet, perhaps this could be the issue?

It seems okay to configure it manually like this.

ted423 avatar Jun 18 '25 07:06 ted423

I will let you know when the next prerelease is available, which will contain the I said issue fixed, you you can verify whether the issue gets resolved or not

marticliment avatar Jun 18 '25 08:06 marticliment

I'm not sure if you saw, but there is a new prerelease (3.2.1-beta1) available on the Downloads page

mrixner avatar Jun 21 '25 03:06 mrixner

seems not work

ted423 avatar Jun 23 '25 09:06 ted423

The machine with imported settings, same as before, the problem-free computer after updating to the beta version: during the batch update, the installer's UAC popped up first, then the elevator's UAC popped up, and afterwards, yet another installer's UAC popped up.

ted423 avatar Jun 23 '25 09:06 ted423

strange,after I reset and manually set those, it even stopped working completely.

ted423 avatar Jun 23 '25 12:06 ted423

Now, after a reboot, it's giving me a winget error again. But I'm pretty sure I've fixed this multiple times already.

ted423 avatar Jun 23 '25 12:06 ted423

reset and just open this Image

Image

image

ted423 avatar Jun 23 '25 12:06 ted423

The machine with imported settings, same as before, the problem-free computer after updating to the beta version: during the batch update, the installer's UAC popped up first, then the elevator's UAC popped up, and afterwards, yet another installer's UAC popped up.

The installers UAC is something I cannot fix. UniGetUI tries to detect when installers will need UAC, and most of the times it detects it and shows the UniGetUI Elevator prompt. If you are seeing the UniGetUI prompt only once, things are working fine. However, for packages that don't properly expose this info, they may show the prompt, and this can't be fixed.

marticliment avatar Jun 23 '25 15:06 marticliment

I tried set the first program in administrator mode, and it seems to work. However, in the stable release the imported settings behave differently from manually configured ones. It looks like I can wait for the next official version to confirm.

ted423 avatar Jun 24 '25 01:06 ted423

I've noticed that even after approving the uniget elevator prompt, subsequent UAC prompts for various software packages may still pop up.(beat version)

ted423 avatar Jun 26 '25 02:06 ted423