安装 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
既windows\inf\wsh.inf
2、管理员运行cmd,工作目录切换到postgresql安装文件所在目录,运行
postgresql-8.4.2-1-windows.exe --install_runtimes 0 注意install 前面是两个-符号
postgresql-8.4.2-1-windows.exe --install_runtimes 0 注意install 前面是两个-符号
本文提供了两种解决在安装PostgreSQL过程中出现的An error occurred executing the Microsoft VC++ runtime installer错误的方法。第一种方法涉及修改Windows系统文件夹下的wsh.inf文件;第二种方法则是在管理员权限的命令提示符中运行特定的PostgreSQL安装命令。
2279

被折叠的 条评论
为什么被折叠?



