Skip to content
Open
Changes from all commits
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" />
<?endif?>

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