SQL Server 2014 Express .MSI for LocalDB 无法在目标虚拟机上安装

SQL Server 2014 Express .MSI for LocalDB failed to install on a target vm

Post 在进一步调查后被重写。错误消息是:

Installation of this product failed because it is not supported on this operating system. For information on supported configurations, see the product documentation.

安装目标是 Hyper-V 来宾计算机,如下所示:2G RAM,C: 驱动器上有 14.5 GB 可用空间,2.5 GHz CPU。 .NET 3.5 已开启。

在此页 https://www.microsoft.com/en-us/download/details.aspx?id=42299 上,以下注释让我感到困惑(我强调的是粗体):

Note: Microsoft® SQL Server® 2014 Express includes both 32-bit and 64-bit versions. SQLEXPR32_x86 is a smaller package that can be used to install SQL Server 2014 Express onto only 32-bit operating systems. SQLEXPR_x86 is the same product but supports installation onto both 32-bit and 64-bit (WoW) operating systems. SQLEXPR_x64 is a native 64-bit SQL Server 2014 Express and supports installation onto only 64-bit operating systems. There is no other difference between these packages. Microsoft® SQL Server® 2014 Express is not supported on IA64 systems.

措辞似乎表明 x86.exe 可以在 32/64 位系统上运行,这与我的发现一致。但我认为这也表明 32bit.msi 也适用于 32/64 位系统。我开始相信我误解了,希望确认错误是我对笔记的阅读。

您的错误消息回答了您的问题。您试图将其安装在不受支持的 OS 上。查看列出要求的 https://msdn.microsoft.com/en-us/library/ms143506(v=sql.120).aspx。似乎在 Hyper-V 环境中,SQL 2014 的所有版本仅在 Windows 2008 SP2 上受支持。 2008 R2 SP1,或 2012 OS.

我的特殊问题是误解 32 位 MSI 可以在 64 位上工作 OS。一旦我更改为 64 位 MSI SQL Express 2014,就可以很好地加载到 VM 中。 32 位 x86 .exe 安装文件实际上可以在 64 位上运行 OS,只是 MSI 安装文件不行。

请注意,有两个不同的 _x86 文件名:SQLEXPR32_x86 仅适用于 32 位系统。 SQLEXPR_x86(注意缺少的“32”)将在 64 位和 32 位系统上工作,但仍作为 32 位进程运行。