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:
@@ -229,9 +229,14 @@ Section /o "바탕 화면 바로 가기" SecDesktop
|
|||||||
CreateShortCut "$DESKTOP\Jarvis.lnk" "$INSTDIR\jarvis.exe"
|
CreateShortCut "$DESKTOP\Jarvis.lnk" "$INSTDIR\jarvis.exe"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "가상 모니터 드라이버" SecDriver
|
Section "가상 모니터 드라이버" SecDriver
|
||||||
; The app's own elevated half (admin.spec.md, "Virtual monitor"); Windows asks once whether to
|
; 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
|
ExecWait '"$INSTDIR\jarvis.exe" --display-driver install --result "$PLUGINSDIR\vdd.txt"' $0
|
||||||
${If} $0 != 0
|
${If} $0 != 0
|
||||||
FileOpen $1 "$PLUGINSDIR\vdd.txt" r
|
FileOpen $1 "$PLUGINSDIR\vdd.txt" r
|
||||||
|
|||||||
@@ -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
|
folder, components, progress, finish ("Jarvis 실행", started through Explorer so the app runs as
|
||||||
the signed-in user, not as administrator).
|
the signed-in user, not as administrator).
|
||||||
- Components: Jarvis (always), start menu shortcut (on), desktop shortcut (off), the virtual
|
- 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
|
monitor's driver (on, so it comes with the app; the app's elevated half, `jarvis.exe
|
||||||
asks the SignPath question once; a failure says it can be installed later from the features
|
--display-driver install`, so Windows asks the SignPath question once; a failure says it can be
|
||||||
screen). Shortcuts are for every user of the PC.
|
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 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
|
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
|
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
|
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
|
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.
|
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.
|
(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`:
|
- 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
|
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
Reference in New Issue
Block a user