Can't install PostgreSQL: An error occurred executing the Microsoft VC++ runtime installer on Windows XP

前端 未结 14 1246
眼角桃花
眼角桃花 2021-01-30 12:08

I downloaded installer postgresql-9.0.1-1-windows.exe from the official site, ran it, and then got an error:

An error occurred executing the Microsoft VC+

14条回答
  •  说谎
    说谎 (楼主)
    2021-01-30 12:42

    Windows Script Host (WSH) is unable to execute VBScript scripts. This can occur if the scripting host is disabled (which is unusual), or if the installation is broken. A sign of this problem is a message like

    CScript Error: Can't find script engine "VBScript" for script "C:....

    It can often be resolved by re-registering the VBScript interpreter, click Start * → * Run and enter the following and click OK:

    regsvr32 %systemroot%\system32\vbscript.dll
    

提交回复
热议问题