Allow disabling shared configuration check from hosting bundle. (#6498)
This commit is contained in:
parent
f44c175ec6
commit
5b56de94fd
|
|
@ -60,6 +60,7 @@
|
||||||
|
|
||||||
<Property Id="ARPCONTACT">Microsoft Corporation</Property>
|
<Property Id="ARPCONTACT">Microsoft Corporation</Property>
|
||||||
<Property Id="ARPPRODUCTICON" Value="AspNetCoreModule.ico" />
|
<Property Id="ARPPRODUCTICON" Value="AspNetCoreModule.ico" />
|
||||||
|
<Property Id="OPT_NO_SHARED_CONFIG_CHECK" Value="0"/>
|
||||||
<Icon Id="AspNetCoreModule.ico" SourceFile="..\Bitmaps\AspNetCoreModule.ico" />
|
<Icon Id="AspNetCoreModule.ico" SourceFile="..\Bitmaps\AspNetCoreModule.ico" />
|
||||||
<!-- <Property Id="REINSTALLMODE" Value="emus"/> -->
|
<!-- <Property Id="REINSTALLMODE" Value="emus"/> -->
|
||||||
|
|
||||||
|
|
@ -251,7 +252,7 @@
|
||||||
<AppSearch Before="LaunchConditions" />
|
<AppSearch Before="LaunchConditions" />
|
||||||
<LaunchConditions After="FindRelatedProducts" />
|
<LaunchConditions After="FindRelatedProducts" />
|
||||||
<MigrateFeatureStates />
|
<MigrateFeatureStates />
|
||||||
<Custom Action="CheckForSharedConfiguration" After="InstallInitialize"></Custom>
|
<Custom Action="CheckForSharedConfiguration" After="InstallInitialize">OPT_NO_SHARED_CONFIG_CHECK=0 AND NOT Installed AND NOT REMOVE="ALL"</Custom>
|
||||||
<Custom Action="CA_UNLOCk_HANDLER_PROPERTY" After="InstallFiles"><![CDATA[(NOT PATCH)]]></Custom>
|
<Custom Action="CA_UNLOCk_HANDLER_PROPERTY" After="InstallFiles"><![CDATA[(NOT PATCH)]]></Custom>
|
||||||
<Custom Action="CA_UNLOCk_HANDLER" After="CA_UNLOCk_HANDLER_PROPERTY"><![CDATA[(NOT PATCH)]]></Custom>
|
<Custom Action="CA_UNLOCk_HANDLER" After="CA_UNLOCk_HANDLER_PROPERTY"><![CDATA[(NOT PATCH)]]></Custom>
|
||||||
<Custom Action="UpdateDynamicCompression" After="InstallFiles"><![CDATA[(NOT PATCH)]]></Custom>
|
<Custom Action="UpdateDynamicCompression" After="InstallFiles"><![CDATA[(NOT PATCH)]]></Custom>
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,7 @@
|
||||||
|
|
||||||
<Property Id="ARPCONTACT">Microsoft Corporation</Property>
|
<Property Id="ARPCONTACT">Microsoft Corporation</Property>
|
||||||
<Property Id="ARPPRODUCTICON" Value="AspNetCoreModule.ico" />
|
<Property Id="ARPPRODUCTICON" Value="AspNetCoreModule.ico" />
|
||||||
|
<Property Id="OPT_NO_SHARED_CONFIG_CHECK" Value="0"/>
|
||||||
<Icon Id="AspNetCoreModule.ico" SourceFile="..\Bitmaps\AspNetCoreModule.ico" />
|
<Icon Id="AspNetCoreModule.ico" SourceFile="..\Bitmaps\AspNetCoreModule.ico" />
|
||||||
<!-- <Property Id="REINSTALLMODE" Value="emus"/> -->
|
<!-- <Property Id="REINSTALLMODE" Value="emus"/> -->
|
||||||
|
|
||||||
|
|
@ -285,7 +286,7 @@
|
||||||
<AppSearch Before="LaunchConditions" />
|
<AppSearch Before="LaunchConditions" />
|
||||||
<LaunchConditions After="FindRelatedProducts" />
|
<LaunchConditions After="FindRelatedProducts" />
|
||||||
<MigrateFeatureStates />
|
<MigrateFeatureStates />
|
||||||
<Custom Action="CheckForSharedConfiguration" After="InstallInitialize"></Custom>
|
<Custom Action="CheckForSharedConfiguration" After="InstallInitialize">OPT_NO_SHARED_CONFIG_CHECK=0 AND NOT Installed AND NOT REMOVE="ALL"</Custom>
|
||||||
<Custom Action="CA_UNLOCk_HANDLER_PROPERTY" After="InstallFiles"><![CDATA[(NOT PATCH)]]></Custom>
|
<Custom Action="CA_UNLOCk_HANDLER_PROPERTY" After="InstallFiles"><![CDATA[(NOT PATCH)]]></Custom>
|
||||||
<Custom Action="CA_UNLOCk_HANDLER" After="CA_UNLOCk_HANDLER_PROPERTY"><![CDATA[(NOT PATCH)]]></Custom>
|
<Custom Action="CA_UNLOCk_HANDLER" After="CA_UNLOCk_HANDLER_PROPERTY"><![CDATA[(NOT PATCH)]]></Custom>
|
||||||
<Custom Action="UpdateDynamicCompression" After="InstallFiles"><![CDATA[(NOT PATCH)]]></Custom>
|
<Custom Action="UpdateDynamicCompression" After="InstallFiles"><![CDATA[(NOT PATCH)]]></Custom>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<PackageGroup Id="PG_ANCM">
|
<PackageGroup Id="PG_ANCM">
|
||||||
<RollbackBoundary Id="RB_ANCM" />
|
<RollbackBoundary Id="RB_ANCM" />
|
||||||
|
|
@ -9,28 +9,36 @@
|
||||||
Compressed="yes"
|
Compressed="yes"
|
||||||
Vital="yes"
|
Vital="yes"
|
||||||
Visible="no"
|
Visible="no"
|
||||||
InstallCondition="NOT VersionNT64 AND (VersionNT >= v6.1) AND (IISCoreWebEngineInstalled_x86=1) AND (IISW3SVCInstalled_x86=1) AND (NOT OPT_NO_ANCM)" />
|
InstallCondition="NOT VersionNT64 AND (VersionNT >= v6.1) AND (IISCoreWebEngineInstalled_x86=1) AND (IISW3SVCInstalled_x86=1) AND (NOT OPT_NO_ANCM)">
|
||||||
|
<MsiProperty Name="OPT_NO_SHARED_CONFIG_CHECK" Value="[OPT_NO_SHARED_CONFIG_CHECK]" />
|
||||||
|
</MsiPackage>
|
||||||
|
|
||||||
<MsiPackage Id="AspNetCoreModule_x64" SourceFile="$(var.BinPath)aspnetcoremodule_x64_en.msi"
|
<MsiPackage Id="AspNetCoreModule_x64" SourceFile="$(var.BinPath)aspnetcoremodule_x64_en.msi"
|
||||||
Name="aspnetcoremodule_x64_en.msi"
|
Name="aspnetcoremodule_x64_en.msi"
|
||||||
Compressed="yes"
|
Compressed="yes"
|
||||||
Vital="yes"
|
Vital="yes"
|
||||||
Visible="no"
|
Visible="no"
|
||||||
InstallCondition="VersionNT64 AND (VersionNT64 >= v6.1) AND (IISCoreWebEngineInstalled_x64=1) AND (IISW3SVCInstalled_x64=1) AND (NOT OPT_NO_ANCM)" />
|
InstallCondition="VersionNT64 AND (VersionNT64 >= v6.1) AND (IISCoreWebEngineInstalled_x64=1) AND (IISW3SVCInstalled_x64=1) AND (NOT OPT_NO_ANCM)">
|
||||||
|
<MsiProperty Name="OPT_NO_SHARED_CONFIG_CHECK" Value="[OPT_NO_SHARED_CONFIG_CHECK]" />
|
||||||
|
</MsiPackage>
|
||||||
|
|
||||||
<MsiPackage Id="AspNetCoreModuleV2_x86" SourceFile="$(var.BinPath)aspnetcoremodule_x86_en_v2.msi"
|
<MsiPackage Id="AspNetCoreModuleV2_x86" SourceFile="$(var.BinPath)aspnetcoremodule_x86_en_v2.msi"
|
||||||
Name="aspnetcoremodule_x86_en_v2.msi"
|
Name="aspnetcoremodule_x86_en_v2.msi"
|
||||||
Compressed="yes"
|
Compressed="yes"
|
||||||
Vital="yes"
|
Vital="yes"
|
||||||
Visible="no"
|
Visible="no"
|
||||||
InstallCondition="NOT VersionNT64 AND (VersionNT >= v6.1) AND (IISCoreWebEngineInstalled_x86=1) AND (IISW3SVCInstalled_x86=1) AND (NOT OPT_NO_ANCM)" />
|
InstallCondition="NOT VersionNT64 AND (VersionNT >= v6.1) AND (IISCoreWebEngineInstalled_x86=1) AND (IISW3SVCInstalled_x86=1) AND (NOT OPT_NO_ANCM)">
|
||||||
|
<MsiProperty Name="OPT_NO_SHARED_CONFIG_CHECK" Value="[OPT_NO_SHARED_CONFIG_CHECK]" />
|
||||||
|
</MsiPackage>
|
||||||
|
|
||||||
<MsiPackage Id="AspNetCoreModuleV2_x64" SourceFile="$(var.BinPath)aspnetcoremodule_x64_en_v2.msi"
|
<MsiPackage Id="AspNetCoreModuleV2_x64" SourceFile="$(var.BinPath)aspnetcoremodule_x64_en_v2.msi"
|
||||||
Name="aspnetcoremodule_x64_en_v2.msi"
|
Name="aspnetcoremodule_x64_en_v2.msi"
|
||||||
Compressed="yes"
|
Compressed="yes"
|
||||||
Vital="yes"
|
Vital="yes"
|
||||||
Visible="no"
|
Visible="no"
|
||||||
InstallCondition="VersionNT64 AND (VersionNT64 >= v6.1) AND (IISCoreWebEngineInstalled_x64=1) AND (IISW3SVCInstalled_x64=1) AND (NOT OPT_NO_ANCM)" />
|
InstallCondition="VersionNT64 AND (VersionNT64 >= v6.1) AND (IISCoreWebEngineInstalled_x64=1) AND (IISW3SVCInstalled_x64=1) AND (NOT OPT_NO_ANCM)">
|
||||||
|
<MsiProperty Name="OPT_NO_SHARED_CONFIG_CHECK" Value="[OPT_NO_SHARED_CONFIG_CHECK]" />
|
||||||
|
</MsiPackage>
|
||||||
</PackageGroup>
|
</PackageGroup>
|
||||||
|
|
||||||
<util:RegistrySearch Id="IISCoreWebEngineInstalledSearch_x86"
|
<util:RegistrySearch Id="IISCoreWebEngineInstalledSearch_x86"
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@
|
||||||
<Variable Name="OPT_NO_SHAREDFX" Value="0" bal:Overridable="yes"/>
|
<Variable Name="OPT_NO_SHAREDFX" Value="0" bal:Overridable="yes"/>
|
||||||
<Variable Name="OPT_NO_RUNTIME" Value="0" bal:Overridable="yes"/>
|
<Variable Name="OPT_NO_RUNTIME" Value="0" bal:Overridable="yes"/>
|
||||||
<Variable Name="OPT_NO_X86" Value="0" bal:Overridable="yes"/>
|
<Variable Name="OPT_NO_X86" Value="0" bal:Overridable="yes"/>
|
||||||
|
<Variable Name="OPT_NO_SHARED_CONFIG_CHECK" Value="0" bal:Overridable="yes" />
|
||||||
|
|
||||||
<!-- These variables control the state of conditional UI text elements.
|
<!-- These variables control the state of conditional UI text elements.
|
||||||
They are disabled by default and enabled based on whether or not we detect that IIS is installed -->
|
They are disabled by default and enabled based on whether or not we detect that IIS is installed -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue