Skip to content

Commit 77fe2e0

Browse files
Make upgrade install new host first, then uninstall old (#60317)
This should preserve the ordering of PATH, since the old MSI will never remove its entry. Co-authored-by: Eric StJohn <[email protected]>
1 parent 366af46 commit 77fe2e0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/installer/pkg/sfx/installers/dotnet-host.proj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<RegKeyProductName>sharedhost</RegKeyProductName>
1212
<WixDependencyKeyName>Dotnet_CLI_SharedHost</WixDependencyKeyName>
1313
<OutputFilesCandleVariable>HostSrc</OutputFilesCandleVariable>
14+
<MajorUpgradeSchedule>afterInstallExecute</MajorUpgradeSchedule>
1415
<VersionInstallerName>false</VersionInstallerName>
1516
<UseBrandingNameInLinuxPackageDescription>true</UseBrandingNameInLinuxPackageDescription>
1617
<MacOSComponentNamePackType>sharedhost</MacOSComponentNamePackType>

0 commit comments

Comments
 (0)