问题描述
Windows安装PostgreSQL时,报错:
There has been an error.An error occured executing the Microsoft VC++ runtime installer。
安装环境
系统版本:Windows 10 专业版 64位
软件版本:PostgreSQL 9.6.17
解决方法
进入cmd,切换到安装包目录,输入安装包名和–install_runtimes 0,在这里我输入
postgresql-9.6.17-1-windows-x64.exe --install_runtimes 0即可安装。