我曾尝试在 Windows 10 机器上安装 SQL Server 2019 Express。安装失败并出现以下错误。
Component name: Microsoft ODBC Driver for SQL Server
Error description: Please install the Visual C++ 2017 Redistributable from https://aka.ms/vs/15/release/vc_redist.x64.exe before running this installer.
即使在从上述位置提到的位置安装 Visual C++ 2017 Redistributable 并重新启动机器后,我仍然遇到同样的错误。
我也安装了所有系统更新并尝试安装但得到了同样的错误。
日志文件的详细信息如下
Doing action: Sqlmsirc_NotifyFeatureStates_64
InstallInitialize. Return value 1.
Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSIF765.tmp, Entrypoint: Sqlmsirc_NotifyFeatureStates
Sqlmsirc_NotifyFeatureStates_64.
Sqlmsirc_NotifyFeatureStates_64 3: Sqlmsirc_NotifyFeatureStates 4: C:\WINDOWS\Installer\MSIF765.tmp
CustomAction Sqlmsirc_NotifyFeatureStates_64 returned actual error code 1157 (note this may not be 100% accurate if translation happened inside sandbox)
Product: Microsoft ODBC Driver 17 for SQL Server -- Error 1723. Please install the Visual C++ 2017 Redistributable from https://aka.ms/vs/15/release/vc_redist.x64.exe before running this installer. Action Sqlmsirc_NotifyFeatureStates_64, entry: Sqlmsirc_NotifyFeatureStates, library: C:\WINDOWS\Installer\MSIF765.tmp
Error 1723. Please install the Visual C++ 2017 Redistributable from https://aka.ms/vs/15/release/vc_redist.x64.exe before running this installer. Action Sqlmsirc_NotifyFeatureStates_64, entry: Sqlmsirc_NotifyFeatureStates, library: C:\WINDOWS\Installer\MSIF765.tmp