Skip to content

Commit 3c40d53

Browse files
authored
Remove OPT_NO_FTS/LTS (#39141)
1 parent 1174569 commit 3c40d53

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

src/Installers/Windows/HostOptions/Product.wxs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
<!-- Custom Actions to assign a default of 0 to all switches -->
1111
<CustomAction Id="Set_OPT_NO_ANCM" Property="OPT_NO_ANCM" Value="0" />
12-
<CustomAction Id="Set_OPT_NO_FTS" Property="OPT_NO_FTS" Value="0" />
13-
<CustomAction Id="Set_OPT_NO_LTS" Property="OPT_NO_LTS" Value="0" />
1412
<CustomAction Id="Set_OPT_NO_SHAREDFX" Property="OPT_NO_SHAREDFX" Value="0" />
1513
<CustomAction Id="Set_OPT_NO_RUNTIME" Property="OPT_NO_RUNTIME" Value="0" />
1614
<CustomAction Id="Set_OPT_NO_X86" Property="OPT_NO_X86" Value="0" />
@@ -22,8 +20,6 @@
2220
<!-- Second option is to use registry values, if present. -->
2321
<!-- Third option is to set the options all to 0, which we do here. -->
2422
<Custom Action="Set_OPT_NO_ANCM" After="AppSearch">NOT OPT_NO_ANCM OR OPT_NO_ANCM=""</Custom>
25-
<Custom Action="Set_OPT_NO_FTS" After="AppSearch">NOT OPT_NO_FTS OR OPT_NO_FTS=""</Custom>
26-
<Custom Action="Set_OPT_NO_LTS" After="AppSearch">NOT OPT_NO_LTS OR OPT_NO_LTS=""</Custom>
2723
<Custom Action="Set_OPT_NO_SHAREDFX" After="AppSearch">NOT OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX=""</Custom>
2824
<Custom Action="Set_OPT_NO_RUNTIME" After="AppSearch">NOT OPT_NO_RUNTIME OR OPT_NO_RUNTIME=""</Custom>
2925
<Custom Action="Set_OPT_NO_X86" After="AppSearch">NOT OPT_NO_X86 OR OPT_NO_X86=""</Custom>
@@ -57,8 +53,6 @@
5753
<Component Id="OPT" Guid="*">
5854
<RegistryKey Root="HKLM" Key="$(var.ProductOptionsKey)">
5955
<RegistryValue Name="OPT_NO_ANCM" Type="integer" Value="[OPT_NO_ANCM]" KeyPath="yes" />
60-
<RegistryValue Name="OPT_NO_FTS" Type="integer" Value="[OPT_NO_FTS]" />
61-
<RegistryValue Name="OPT_NO_LTS" Type="integer" Value="[OPT_NO_LTS]" />
6256
<RegistryValue Name="OPT_NO_SHAREDFX" Type="integer" Value="[OPT_NO_SHAREDFX]" />
6357
<RegistryValue Name="OPT_NO_RUNTIME" Type="integer" Value="[OPT_NO_RUNTIME]" />
6458
<RegistryValue Name="OPT_NO_X86" Type="integer" Value="[OPT_NO_X86]" />

src/Installers/Windows/WindowsHostingBundle/Bundle.wxs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,15 @@
5858
<Variable Name="BundleNameShort" Value="$(var.BundleNameShort)"/>
5959
<Variable Name="BundleNameSub" Value="$(var.BundleNameSub)"/>
6060
<Variable Name="OPT_NO_ANCM" bal:Overridable="yes"/>
61-
<Variable Name="OPT_NO_FTS" bal:Overridable="yes"/>
62-
<Variable Name="OPT_NO_LTS" bal:Overridable="yes"/>
6361
<Variable Name="OPT_NO_SHAREDFX" bal:Overridable="yes"/>
6462
<Variable Name="OPT_NO_RUNTIME" bal:Overridable="yes"/>
6563
<Variable Name="OPT_NO_X86" bal:Overridable="yes"/>
6664
<Variable Name="OPT_NO_SHARED_CONFIG_CHECK" bal:Overridable="yes" />
6765

6866
<!-- Use values from the registry for switches, if the registry values are set & the user hasn't passed any switches from the command line -->
6967

70-
<?define Options=OPT_NO_ANCM;OPT_NO_FTS;OPT_NO_LTS;OPT_NO_SHAREDFX;OPT_NO_RUNTIME;OPT_NO_X86;OPT_NO_SHARED_CONFIG_CHECK ?>
71-
<?define RegistrySeachCondition="NOT (OPT_NO_ANCM OR OPT_NO_ANCM=0 OR OPT_NO_FTS OR OPT_NO_FTS=0 OR OPT_NO_LTS OR OPT_NO_LTS=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)" ?>
68+
<?define Options=OPT_NO_ANCM;OPT_NO_SHAREDFX;OPT_NO_RUNTIME;OPT_NO_X86;OPT_NO_SHARED_CONFIG_CHECK ?>
69+
<?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)" ?>
7270

7371
<?foreach Option in $(var.Options) ?>
7472
<util:RegistrySearch Id="$(var.Option)_should_be_set"
@@ -97,8 +95,6 @@
9795
<Chain ParallelCache="yes">
9896
<MsiPackage SourceFile="$(var.HostOptions.TargetPath)">
9997
<MsiProperty Name="OPT_NO_ANCM" Value="[OPT_NO_ANCM]"/>
100-
<MsiProperty Name="OPT_NO_FTS" Value="[OPT_NO_FTS]"/>
101-
<MsiProperty Name="OPT_NO_LTS" Value="[OPT_NO_LTS]"/>
10298
<MsiProperty Name="OPT_NO_SHAREDFX" Value="[OPT_NO_SHAREDFX]"/>
10399
<MsiProperty Name="OPT_NO_RUNTIME" Value="[OPT_NO_RUNTIME]"/>
104100
<MsiProperty Name="OPT_NO_X86" Value="[OPT_NO_X86]"/>

0 commit comments

Comments
 (0)