无法安装PostgreSQL:在Windows XP上执行Microsoft VC ++运行时安装程序时发生错误 [英] Can't install PostgreSQL: An error occurred executing the Microsoft VC++ runtime installer on Windows XP
问题描述
我从官方网站下载了安装程序postgresql-9.0.1-1-windows.exe,运行它,然后出现错误:
I downloaded installer postgresql-9.0.1-1-windows.exe from the official site, ran it, and then got an error:
执行Microsoft VC ++运行时安装程序时发生错误
An error occurred executing the Microsoft VC++ runtime installer
此错误消息的原因是什么?
What is the reason for this error message?
平台:Windows XP SP3,Dell Inspiron1501。处理器:AMD Sempron 3500 +
Platform: Windows XP SP3, Dell Inspiron 1501. Processor: AMD Sempron 3500+
推荐答案
发生这种情况的原因之一是因为安装程序尝试安装的VC ++运行时版本比您当前使用的版本早。
One of the reasons this can happen is because the installer attempts to install an older version of the VC++ runtime than what you are currently using.
请参阅此安装日志,位于您用户的临时目录(例如 dd_vcredist_amd64_20190214193107.log
):
See this installation log, found in your user's temporary directory (e.g. dd_vcredist_amd64_20190214193107.log
):
[20C0:20E4 ] [2019-02-14T19:31:07] e000:错误0x80070666:安装较新版本时无法安装产品。
[20C0:20E4][2019-02-14T19:31:07]e000: Error 0x80070666: Cannot install a product when a newer version is installed.
是为了防止运行时使用-install_runtimes
选项安装:
postgresql-9.6.12-1-windows-x64.exe --install_runtimes 0
这篇关于无法安装PostgreSQL:在Windows XP上执行Microsoft VC ++运行时安装程序时发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!