Skip to content

Conversation

joeloff
Copy link
Member

@joeloff joeloff commented Oct 6, 2025

Description

This is a regression from migrating to WiX v5. Using the new ProgramFiles6432Folder variable causes non-native installations to always write the SWID tag to CSIDL_PROGRAM_FILES. When installing the x86 SDK on 64-bit Windows, the tag ends up under Program Files instead of Program Files (x86).

Testing

Manual test

@joeloff joeloff requested a review from a team October 6, 2025 20:28
@joeloff joeloff added this to the 10.0.1xx milestone Oct 6, 2025
<?if $(TargetArchitecture)~=x86?>
<SoftwareTag Regid="microsoft.com" InstallPath="[ProgramFilesFolder]dotnet" />
<?else?>
<SoftwareTag Regid="microsoft.com" InstallPath="[ProgramFiles64Folder]dotnet]" />
Copy link
Member

@merriemcgaw merriemcgaw Oct 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you need the extra ] after dotnet the end of the line here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching that.

@rbhanda rbhanda modified the milestones: 10.0.1xx, 10.0.0 Oct 7, 2025
@joeloff joeloff enabled auto-merge October 7, 2025 17:29
@joeloff joeloff merged commit ead9fee into dotnet:release/10.0.1xx Oct 7, 2025
28 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants