fix(kiosk): Start-Process -FilePath not -LiteralPath (3rd e2e — kiosk now engages) #9

Merged
SilverLABS merged 1 commits from fix/kiosk-start-process-filepath into main 2026-06-09 16:47:35 +00:00
Owner

3rd VM e2e — big progress: with #8's int32 fix, Shell Launcher now engages on the sm-bootstrap autologon (kiosk shell up, no Explorer/taskbar). But the launcher errored:

Start-Process : A parameter cannot be found that matches parameter name 'LiteralPath'.
+ Start-Process -LiteralPath 'C:\Program Files\SilverOS\Welcome\SilverOS.Welcome.App.exe' -Verb RunAs

Start-Process has no -LiteralPath parameter — only -FilePath. The -LiteralPath came from #7-era "robust quoting" review tweaks that were never runtime-validated (the originally-proven autounattend launch used -FilePath). So the kiosk shell ran but the Welcome app never launched.

Fix: -FilePath in both the Shell Launcher launcher (Start-WelcomeShell.cmd) and the RunOnce fallback. Single-quote escaping unchanged.

Verified: parses clean; no other Start-Process -LiteralPath in the tree. Next: rebuild → restage → 4th VM run — expecting the glass-card kiosk to finally come up.

🤖 Generated with Claude Code

3rd VM e2e — big progress: with #8's `int32` fix, **Shell Launcher now engages** on the `sm-bootstrap` autologon (kiosk shell up, no Explorer/taskbar). But the launcher errored: ``` Start-Process : A parameter cannot be found that matches parameter name 'LiteralPath'. + Start-Process -LiteralPath 'C:\Program Files\SilverOS\Welcome\SilverOS.Welcome.App.exe' -Verb RunAs ``` `Start-Process` has **no `-LiteralPath` parameter** — only `-FilePath`. The `-LiteralPath` came from #7-era "robust quoting" review tweaks that were never runtime-validated (the originally-proven autounattend launch used `-FilePath`). So the kiosk shell ran but the Welcome app never launched. **Fix:** `-FilePath` in both the Shell Launcher launcher (`Start-WelcomeShell.cmd`) and the RunOnce fallback. Single-quote escaping unchanged. Verified: parses clean; no other `Start-Process -LiteralPath` in the tree. Next: rebuild → restage → 4th VM run — expecting the glass-card kiosk to finally come up. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
SilverLABS added 1 commit 2026-06-09 16:42:23 +00:00
fix(kiosk): Start-Process uses -FilePath, not -LiteralPath (app never launched)
All checks were successful
Build SilverMetal Enhanced - Windows ISO / build (pull_request) Successful in 4m42s
37bfbae2e2
3rd VM e2e: Shell Launcher now ENGAGES (kiosk shell up, no Explorer), but the
launcher's 'Start-Process -LiteralPath ...' errored — Start-Process has no
-LiteralPath parameter (that was an unvalidated review tweak; the proven form
is -FilePath). So the kiosk shell ran but the Welcome app never started. Revert
both the launcher and the RunOnce fallback to -FilePath. Single-quote escaping
of the path is unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
SilverLABS merged commit 6d90f41f8f into main 2026-06-09 16:47:35 +00:00
SilverLABS deleted branch fix/kiosk-start-process-filepath 2026-06-09 16:47:35 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SilverLABS/SilverMetal#9