Skip to content

Commit b924deb

Browse files
authored
Make upgrade install new host first, then uninstall old (#60325)
This should preserve the ordering of PATH, since the old MSI will never remove its entry.
1 parent 5c7b1c7 commit b924deb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/installer/pkg/projects/Microsoft.NETCore.DotNetHost/Microsoft.NETCore.DotNetHost.pkgproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<WixProductMoniker>$(SharedHostBrandName)</WixProductMoniker>
1616
<RegKeyProductName>sharedhost</RegKeyProductName>
1717
<WixDependencyKeyName>Dotnet_CLI_SharedHost</WixDependencyKeyName>
18+
<MajorUpgradeSchedule>afterInstallExecute</MajorUpgradeSchedule>
1819
<VSInsertionShortComponentName>SharedHost</VSInsertionShortComponentName>
1920

2021
<PublishRootDir>$(IntermediateOutputPath)publishRoot/</PublishRootDir>

0 commit comments

Comments
 (0)