Skip to content

Commit 1fa1602

Browse files
wtgodbecaptainsafia
authored andcommitted
Revert "Add registry search for upgrade policy keys (#57952)"
This reverts commit 74bdb8b.
1 parent d3f8ef5 commit 1fa1602

File tree

5 files changed

+2
-18
lines changed

5 files changed

+2
-18
lines changed

src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"
3-
xmlns:dep="http://schemas.microsoft.com/wix/DependencyExtension" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
2+
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:dep="http://schemas.microsoft.com/wix/DependencyExtension" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
43
<Bundle Name="$(var.BundleName)" Version="$(var.BundleVersion)" Manufacturer="Microsoft Corporation" UpgradeCode="$(var.BundleUpgradeCode)">
54
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense">
65
<bal:WixStandardBootstrapperApplication LicenseUrl="https://go.microsoft.com/fwlink/?LinkId=329770"
@@ -12,10 +11,6 @@
1211
<PayloadGroupRef Id="PG_Resources"/>
1312
</BootstrapperApplicationRef>
1413

15-
<util:RegistrySearchRef Id="RemovePreviousVersionRegistryKeySearch"/>
16-
<util:RegistrySearchRef Id="RemoveSpecificPreviousVersionRegistryKeyExistsSearch"/>
17-
<util:RegistrySearchRef Id="RemoveSpecificPreviousVersionRegistryKeySearch"/>
18-
1914
<!-- Ensure upgrades from 3.0.0 preview 1, 2, and 3. Conditioned for the 3.0.0 family. -->
2015
<?if $(var.Version)=3.0.0.0?>
2116
<?if $(var.Platform)=x86?>

src/Installers/Windows/SharedFrameworkBundle/SharedFrameworkBundle.wixproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313
</PropertyGroup>
1414

1515
<ItemGroup>
16-
<WixExtension Include="WixUtilExtension">
17-
<HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath>
18-
<Name>WixUtilExtension</Name>
19-
</WixExtension>
2016
<WixExtension Include="WixDependencyExtension">
2117
<HintPath>$(WixExtDir)\WixDependencyExtension.dll</HintPath>
2218
<Name>WixDependencyExtension</Name>
@@ -29,7 +25,6 @@
2925

3026
<ItemGroup>
3127
<Compile Include="Bundle.wxs" />
32-
<Compile Include="$(PkgMicrosoft_DotNet_Build_Tasks_Installers)\build\wix\bundle\upgradePolicies.wxs" />
3328
<Content Include="thm.xml" />
3429
</ItemGroup>
3530

src/Installers/Windows/WindowsHostingBundle/Bundle.wxs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
<PayloadGroupRef Id="PG_Resources"/>
1414
</BootstrapperApplicationRef>
1515

16-
<!-- Search references for upgrade policy keys -->
17-
<util:RegistrySearchRef Id="RemovePreviousVersionRegistryKeySearch"/>
18-
<util:RegistrySearchRef Id="RemoveSpecificPreviousVersionRegistryKeyExistsSearch"/>
19-
<util:RegistrySearchRef Id="RemoveSpecificPreviousVersionRegistryKeySearch"/>
20-
2116
<!-- Ensure upgrades from 3.0.0 preview 1 and 2 (Preview 3 was not shipped). Conditioned for the 3.0.0 family. Hosting bundle simships x86/x64 so there's
2217
a single set of upgrade codes. -->
2318
<?if $(var.Version)=3.0.0.0?>

src/Installers/Windows/WindowsHostingBundle/WindowsHostingBundle.wixproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
<Compile Include="Bundle.wxs" />
3737
<Compile Include="DotNetCore.wxs" />
3838
<Compile Include="SharedFramework.wxs" />
39-
<Compile Include="$(PkgMicrosoft_DotNet_Build_Tasks_Installers)\build\wix\bundle\upgradePolicies.wxs" />
4039
</ItemGroup>
4140

4241
<ItemGroup>

src/Installers/Windows/Wix.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
NoLogo="true"
111111
Cultures="en-us"
112112
InstallerFile="%(WixInstallerFilesToProcess.Identity)"
113-
AdditionalBasePaths="$(MSBuildProjectDirectory);$(PkgMicrosoft_DotNet_Build_Tasks_Installers)\build\wix\bundle"
113+
AdditionalBasePaths="$(MSBuildProjectDirectory)"
114114
WixExtensions="@(WixExtension)"
115115
Loc="@(EmbeddedResource)"
116116
Sice="$(SuppressIces)"

0 commit comments

Comments
 (0)