Skip to content

Conversation

@PranavSenthilnathan
Copy link
Member

@PranavSenthilnathan PranavSenthilnathan commented Sep 25, 2025

Fixes dotnet/runtime#120108

When installing using an x64 installer on arm64, the PROGRAMFILES_DOTNET (used to place the host) is not correctly computed because WiX has not resolved ProgramFiles6432Folder yet. This change makes it use ProgramFiles64Folder instead which is valid because this code only applies to x64 installers on x64/arm64 machines.

Customer Impact

x64 installer fails when installing on arm64 and x86 (cleanup is handled gracefully, but the product is not installed).

Regression

Yes, introduced in WiX 5 when migrating from WiX 3 to use the new ProgramFile6432Folder property.

Testing

Manually verified the bug with the specified build, and then verified that the fix actually resolves the issue.

Risk

Low risk since the installer is already broken due to the bug.

@NikolaMilosavljevic
Copy link
Member

@mmitche

@PranavSenthilnathan PranavSenthilnathan enabled auto-merge (squash) September 25, 2025 23:45
@PranavSenthilnathan PranavSenthilnathan merged commit 195fc66 into dotnet:release/10.0.1xx-rc2 Sep 26, 2025
10 checks passed
@PranavSenthilnathan
Copy link
Member Author

/backport to release/10.0.1xx

@github-actions
Copy link
Contributor

@PranavSenthilnathan
Copy link
Member Author

/backport to main

@github-actions
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants