Skip to content

Commit 3ee0582

Browse files
committed
Fix component directories
1 parent 88e1b96 commit 3ee0582

File tree

1 file changed

+3
-3
lines changed
  • src/installer/pkg/sfx/installers

1 file changed

+3
-3
lines changed

src/installer/pkg/sfx/installers/host.wxs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
1. the legacy SDK can be subsequently installed
2121
2. the user runs 'dotnet' commands directly against 'ProgramFiles'\dotnet\dotnet.exe -->
2222

23-
<Component Id="cmpCoreHost" Directory="DOTNETHOME" Guid="{45399BBB-DDA5-4386-A2E9-618FB3C54A18}" >
23+
<Component Id="cmpCoreHost" Guid="{45399BBB-DDA5-4386-A2E9-618FB3C54A18}" >
2424
<File Id="fileCoreHostExe" KeyPath="yes" Source="$(var.HostSrc)\dotnet.exe">
2525
<CopyFile Id="copyFileCoreHostExe" DestinationDirectory="PROGRAMFILES_DOTNET" />
2626
</File>
2727
</Component>
2828

2929
<Component Id="cmpSharedHostVersionRegistry" Guid="*">
3030
<RegistryKey Root="HKLM" Key="SOFTWARE\dotnet\Setup\InstalledVersions\$(var.Platform)\sharedhost">
31-
<RegistryValue Action="write" Name="Version" Type="string" Value="$(var.NugetVersion)"/>
31+
<RegistryValue KeyPath="yes" Action="write" Name="Version" Type="string" Value="$(var.NugetVersion)"/>
3232
</RegistryKey>
3333
</Component>
3434

@@ -45,7 +45,7 @@
4545
<Environment Id="E_PATH" Name="PATH" Value="[DOTNETHOME]" Part="last" Action="set" System="yes" />
4646
</Component>
4747

48-
<Component Id="cmpLicenseFiles" Directory="DOTNETHOME" Guid="{A61CBE5B-1282-4F29-90AD-63597AA2372E}">
48+
<Component Id="cmpLicenseFiles" Guid="{A61CBE5B-1282-4F29-90AD-63597AA2372E}">
4949
<File Id="fileLicenseTxt" KeyPath="yes" Source="$(var.HostSrc)\LICENSE.txt">
5050
<CopyFile Id="copyFileLicenseTxt" DestinationDirectory="PROGRAMFILES_DOTNET" />
5151
</File>

0 commit comments

Comments
 (0)