File tree Expand file tree Collapse file tree 5 files changed +18
-2
lines changed Expand file tree Collapse file tree 5 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
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" >
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" >
3
4
<Bundle Name =" $(var.BundleName)" Version =" $(var.BundleVersion)" Manufacturer =" Microsoft Corporation" UpgradeCode =" $(var.BundleUpgradeCode)" >
4
5
<BootstrapperApplicationRef Id =" WixStandardBootstrapperApplication.HyperlinkLicense" >
5
6
<bal : WixStandardBootstrapperApplication LicenseUrl =" https://go.microsoft.com/fwlink/?LinkId=329770"
11
12
<PayloadGroupRef Id =" PG_Resources" />
12
13
</BootstrapperApplicationRef >
13
14
15
+ <util : RegistrySearchRef Id =" RemovePreviousVersionRegistryKeySearch" />
16
+ <util : RegistrySearchRef Id =" RemoveSpecificPreviousVersionRegistryKeyExistsSearch" />
17
+ <util : RegistrySearchRef Id =" RemoveSpecificPreviousVersionRegistryKeySearch" />
18
+
14
19
<!-- Ensure upgrades from 3.0.0 preview 1, 2, and 3. Conditioned for the 3.0.0 family. -->
15
20
<?if $(var.Version)=3.0.0.0?>
16
21
<?if $(var.Platform)=x86?>
Original file line number Diff line number Diff line change 13
13
</PropertyGroup >
14
14
15
15
<ItemGroup >
16
+ <WixExtension Include =" WixUtilExtension" >
17
+ <HintPath >$(WixExtDir)\WixUtilExtension.dll</HintPath >
18
+ <Name >WixUtilExtension</Name >
19
+ </WixExtension >
16
20
<WixExtension Include =" WixDependencyExtension" >
17
21
<HintPath >$(WixExtDir)\WixDependencyExtension.dll</HintPath >
18
22
<Name >WixDependencyExtension</Name >
25
29
26
30
<ItemGroup >
27
31
<Compile Include =" Bundle.wxs" />
32
+ <Compile Include =" $(PkgMicrosoft_DotNet_Build_Tasks_Installers)\build\wix\bundle\upgradePolicies.wxs" />
28
33
<Content Include =" thm.xml" />
29
34
</ItemGroup >
30
35
Original file line number Diff line number Diff line change 13
13
<PayloadGroupRef Id =" PG_Resources" />
14
14
</BootstrapperApplicationRef >
15
15
16
+ <!-- Search references for upgrade policy keys -->
17
+ <util : RegistrySearchRef Id =" RemovePreviousVersionRegistryKeySearch" />
18
+ <util : RegistrySearchRef Id =" RemoveSpecificPreviousVersionRegistryKeyExistsSearch" />
19
+ <util : RegistrySearchRef Id =" RemoveSpecificPreviousVersionRegistryKeySearch" />
20
+
16
21
<!-- 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
17
22
a single set of upgrade codes. -->
18
23
<?if $(var.Version)=3.0.0.0?>
Original file line number Diff line number Diff line change 36
36
<Compile Include =" Bundle.wxs" />
37
37
<Compile Include =" DotNetCore.wxs" />
38
38
<Compile Include =" SharedFramework.wxs" />
39
+ <Compile Include =" $(PkgMicrosoft_DotNet_Build_Tasks_Installers)\build\wix\bundle\upgradePolicies.wxs" />
39
40
</ItemGroup >
40
41
41
42
<ItemGroup >
Original file line number Diff line number Diff line change 110
110
NoLogo =" true"
111
111
Cultures =" en-us"
112
112
InstallerFile =" %(WixInstallerFilesToProcess.Identity)"
113
- AdditionalBasePaths =" $(MSBuildProjectDirectory)"
113
+ AdditionalBasePaths =" $(MSBuildProjectDirectory);$(PkgMicrosoft_DotNet_Build_Tasks_Installers)\build\wix\bundle "
114
114
WixExtensions =" @(WixExtension)"
115
115
Loc =" @(EmbeddedResource)"
116
116
Sice =" $(SuppressIces)"
You can’t perform that action at this time.
0 commit comments