Skip to content

Add Windows MSI installer to releases - #74

Merged
XtremeOwnageDotCom merged 4 commits into
mainfrom
claude/windows-msi-installer-qptl34
Oct 1, 2026
Merged

XtremeOwnageDotCom merged 4 commits into
mainfrom
claude/windows-msi-installer-qptl34

Conversation

@XtremeOwnageDotCom

@XtremeOwnageDotCom XtremeOwnageDotCom commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Requested by XtremeOwnageDotCom · project thread

Before: Windows users got a bare netdocs.exe (or the PowerShell script) and had to put it on PATH themselves.

After: each release also carries netdocs-<version>-win-x64.msi. Running it offers Just for you (no admin, installs under %LOCALAPPDATA%, adds to the user PATH) or Everyone (elevated, installs under Program Files, adds to the system PATH). Silent installs: msiexec /i … /qn (per-user) or … /qn ALLUSERS=1 (per-machine). Uninstall removes the binary and the PATH entry.

How: a new msi job in packages.yml runs on windows-latest after the existing job, takes the published win-x64 binary from its artifact, and builds packaging/msi/Netdocs.wxs with WiX Toolset 6.0.2 (pinned below v7, which requires an explicit EULA acceptance). The package uses Scope="perUserOrMachine" with the WixUI_Advanced dialog set; two conditioned components write the PATH entry to the user or system environment depending on ALLUSERS. The license page is rendered from LICENSE at build time. The job installs, runs netdocs --version, and uninstalls in both scopes as a smoke test, then attaches the MSI to the release on tags. The workflow now also runs (without publishing) on PRs touching packaging/** or the workflow, so this is exercised here. Docs and README updated.

@XtremeOwnageDotCom XtremeOwnageDotCom self-assigned this Oct 1, 2026
Builds a dual-purpose (per-user or per-machine) MSI with WiX Toolset from the
win-x64 binary, adds the install folder to the user or system PATH, smoke-tests
both install scopes, and attaches the MSI to GitHub releases.
@XtremeOwnageDotCom
XtremeOwnageDotCom force-pushed the claude/windows-msi-installer-qptl34 branch from 4a6cb0b to ff5d540 Compare October 1, 2026 14:15
@XtremeOwnageDotCom
XtremeOwnageDotCom marked this pull request as ready for review October 1, 2026 14:22
@XtremeOwnageDotCom
XtremeOwnageDotCom merged commit af087d0 into main Oct 1, 2026
3 checks passed
@XtremeOwnageDotCom
XtremeOwnageDotCom deleted the claude/windows-msi-installer-qptl34 branch October 1, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants