Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/Layout/pkg/windows/bundles/sdk/bundle.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@
<Payload Name="dotnet.ico" Compressed="yes" SourceFile="..\..\dotnet.ico" />
</BootstrapperApplication>

<SoftwareTag Regid="microsoft.com" InstallPath="[ProgramFiles6432Folder]dotnet" />
<!-- Do not use ProgramFiles6432Folder. It defaults to CSIDL_PROGRAM_FILES and will write
the tag to Program Files when installing the x86 SDK on 64-bit OS. -->
<?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.

<?endif?>

<!-- Search references for upgrade policy keys -->
<util:RegistrySearchRef Id="RemovePreviousVersionRegistryKeySearch"/>
Expand Down
Loading