Skip to content

fix(installer): install the Steam driver and replay onboarding with release notes - #398

Merged
OrientCOMPASS merged 4 commits into
MicYou-Dev:masterfrom
OrientCOMPASS:fix/steam-audio-installer
Nov 20, 2026
Merged

OrientCOMPASS merged 4 commits into
MicYou-Dev:masterfrom
OrientCOMPASS:fix/steam-audio-installer

Conversation

@OrientCOMPASS

@OrientCOMPASS OrientCOMPASS commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

问题

#394 合并后的安装包在干净机器或覆盖升级时无法安装 Steam Streaming Microphone 驱动:Inno Setup 是 32 位进程,{sys}\pnputil.exe 指向 SysWOW64 的 32 位 pnputil,两个 INF 都返回 code 2;随后 configure.ps1 找不到端点退出。同时桌面端的新用户教程只在首次安装时出现,升级用户看不到本次虚拟麦克风切换说明。

修复

  • 用 {win}\Sysnative\pnputil.exe 和 {win}\Sysnative\WindowsPowerShell\v1.0\powershell.exe 调用 64 位工具;32 位 Windows 或文件不存在时回退到 {sys}。
  • 保留 configure.ps1 输出到 %APPDATA%\micyou\steam-audio-configure.log,失败时最多重试 3 次(pnputil 返回后端点仍在异步创建)。
  • 安装失败仍不阻断应用安装,卸载仍保留共享驱动。
  • 安装器在 ssPostInstall 写入 %APPDATA%\micyou\onboarding-reset 标记;桌面端启动时消费标记、清除 micyou_onboarding_completed,并重新打开教程。
  • OnboardingWizard 第 1 步恢复“下一步”按钮;升级重开时从第 1 步开始,不会自动跳到完成页。
  • 教程右侧展示当前版本的更新公告(Steam 驱动为主推、可保留 VB-CABLE 或切换后卸载),文案集中在仓库根 release-notes.json,与 gradle.properties 的版本 bump 一起维护;安装器内的 InfoAfterFile 公告已移除。
  • 教程补充 CLI/TUI 入口说明。

验证

在 windows-latest 干净 runner 上编译并静默运行真实 Inno 安装包:

本次改动还会由本 PR 的 Development Build 重新编译 Windows 安装器和前端;以 CI 结果为准。

影响

  • tauri-app/src-tauri/installer.iss、src/commands/about.rs、src/app.rs
  • tauri-app/src/App.vue、platform/commands.ts
  • tauri-app/src/features/onboarding/、7 个 locale、release-notes.json、vite.config.ts、sync-version.js

…directory

Inno Setup is a 32-bit process, so {sys} resolves to SysWOW64; that pnputil returns code 2 for the 64-bit Steam driver and the whole install silently leaves no endpoint. Resolve both pnputil and Windows PowerShell through {win}\\Sysnative\\ with a {sys} fallback for 32-bit Windows.
pnputil creates the endpoints asynchronously, so the first configure.ps1 pass can fail transiently; retry up to three times and preserve the script output under %APPDATA%\\micyou. Log the 64-bit pnputil path used for the driver install.
@micyou-automation micyou-automation Bot added waitmerge 等待合并 size/m 30-99 行 reviewing 正在复核 and removed waitmerge 等待合并 labels Nov 20, 2026
The Inno Setup installer now writes an onboarding-reset marker after every install or overwrite upgrade. The desktop app consumes it on startup, clears micyou_onboarding_completed and reopens the first-run wizard from page one.

The wizard gains a right-hand release-notes panel fed by release-notes.json next to gradle.properties, so upgrading users see the Steam Streaming Microphone migration notes and can keep VB-CABLE or switch to Steam. The installer's InfoAfterFile announcement is removed; CLI/TUI usage is mentioned in the tutorial.
@OrientCOMPASS
OrientCOMPASS force-pushed the fix/steam-audio-installer branch from b487891 to dd64381 Compare November 20, 2026 14:05
@micyou-automation micyou-automation Bot added size/xl 500-999 行 and removed size/m 30-99 行 labels Nov 20, 2026
@OrientCOMPASS
OrientCOMPASS force-pushed the fix/steam-audio-installer branch from 42cf8ba to 90a9de7 Compare November 20, 2026 14:30
@OrientCOMPASS OrientCOMPASS changed the title fix(installer): install the Steam Streaming Microphone driver on clean machines fix(installer): install the Steam driver and replay onboarding with release notes Nov 20, 2026
@OrientCOMPASS
OrientCOMPASS merged commit bd08805 into MicYou-Dev:master Nov 20, 2026
5 checks passed
@micyou-automation micyou-automation Bot added done 完成 and removed reviewing 正在复核 labels Nov 20, 2026
@OrientCOMPASS
OrientCOMPASS deleted the fix/steam-audio-installer branch November 25, 2026 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

done 完成 size/xl 500-999 行

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant