[Bug]: Windows update click opens the full NSIS wizard instead of a UAC prompt
メンテナーはふだん 1 日以内に返信
@EtienneLescot がすでに取り組んでいます。
2026年10月30日 から。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- electron, typescript
- 領域
- desktop
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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).
- 主要言語
- TypeScript
- スター
- 3.7k
- フォーク
- 231
- 平均マージ
- 15時間 10分
- マージ済み PR(30日)
- 324
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getopenscreen/openscreen のほかの issue
-
Native review wanted: machine-translated recording bar tooltips (14 locales)再び着手できるかも @auberginewly が 22 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンgood first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
getopenscreen/openscreen#913 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
getopenscreen/openscreen#1436 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
getopenscreen/openscreen#1435 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
getopenscreen/openscreen#1431 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 半日 初心者へのやさしさ 68/100
getopenscreen/openscreen#1428 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
getopenscreen/openscreen の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Northeastern-Electric-Racing/FinishLine#4660 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
excaliburjs/Excalibur#3895 ·
メンテナーはふだん 3 日以内に返信
-
infer_audio_type only recognises one MPEG Layer III frame header, so most MP3 files are rejected対応中かも @Steve-20-ai が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Earn report crashes with "RangeError: Invalid time value" when a report row has an unparsable timestamp対応中かも @Gurkaran18 が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
joinmarket-webui/jam#1588 ·
メンテナーはふだん 3 日以内に返信
-
BeOS .json missingオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
mihaip/infinite-mac#475 ·