---
title: "安装 postgresql 报错 \"An error occured executing the Microsoft VC++ runtime installe"
author: "coderliang2018"
date: "2014-02-24T13:30:16Z"
tags: []
categories: ["数据库"]
slug: "postgresql-an-error-occured-executing-the-microsoft-vc-runtime-installe"
draft: false
lastmod: "2014-02-24T13:31:50Z"
id: 2020931
url: "https://coderliang2018.iteye.com/blog/2020931"
---

安装 postgresql 报错 "An error occured executing the Microsoft VC++ runtime installer"解决方法有二：

     1、Go to file %windir%\\inf\\wsh.inf, right click and select 'Install'   
      既windows\\inf\\wsh.inf

     2、管理员运行cmd，工作目录切换到postgresql安装文件所在目录，运行  
     postgresql-8.4.2-1-windows.exe --install\_runtimes 0 注意install 前面是两个-符号