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++ runtime installer What is the reason for this error message? Platform: Windows XP SP3, Dell Inspiron 1501. Processor: AMD Sempron 3500+ asked Nov 26, 2010 at 20:14 1 One of the reasons this can happen is because the installer attempts to install an older version of the VC++ runtime than what you are currently using. See this installation log, found in your user's temporary directory (e.g. [20C0:20E4][2019-02-14T19:31:07]e000: Error 0x80070666: Cannot install a product when a newer version is installed. A workaround is to prevent the runtimes from installing with the
Rob 45.4k24 gold badges123 silver badges154 bronze badges answered Nov 27, 2010 at 1:35 Milen A. RadevMilen A. Radev 60.8k22 gold badges106 silver badges110 bronze badges 2
answered Jan 1, 2019 at 18:16 3
answered Nov 28, 2013 at 9:17 0 First download and install Microsoft Visual C++ from the Microsoft website. Then run the installation from command with answered Dec 14, 2015 at 11:44 I was having a similar issue and found a fix that worked for me from Garrett_H in this forum post: Go to file %windir%\inf\wsh.inf, right click and select 'Install' re-run postgresql installer I'm running Windows XP Pro, and I was trying to install An error occurred executing the Microsoft C++ runtime installer. answered Dec 5, 2011 at 6:55 Bryan DowningBryan Downing 15.3k3 gold badges40 silver badges60 bronze badges 2 In my case, when I was installing
0 on Windows 10, I had faced the same problem. I just uninstalled the Microsoft Visual C++ Redistributable (the latest one for both 32 and 64 bit) and then tried to install
0 again, and it worked for me. answered Oct 20, 2018 at 14:40 Try installing as administrator (using Run as administrator). In version 9.0. PostgreSQL can be installed as a Windows administrator :) answered Nov 26, 2010 at 20:17 basaratbasarat 266k59 gold badges462 silver badges516 bronze badges 0 answered Jan 7, 2011 at 2:42 Take special care that your Windows user's folder name does not contain spaces. PostgreSQL (as of version 9.2.2.1) handles that poorly. If I use this account on Windows XP, installation fails with the "An error occurred executing the Microsoft C++ runtime installer" message:
But it runs just fine with this:
The spaces in "Documents and settings" don't seem to bother the installer. Go figure. answered Jan 29, 2013 at 17:17 Go to file
2, right click, and select 'Install'. Then re-run the PostgreSQL installer. This works on Windows XP with PostgreSQL 8.4.17-1. answered May 2, 2013 at 13:00 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:
answered Dec 19, 2018 at 11:01 evan_evan_ 111 silver badge4 bronze badges I had the same problem while trying to install PostgreSQL version 11.1. I had to uninstall the Microsoft VC++ and run the installer again. It downloaded the required VC++ and the installation went successful. |