File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
src/Layout/pkg/windows/bundles/sdk Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 27
27
<Payload Name =" dotnet.ico" Compressed =" yes" SourceFile =" ..\..\dotnet.ico" />
28
28
</BootstrapperApplication >
29
29
30
- <SoftwareTag Regid =" microsoft.com" InstallPath =" [ProgramFiles6432Folder]dotnet" />
30
+ <!-- Do not use ProgramFiles6432Folder. It defaults to CSIDL_PROGRAM_FILES and will write
31
+ the tag to Program Files when installing the x86 SDK on 64-bit OS. -->
32
+ <?if $(TargetArchitecture)~=x86?>
33
+ <SoftwareTag Regid =" microsoft.com" InstallPath =" [ProgramFilesFolder]dotnet" />
34
+ <?else ?>
35
+ <SoftwareTag Regid =" microsoft.com" InstallPath =" [ProgramFiles64Folder]dotnet" />
36
+ <?endif ?>
31
37
32
38
<!-- Search references for upgrade policy keys -->
33
39
<util : RegistrySearchRef Id =" RemovePreviousVersionRegistryKeySearch" />
You can’t perform that action at this time.
0 commit comments