解决安装postgresql安装报An error occurred executing the Microsoft C++ runtime installer.问题

Windows10 在安装postgresql时,postgresql-9.3.3-1-windows-x64.exe

报An error occurred executing the Microsoft C++ runtime installer.错误,一直无法安装,

在网上找了很多解决方法,亲测,这种解决方法可以解决问题。

1. 在360软件管家下安装vc++库

    

2. 打开cmd 找到安装包,执行

postgresql-9.3.3-1-windows-x64.exe --install_runtimes 0


即可开始安装。

问题就解决啦。