Skip to content

.NET 7.0.0-rc1 ASP.NET Core Hosting Bundle fails to install x64 runtime/ANCM on Server 2016 #44113

Closed
@snickler

Description

@snickler

I have a few Server 2016 VMs hosting ASP.NET Core 3.1 and ASP.NET Core 6 applications in IIS through the .NET Core Hosting Bundles.

Upon installing the .NET 7 rc1 Hosting Bundle, I noticed that it's ONLY installing the x86 runtime and nothing for x64. Comparing snippets of the installation logs for .NET 6 Hosting Bundle compared to the .NET 7 rc1 hosting bundle, it seems some of the machine detection logic has changed?

I've even tried running the installation with an admin prompt with the OPT_NO_X86=1 flag, and it doesn't make a difference. The only way anything x64-related installs is if I manually install the components. ASP.NET Core Runtime and .NET Core Runtime x64 will install properly when done manually. The ANCM is another story.

.NET 6 Hosting Bundle:

[0704:1294][2021-12-16T06:53:41]i052: Condition 'NOT VersionNT64 AND (VersionNT >= v6.1) AND (IISCoreWebEngineInstalled_x86=1) AND (IISW3SVCInstalled_x86=1) AND (NOT OPT_NO_ANCM OR OPT_NO_ANCM="0")' evaluates to false.
[0704:1294][2021-12-16T06:53:41]i052: Condition 'VersionNT64 AND (VersionNT64 >= v6.1) AND (IISCoreWebEngineInstalled_x64=1) AND (IISW3SVCInstalled_x64=1) AND (NOT OPT_NO_ANCM OR OPT_NO_ANCM="0")' evaluates to true.
[0704:1294][2021-12-16T06:53:41]i000: Setting string variable 'WixBundleRollbackLog_AspNetCoreModuleV2_x64' to value 'C:\Users\***\AppData\Local\Temp\dd_dd_DotNetCoreWinSvrHosting__20211216065338_001_AspNetCoreModuleV2_x64_rollback.log'
[0704:1294][2021-12-16T06:53:41]i000: Setting string variable 'WixBundleLog_AspNetCoreModuleV2_x64' to value 'C:\Users\***\AppData\Local\Temp\dd_dd_DotNetCoreWinSvrHosting__20211216065338_001_AspNetCoreModuleV2_x64.log'
[0704:1294][2021-12-16T06:53:41]i052: Condition 'VersionNT64 AND (NOT OPT_NO_RUNTIME OR OPT_NO_RUNTIME="0")' evaluates to true.
[0704:1294][2021-12-16T06:53:41]w321: Skipping dependency registration on package with no dependency providers: DotNetRedistLts_x64
[0704:1294][2021-12-16T06:53:41]i000: Setting string variable 'WixBundleLog_DotNetRedistLts_x64' to value 'C:\Users\***\AppData\Local\Temp\dd_dd_DotNetCoreWinSvrHosting__20211216065338_002_DotNetRedistLts_x64.log'
[0704:1294][2021-12-16T06:53:41]i052: Condition '(NOT OPT_NO_RUNTIME OR OPT_NO_RUNTIME="0") AND (NOT OPT_NO_X86 OR OPT_NO_X86="0")' evaluates to true.
[0704:1294][2021-12-16T06:53:41]w321: Skipping dependency registration on package with no dependency providers: DotNetRedistLts_x86
[0704:1294][2021-12-16T06:53:41]i000: Setting string variable 'WixBundleLog_DotNetRedistLts_x86' to value 'C:\Users\***\AppData\Local\Temp\dd_dd_DotNetCoreWinSvrHosting__20211216065338_003_DotNetRedistLts_x86.log'
[0704:1294][2021-12-16T06:53:41]i052: Condition 'VersionNT64 AND (NOT OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX="0")' evaluates to true.
[0704:1294][2021-12-16T06:53:41]w321: Skipping dependency registration on package with no dependency providers: SharedFxRedist_x64
[0704:1294][2021-12-16T06:53:41]i000: Setting string variable 'WixBundleLog_SharedFxRedist_x64' to value 'C:\Users\***\AppData\Local\Temp\dd_dd_DotNetCoreWinSvrHosting__20211216065338_004_SharedFxRedist_x64.log'
[0704:1294][2021-12-16T06:53:41]i052: Condition '(NOT OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX="0") AND (NOT OPT_NO_X86 OR OPT_NO_X86="0")' evaluates to true.
[0704:1294][2021-12-16T06:53:41]w321: Skipping dependency registration on package with no dependency providers: SharedFxRedist_x86
[0704:1294][2021-12-16T06:53:41]i000: Setting string variable 'WixBundleLog_SharedFxRedist_x86' to value 'C:\Users\***\AppData\Local\Temp\dd_dd_DotNetCoreWinSvrHosting__20211216065338_005_SharedFxRedist_x86.log'
[0704:1294][2021-12-16T06:53:41]i201: Planned package: WindowsServerHostingBundleOptions.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0704:1294][2021-12-16T06:53:41]i201: Planned package: AspNetCoreModuleV2_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0704:1294][2021-12-16T06:53:41]i201: Planned package: AspNetCoreModuleV2_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0704:1294][2021-12-16T06:53:41]i201: Planned package: DotNetRedistLts_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[0704:1294][2021-12-16T06:53:41]i201: Planned package: DotNetRedistLts_x86, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[0704:1294][2021-12-16T06:53:41]i201: Planned package: SharedFxRedist_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[0704:1294][2021-12-16T06:53:41]i201: Planned package: SharedFxRedist_x86, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
[0704:1294][2021-12-16T06:53:41]i299: Plan complete, result: 0x0

.NET 7 rc1 Hosting Bundle:

[1638:16B4][2022-09-15T06:32:10]i052: Condition '(NativeMachine="332") AND (IISCoreWebEngineInstalled_x86=1) AND (IISW3SVCInstalled_x86=1) AND (NOT OPT_NO_ANCM OR OPT_NO_ANCM="0")' evaluates to false.
[1638:16B4][2022-09-15T06:32:10]i052: Condition '(NativeMachine="34404") AND (IISCoreWebEngineInstalled_x64=1) AND (IISW3SVCInstalled_x64=1) AND (NOT OPT_NO_ANCM OR OPT_NO_ANCM="0")' evaluates to false.
[1638:16B4][2022-09-15T06:32:10]i052: Condition '(NativeMachine="43620") AND (IISCoreWebEngineInstalled_x64=1) AND (IISW3SVCInstalled_x64=1) AND (NOT OPT_NO_ANCM OR OPT_NO_ANCM="0")' evaluates to false.
[1638:16B4][2022-09-15T06:32:10]i052: Condition '(NativeMachine="43620") AND (NOT OPT_NO_RUNTIME OR OPT_NO_RUNTIME="0")' evaluates to false.
[1638:16B4][2022-09-15T06:32:10]w321: Skipping dependency registration on package with no dependency providers: DotNetRedistLts_arm64
[1638:16B4][2022-09-15T06:32:10]i052: Condition '(NativeMachine="34404") AND (NOT OPT_NO_RUNTIME OR OPT_NO_RUNTIME="0")' evaluates to false.
[1638:16B4][2022-09-15T06:32:10]w321: Skipping dependency registration on package with no dependency providers: DotNetRedistLts_x64
[1638:16B4][2022-09-15T06:32:10]i052: Condition '(NOT OPT_NO_RUNTIME OR OPT_NO_RUNTIME="0") AND (NOT OPT_NO_X86 OR OPT_NO_X86="0")' evaluates to true.
[1638:16B4][2022-09-15T06:32:10]w321: Skipping dependency registration on package with no dependency providers: DotNetRedistLts_x86
[1638:16B4][2022-09-15T06:32:10]i000: Setting string variable 'WixBundleLog_DotNetRedistLts_x86' to value 'C:\Users\***\AppData\Local\Temp\dd_dd_DotNetCoreWinSvrHosting__20220915063202_001_DotNetRedistLts_x86.log'
[1638:16B4][2022-09-15T06:32:10]i000: Setting string variable 'WixBundleRollbackLog_DotNetRedistLts_x86' to value 'C:\Users\***\AppData\Local\Temp\dd_dd_DotNetCoreWinSvrHosting__20220915063202_001_DotNetRedistLts_x86_rollback.log'
[1638:16B4][2022-09-15T06:32:10]i052: Condition '(NativeMachine="43620") AND (NOT OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX="0")' evaluates to false.
[1638:16B4][2022-09-15T06:32:10]w321: Skipping dependency registration on package with no dependency providers: SharedFxRedist_arm64
[1638:16B4][2022-09-15T06:32:10]i052: Condition '(NativeMachine="34404") AND (NOT OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX="0")' evaluates to false.
[1638:16B4][2022-09-15T06:32:10]w321: Skipping dependency registration on package with no dependency providers: SharedFxRedist_x64
[1638:16B4][2022-09-15T06:32:10]i052: Condition '(NOT OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX="0") AND (NOT OPT_NO_X86 OR OPT_NO_X86="0")' evaluates to true.
[1638:16B4][2022-09-15T06:32:10]w321: Skipping dependency registration on package with no dependency providers: SharedFxRedist_x86
[1638:16B4][2022-09-15T06:32:10]i000: Setting string variable 'WixBundleLog_SharedFxRedist_x86' to value 'C:\Users\***\AppData\Local\Temp\dd_dd_DotNetCoreWinSvrHosting__20220915063202_002_SharedFxRedist_x86.log'
[1638:16B4][2022-09-15T06:32:10]i000: Setting string variable 'WixBundleRollbackLog_SharedFxRedist_x86' to value 'C:\Users\***\AppData\Local\Temp\dd_dd_DotNetCoreWinSvrHosting__20220915063202_002_SharedFxRedist_x86_rollback.log'
[1638:16B4][2022-09-15T06:32:10]i201: Planned package: WindowsServerHostingBundleOptions.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[1638:16B4][2022-09-15T06:32:10]i201: Planned package: AspNetCoreModuleV2_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1638:16B4][2022-09-15T06:32:10]i201: Planned package: AspNetCoreModuleV2_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1638:16B4][2022-09-15T06:32:10]i201: Planned package: AspNetCoreModuleV2_arm64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1638:16B4][2022-09-15T06:32:10]i201: Planned package: DotNetRedistLts_arm64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1638:16B4][2022-09-15T06:32:10]i201: Planned package: DotNetRedistLts_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1638:16B4][2022-09-15T06:32:10]i201: Planned package: DotNetRedistLts_x86, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None
[1638:16B4][2022-09-15T06:32:10]i201: Planned package: SharedFxRedist_arm64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1638:16B4][2022-09-15T06:32:10]i201: Planned package: SharedFxRedist_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[1638:16B4][2022-09-15T06:32:10]i201: Planned package: SharedFxRedist_x86, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None
[1638:16B4][2022-09-15T06:32:10]i299: Plan complete, result: 0x0

Metadata

Metadata

Assignees

Labels

✔️ Resolution: FixedThe bug or enhancement requested in this issue has been checked-in!area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsfeature-iisIncludes: IIS, ANCMfeature-installersIncludes: Installers

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions