Skip to content

Commit d91a202

Browse files
committed
No var.
1 parent b53e918 commit d91a202

File tree

1 file changed

+3
-3
lines changed
  • src/Installers/Windows/WindowsHostingBundle

1 file changed

+3
-3
lines changed

src/Installers/Windows/WindowsHostingBundle/Bundle.wxs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111

1212
<!-- 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
1313
a single set of upgrade codes. -->
14-
<?if $(var.Version)=3.0.0.0?>
14+
<?if $(Version)=3.0.0.0?>
1515
<RelatedBundle Action="upgrade" Id="{D8BFC3A1-72B1-36C1-9E5A-49FE36A5563B}" />
1616
<RelatedBundle Action="upgrade" Id="{EA47395A-BC9B-3ECC-8229-229BC9528DF6}" />
1717
<?endif?>
1818

1919
<!-- Ensure upgrades from 3.1.0 thru 3.1.9 for x64. -->
20-
<?if $(var.MajorVersion)=3 and $(var.MinorVersion)=1?>
20+
<?if $(MajorVersion)=3 and $(MinorVersion)=1?>
2121
<!--'Microsoft .NET Core 3.1.9 - Windows Server Hosting'-->
2222
<RelatedBundle Action="upgrade" Id="{E4913286-9840-380A-8743-3DF839147FF0}" />
2323
<!--'Microsoft .NET Core 3.1.8 - Windows Server Hosting'-->
@@ -59,7 +59,7 @@
5959
<?define RegistrySeachCondition="NOT (OPT_NO_ANCM OR OPT_NO_ANCM=0 OR OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX=0 OR OPT_NO_RUNTIME OR OPT_NO_RUNTIME=0 OR OPT_NO_X86 OR OPT_NO_X86=0 OR OPT_NO_SHARED_CONFIG_CHECK OR OPT_NO_SHARED_CONFIG_CHECK=0)" ?>
6060

6161
<?foreach Option in $(var.Options) ?>
62-
<util:RegistrySearch Id="$(var.Option)_should_be_set" Condition="$(var.RegistrySeachCondition)" Root="HKLM" Key="Software\Microsoft\dotnet\host\options\$(var.MajorVersion).$(var.MinorVersion)" Value="$(var.Option)" Result="exists" Variable="$(var.Option)_Exists" />
62+
<util:RegistrySearch Id="$(var.Option)_should_be_set" Condition="$(var.RegistrySeachCondition)" Root="HKLM" Key="Software\Microsoft\dotnet\host\options\$(MajorVersion).$(MinorVersion)" Value="$(var.Option)" Result="exists" Variable="$(var.Option)_Exists" />
6363

6464
<util:RegistrySearch Condition="$(var.Option)_Exists" After="$(var.Option)_should_be_set" Root="HKLM" Key="Software\Microsoft\dotnet\host\options\$(var.MajorVersion).$(var.MinorVersion)" Value="$(var.Option)" Variable="$(var.Option)" Result="value" />
6565
<?endforeach?>

0 commit comments

Comments
 (0)