feat(installer): the virtual monitor's driver comes with the app

The driver component is on by default, so installing Jarvis installs the
driver too (Windows asks the SignPath question once). A silent install, which
is how updates run, never touches the driver: no question during an update and
no driver brought back after the person removed it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
javis-bot
2026-11-14 23:59:38 +09:00
parent 7e51ebd0ba
commit 61d9c06a6b
3 changed files with 14 additions and 7 deletions

View File

@@ -229,9 +229,14 @@ Section /o "바탕 화면 바로 가기" SecDesktop
CreateShortCut "$DESKTOP\Jarvis.lnk" "$INSTDIR\jarvis.exe"
SectionEnd
Section /o "가상 모니터 드라이버" SecDriver
Section "가상 모니터 드라이버" SecDriver
; The app's own elevated half (admin.spec.md, "Virtual monitor"); Windows asks once whether to
; trust the SignPath Foundation. It can also be installed later from the features screen.
; trust the SignPath Foundation. It can also be installed later from the features screen. Not in
; a silent install (the app's updates): an update never asks Windows' question and never brings
; back a driver the person removed.
${If} ${Silent}
Return
${EndIf}
ExecWait '"$INSTDIR\jarvis.exe" --display-driver install --result "$PLUGINSDIR\vdd.txt"' $0
${If} $0 != 0
FileOpen $1 "$PLUGINSDIR\vdd.txt" r

View File

@@ -728,9 +728,11 @@ come with the first-run wizard into the data folder, which the installer never t
folder, components, progress, finish ("Jarvis 실행", started through Explorer so the app runs as
the signed-in user, not as administrator).
- Components: Jarvis (always), start menu shortcut (on), desktop shortcut (off), the virtual
monitor's driver (off; the app's elevated half, `jarvis.exe --display-driver install`, so Windows
asks the SignPath question once; a failure says it can be installed later from the features
screen). Shortcuts are for every user of the PC.
monitor's driver (on, so it comes with the app; the app's elevated half, `jarvis.exe
--display-driver install`, so Windows asks the SignPath question once; a failure says it can be
installed later from the features screen and the app is installed all the same; never in a
silent install, so an update neither asks nor brings back a driver the person removed).
Shortcuts are for every user of the PC.
- The WebView2 runtime is installed with Microsoft's bootstrapper (inside the installer) only when
the PC has none, before any file is copied. When it is still missing afterwards the installer
asks to retry or cancel; silently it stops with exit code 3, nothing installed and nothing
@@ -743,7 +745,7 @@ come with the first-run wizard into the data folder, which the installer never t
message, silently with exit code 5, so two never run together. Before copying or removing, the installer
also waits for `jarvis.exe` to close: it asks with a retry, or silently waits up to 60 s (an
update closes the app itself), then gives up.
- `/S` installs silently with the default components; `/S /RUN` starts the app again afterwards
- `/S` installs silently with the default components but the driver; `/S /RUN` starts the app again afterwards
(the app's updates). The uninstall entry has the version, size and a quiet uninstall string.
- Uninstall: the driver goes first when this app installed it (`--display-driver uninstall`:
0 removed, 2 nothing of ours to remove; the elevated half refuses another program's copy). Any

File diff suppressed because one or more lines are too long