Summary
The release workflow builds officecli-win-arm64.exe, and the root README
lists it as the Windows ARM64 binary. The PowerShell installer cannot install
that asset because it pins the download name at startup:
$asset = "officecli-win-x64.exe"
There is no architecture branch after that assignment. Every PowerShell
installation therefore requests the x64 asset, including on Windows ARM64.
Evidence
install.ps1 currently starts with:
$repo = "iOfficeAI/OfficeCLI"
$asset = "officecli-win-x64.exe"
$binary = "officecli.exe"
The release matrix separately produces:
- rid: win-x64
name: officecli-win-x64.exe
- rid: win-arm64
name: officecli-win-arm64.exe
The root README also advertises both assets in its manual-download table.
Expected
On Windows ARM64, the installer should select:
On Windows x64, it should retain:
Actual
The installer always downloads officecli-win-x64.exe.
This may be masked by x64 emulation on ARM64 machines, so the symptom is not
necessarily an installation failure. The concrete defect is that the native
ARM64 artifact is shipped and advertised but is unreachable through the
PowerShell installation path.
Verification
On a Windows ARM64 host, install from a clean path and compare the installed
officecli.exe hash with the release SHA256SUMS entry for
officecli-win-arm64.exe.
The installed file should match the ARM64 checksum, not the x64 checksum.
A source-level regression check can also assert that the asset resolver returns
officecli-win-arm64.exe for an ARM64 Windows architecture and
officecli-win-x64.exe for x64.
Summary
The release workflow builds
officecli-win-arm64.exe, and the root READMElists it as the Windows ARM64 binary. The PowerShell installer cannot install
that asset because it pins the download name at startup:
There is no architecture branch after that assignment. Every PowerShell
installation therefore requests the x64 asset, including on Windows ARM64.
Evidence
install.ps1currently starts with:The release matrix separately produces:
The root README also advertises both assets in its manual-download table.
Expected
On Windows ARM64, the installer should select:
On Windows x64, it should retain:
Actual
The installer always downloads
officecli-win-x64.exe.This may be masked by x64 emulation on ARM64 machines, so the symptom is not
necessarily an installation failure. The concrete defect is that the native
ARM64 artifact is shipped and advertised but is unreachable through the
PowerShell installation path.
Verification
On a Windows ARM64 host, install from a clean path and compare the installed
officecli.exehash with the releaseSHA256SUMSentry forofficecli-win-arm64.exe.The installed file should match the ARM64 checksum, not the x64 checksum.
A source-level regression check can also assert that the asset resolver returns
officecli-win-arm64.exefor an ARM64 Windows architecture andofficecli-win-x64.exefor x64.