swiftlang / swiftlang/swift-installer-scripts

Windows ARM64 installer.exe installs the multi-arch SDK under Program Files (x86) when Program Files was selected

Open
#301 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
82
Forks
64
Avg merge
3d 4h
Merged PRs (30d)
11

Description

Description

If I run the installer and customize the installation path to be Program Files with no arch suffix, the installer still installs the SDK into Program Files (x86), despite the fact that the SDK contains slices for ARM64 as well as x86.

Reproduction

Try out an installer.exe artifact from https://ci-external.swift.org/job/swift-main-windows-toolchain-arm64/

Expected behavior

I expect the installer to respect the custom installation path I selected and install the SDK under that path.

Environment

ARM64 Windows 11

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with an installer.exe artifact from the linked Swift ARM64 Windows toolchain job and reproduce the installation on ARM64 Windows 11. Select Program Files without an architecture suffix, then verify whether the SDK is placed under that path rather than Program Files (x86); done means the selected custom path is respected.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.