[Bug]: Windows update click opens the full NSIS wizard instead of a UAC prompt
Les mainteneurs répondent en général sous 1 jour
@EtienneLescot y travaille déjà.
Depuis le 30/10/2026.
Évaluation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Accessibilité débutants
- 30/100
- Type d'issue
- Bug
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- electron, typescript
- Domaine
- desktop
Piste de recherche
The bug is in electron/auto-updater.ts where installSelfUpdate calls quitAndInstall(false, true). Read that function and electron-builder.json5 to see why the NSIS wizard appears. Pass the right flags so only a UAC prompt shows, then verify on Windows that the update installs without wizard pages.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Clicking the update button on Windows opens the full NSIS install wizard instead of only a UAC prompt.
Repro
- Windows 11,
v2.2.0-rc.1NSIS x64, per-machine install (C:\Program Files\Openscreen), the only install on the machine. - Local update feed (checklist, "Updating in place — post-2.1.2") offering 9.9.9.
- Wait for the blue update button, click it.
Expected
The app quits, Windows asks for UAC, the update installs and the app comes back. That is what the comment on installSelfUpdate in electron/auto-updater.ts describes.
Actual
- The installer runs as
Openscreen.Setup.2.2.0-rc.1-x64.exe --updated --force-run, without/S. - The wizard opens on "Who should this application be installed for?", with Anyone who uses this computer preselected and a note that an existing per-machine install will be updated.
- Next, then UAC, then the update installs and the app comes back. So the end state is right; the path is not.
Worse with two installs
On a machine that also had an old per-user install, the same page preselected Just for me, which updates the other copy. Choosing All users updated the right one but uninstalled the per-user copy.
Cause
installSelfUpdatecallsquitAndInstall(false, true). WithisSilent=falseandoneClick: falseinelectron-builder.json5, the assisted installer shows its pages.- The call is unchanged since v2.1.2, so this is not a 2.2.0 regression.
- The install-mode page is only skipped by
/allusers,/currentuseror a custom install mode.
Found during the rc.1 e2e pass (#1431).
- Langage dominant
- TypeScript
- Étoiles
- 3.7k
- Forks
- 231
- Merge moyen
- 15 h 10 min
- PR mergées (30 j)
- 324
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de getopenscreen/openscreen
-
Native review wanted: machine-translated recording bar tooltips (14 locales)Peut-être à nouveau libre @auberginewly l’a pris il y a 22 jours, et aucune pull request n’est ouverte. Ouvertegood first issue help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
getopenscreen/openscreen#913 · 5 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
[Feature]: Cursor size px unitOuverteenhancement
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
getopenscreen/openscreen#1436 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
getopenscreen/openscreen#1435 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 55/100
getopenscreen/openscreen#1431 · 4 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 3/5 Une demi-journée Accessibilité débutants 68/100
getopenscreen/openscreen#1428 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de getopenscreen/openscreen
Issues similaires
-
area:cli bug P4
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
bug from-studio
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
esengine/DeepSeek-Reasonix#14868 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
linxiv-dev/linXiv#384 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
factory-active task-identify-harness-labels-done task-identify-issue-type-done
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
vercel/ai#24302 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour