Skip to content

Commit 3c4c0fa

Browse files
committed
Split ifs
1 parent d91a202 commit 3c4c0fa

File tree

1 file changed

+23
-21
lines changed
  • src/Installers/Windows/WindowsHostingBundle

1 file changed

+23
-21
lines changed

src/Installers/Windows/WindowsHostingBundle/Bundle.wxs

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,29 @@
1717
<?endif?>
1818

1919
<!-- Ensure upgrades from 3.1.0 thru 3.1.9 for x64. -->
20-
<?if $(MajorVersion)=3 and $(MinorVersion)=1?>
21-
<!--'Microsoft .NET Core 3.1.9 - Windows Server Hosting'-->
22-
<RelatedBundle Action="upgrade" Id="{E4913286-9840-380A-8743-3DF839147FF0}" />
23-
<!--'Microsoft .NET Core 3.1.8 - Windows Server Hosting'-->
24-
<RelatedBundle Action="upgrade" Id="{81D96996-6F29-3BAC-82C6-9156FE1BD5FB}" />
25-
<!--'Microsoft .NET Core 3.1.7 - Windows Server Hosting'-->
26-
<RelatedBundle Action="upgrade" Id="{44D6EE78-0248-36AD-9B2C-26FA728E477D}" />
27-
<!--'Microsoft .NET Core 3.1.6 - Windows Server Hosting'-->
28-
<RelatedBundle Action="upgrade" Id="{C0453F97-42DD-3CD5-9FCE-018DD1F1A020}" />
29-
<!--'Microsoft .NET Core 3.1.5 - Windows Server Hosting'-->
30-
<RelatedBundle Action="upgrade" Id="{8BF71BDA-9BF7-3AD5-9E6B-3656FEEC95AA}" />
31-
<!--'Microsoft .NET Core 3.1.4 - Windows Server Hosting'-->
32-
<RelatedBundle Action="upgrade" Id="{6CF8B606-EE26-3536-BEFE-410EA70DBB94}" />
33-
<!--'Microsoft .NET Core 3.1.3 - Windows Server Hosting'-->
34-
<RelatedBundle Action="upgrade" Id="{71F4232E-75BF-32AF-9A8F-1E87CC17CC6C}" />
35-
<!--'Microsoft .NET Core 3.1.2 - Windows Server Hosting'-->
36-
<RelatedBundle Action="upgrade" Id="{3CDBE509-D166-335B-BD17-EA6FDAC4E03A}" />
37-
<!--'Microsoft .NET Core 3.1.1 - Windows Server Hosting'-->
38-
<RelatedBundle Action="upgrade" Id="{62155173-E27B-3936-997F-56DA96ED19B5}" />
39-
<!--'Microsoft .NET Core 3.1.0 - Windows Server Hosting'-->
40-
<RelatedBundle Action="upgrade" Id="{6F741175-2F75-3845-B30B-6C364101EAA2}" />
20+
<?if $(MajorVersion)=3?>
21+
<?if $(MinorVersion)=1?>
22+
<!--'Microsoft .NET Core 3.1.9 - Windows Server Hosting'-->
23+
<RelatedBundle Action="upgrade" Id="{E4913286-9840-380A-8743-3DF839147FF0}" />
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?>
4143
<?endif?>
4244

4345
<!-- Customizations of the default BA -->

0 commit comments

Comments
 (0)