Closed florianzachstailoryoung closed 1 week ago
If we're talking about this release https://github.com/TYP-Consulting-GmbH/TY-TeamTime-Deployment/releases/tag/v1.0.42 then it's a misconfig.
The latest.json points to the .msi installer which currently always requires admin. Also, updating from setup.exe to .msi is not supported (the other around works).
I'd recommend to just not build the .msi. If you do require it for something it has to be decoupled somehow so that it gets it's own updater endpoint.
Ah, thank you for pointing that out, I did not know .msi is in latest.json. I will try to get rid of msi installers 👍
Describe the bug
I am implementing Auto-Updating in my App and I am using Tauri v2 and the Updater plugin. (sorry if it's the wrong place here) The update itself works. However, when the update installs automatically, a UAC prompt pops up, requiring administrative rights. I confirmed that no administrative rights are required when i install both versions manually, but when i install the older one, which then tries to install the newer one, admin is required. (which is a deal breaker)
It may be a misconfiguration on my side, but it honestly sounds like a bug. I would be happy to give more information if someone can tell me how to further troubleshoot this issue.
Reproduction
Take a Tauri project, install the updater plugin, define the required config keys and signatures, build it, setup a CI pipeline with the Tauri Action and set everything up to automatically download and install an update from GitHub Releases. You should see that after the update downloads and installs, a UAC prompt pops up, asking for administrative rights.
Repro is really hard without making code public I shouldn't. The update signing and server setup is quite a hassle. I can try to create one later if nobody can recreate my issue.
Expected behavior
The Updater should install the new version without admin password, because when i install it manually, it also doesn't need it.
Full
tauri info
outputStack trace
No response
Additional context
I want to know if this is a misconfiguration on my side, or if it's an actual bug. I could try setting up a repro repo but it's a huge pain and I want to avoid it if possible.