Skip to content

Commit 1f7fb7c

Browse files
committed
Add upgrade codes for 3.1.0-3.1.8
1 parent 4ebc145 commit 1f7fb7c

File tree

2 files changed

+72
-0
lines changed

2 files changed

+72
-0
lines changed

src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2+
13
<?xml version="1.0" encoding="UTF-8"?>
24
<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">
35
<Bundle Name="$(var.BundleName)" Version="$(var.BundleVersion)" Manufacturer="Microsoft Corporation" UpgradeCode="$(var.BundleUpgradeCode)"
@@ -24,6 +26,54 @@
2426
<?endif?>
2527
<?endif?>
2628

29+
<!-- Ensure upgrades from 3.1.0 thru 3.1.8 for x64. -->
30+
<?if $(var.Version)=3.1.0.0?>
31+
<?if $(var.Platform)=x64?>
32+
<!--'Microsoft ASP.NET Core 3.1.8 - Shared Framework'-->
33+
<RelatedBundle Action="Upgrade" Id="{BA264433-7668-3F63-BA27-0B842B591B41}"/>
34+
<!--'Microsoft ASP.NET Core 3.1.7 - Shared Framework'-->
35+
<RelatedBundle Action="Upgrade" Id="{E843D8AB-9AE4-3BBA-B417-E920A145D4D2}"/>
36+
<!--'Microsoft ASP.NET Core 3.1.6 - Shared Framework'-->
37+
<RelatedBundle Action="Upgrade" Id="{598E3E3B-DFA5-3F58-B2CF-EA59B0CD04E6}"/>
38+
<!--'Microsoft ASP.NET Core 3.1.5 - Shared Framework'-->
39+
<RelatedBundle Action="Upgrade" Id="{C2718AD8-4EC1-300D-A871-E98A1AC69180}"/>
40+
<!--'Microsoft ASP.NET Core 3.1.4 - Shared Framework'-->
41+
<RelatedBundle Action="Upgrade" Id="{F6D32B6E-2736-3FCC-B0F8-CB4C5AF95B2E}"/>
42+
<!--'Microsoft ASP.NET Core 3.1.3 - Shared Framework'-->
43+
<RelatedBundle Action="Upgrade" Id="{33468842-C5B0-3189-96D7-8CD8D28585B9}"/>
44+
<!--'Microsoft ASP.NET Core 3.1.2 - Shared Framework'-->
45+
<RelatedBundle Action="Upgrade" Id="{54EE87B3-B909-37F1-85AD-EE2296ABD2F1}"/>
46+
<!--'Microsoft ASP.NET Core 3.1.1 - Shared Framework'-->
47+
<RelatedBundle Action="Upgrade" Id="{90F6AF22-13B2-3D34-9CF0-C7F407DF4195}"/>
48+
<!--'Microsoft ASP.NET Core 3.1.0 - Shared Framework'-->
49+
<RelatedBundle Action="Upgrade" Id="{A65A6022-E10B-3AEF-802C-B9AFE0B000E2}"/>
50+
<?endif?>
51+
<?endif?>
52+
53+
<!-- Ensure upgrades from 3.1.0 thru 3.1.8 for x64. -->
54+
<?if $(var.Version)=3.1.0.0?>
55+
<?if $(var.Platform)=x86?>
56+
<!--'Microsoft ASP.NET Core 3.1.8 - Shared Framework'-->
57+
<RelatedBundle Action="Upgrade" Id="{F9E1048A-39B9-3AE1-8AA1-6B054A204A84}"/>
58+
<!--'Microsoft ASP.NET Core 3.1.7 - Shared Framework'-->
59+
<RelatedBundle Action="Upgrade" Id="{48272B78-3954-3D58-AB75-27B31E0D0DBD}"/>
60+
<!--'Microsoft ASP.NET Core 3.1.6 - Shared Framework'-->
61+
<RelatedBundle Action="Upgrade" Id="{52FF933A-F022-3A0A-8200-4C0E8E3934C3}"/>
62+
<!--'Microsoft ASP.NET Core 3.1.5 - Shared Framework'-->
63+
<RelatedBundle Action="Upgrade" Id="{F8C888A3-46C2-3306-8C90-5622C65BEBE3}"/>
64+
<!--'Microsoft ASP.NET Core 3.1.4 - Shared Framework'-->
65+
<RelatedBundle Action="Upgrade" Id="{EC496CB3-526B-366D-B667-3A20354DB136}"/>
66+
<!--'Microsoft ASP.NET Core 3.1.3 - Shared Framework'-->
67+
<RelatedBundle Action="Upgrade" Id="{05780385-0142-3FAA-9B97-F785C4798EC1}"/>
68+
<!--'Microsoft ASP.NET Core 3.1.2 - Shared Framework'-->
69+
<RelatedBundle Action="Upgrade" Id="{4EBEC6A2-DB4C-396B-BAE7-890D1D7EB9B3}"/>
70+
<!--'Microsoft ASP.NET Core 3.1.1 - Shared Framework'-->
71+
<RelatedBundle Action="Upgrade" Id="{5F160755-5B95-32A7-8D4F-ED1BA9F959D1}"/>
72+
<!--'Microsoft ASP.NET Core 3.1.0 - Shared Framework'-->
73+
<RelatedBundle Action="Upgrade" Id="{AC05AAAB-C217-3B65-95FE-11D2CB07A485}"/>
74+
<?endif?>
75+
<?endif?>
76+
2777
<PayloadGroup Id="PG_Resources">
2878
<?foreach lcid in 2052;1028;1029;1031;3082;1036;1040;1041;1042;1045;1046;1049;1055?>
2979
<Payload Id="PL_thm_$(var.lcid)" SourceFile="$(var.lcid)\thm.wxl" Name="$(var.lcid)\thm.wxl" Compressed="yes"/>

src/Installers/Windows/WindowsHostingBundle/Bundle.wxs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,28 @@
1919
<RelatedBundle Action="Upgrade" Id="{EA47395A-BC9B-3ECC-8229-229BC9528DF6}"/>
2020
<?endif?>
2121

22+
<!-- Ensure upgrades from 3.1.0 thru 3.1.8 for x64. -->
23+
<?if $(var.Version)=3.1.0.0?>
24+
<!--'Microsoft .NET Core 3.1.8 - Windows Server Hosting'-->
25+
<RelatedBundle Action="Upgrade" Id="{81D96996-6F29-3BAC-82C6-9156FE1BD5FB}"/>
26+
<!--'Microsoft .NET Core 3.1.7 - Windows Server Hosting'-->
27+
<RelatedBundle Action="Upgrade" Id="{44D6EE78-0248-36AD-9B2C-26FA728E477D}"/>
28+
<!--'Microsoft .NET Core 3.1.6 - Windows Server Hosting'-->
29+
<RelatedBundle Action="Upgrade" Id="{C0453F97-42DD-3CD5-9FCE-018DD1F1A020}"/>
30+
<!--'Microsoft .NET Core 3.1.5 - Windows Server Hosting'-->
31+
<RelatedBundle Action="Upgrade" Id="{8BF71BDA-9BF7-3AD5-9E6B-3656FEEC95AA}"/>
32+
<!--'Microsoft .NET Core 3.1.4 - Windows Server Hosting'-->
33+
<RelatedBundle Action="Upgrade" Id="{6CF8B606-EE26-3536-BEFE-410EA70DBB94}"/>
34+
<!--'Microsoft .NET Core 3.1.3 - Windows Server Hosting'-->
35+
<RelatedBundle Action="Upgrade" Id="{71F4232E-75BF-32AF-9A8F-1E87CC17CC6C}"/>
36+
<!--'Microsoft .NET Core 3.1.2 - Windows Server Hosting'-->
37+
<RelatedBundle Action="Upgrade" Id="{3CDBE509-D166-335B-BD17-EA6FDAC4E03A}"/>
38+
<!--'Microsoft .NET Core 3.1.1 - Windows Server Hosting'-->
39+
<RelatedBundle Action="Upgrade" Id="{62155173-E27B-3936-997F-56DA96ED19B5}"/>
40+
<!--'Microsoft .NET Core 3.1.0 - Windows Server Hosting'-->
41+
<RelatedBundle Action="Upgrade" Id="{6F741175-2F75-3845-B30B-6C364101EAA2}"/>
42+
<?endif?>
43+
2244
<PayloadGroup Id="PG_Resources">
2345
<?foreach lcid in 2052;1028;1029;1031;3082;1036;1040;1041;1042;1045;1046;1049;1055?>
2446
<Payload Id="PL_thm_$(var.lcid)" SourceFile="$(var.lcid)\thm.wxl" Name="$(var.lcid)\thm.wxl" Compressed="yes"/>

0 commit comments

Comments
 (0)