PostgreSQL installation error on Windows: VC ++ runtime error

Source: Internet
Author: User

Collect two solutions from the Internet:

Confirm InstallationProgramIn the Chinese directory or temp directory, there is a Chinese path. If not, extract it first.

Method 1: If the Windows 7 system is used, the administrator should run cmd.exe and run the installation program with the command.

Method 2: Run postgresql-8.3.10-1-windows.exe -- install_runtimes 0 under cmd as Administrator

Method 3:

1. Go to the directory "C: \ WINDOWS \ inf"
2. Find the "wsh. inf" file in the INF directory.
For files without wsh. inf, you can download the http://www.infdump.com/download-inf-files.php/inffiles/W/WSH.INF/download.html here
Or download wsh. inf from here
3. Right-click the "wsh. inf" file and choose "Install"
After wsh. inf is installed, PostgreSQL can be successfully installed.

If not, we recommend that you restart the system and install the system again. (This is the case I encountered)


next, the fatal problem is that the "Install" option does not exist in the context menu of the INF file. On the menu bar, choose tools> Folder Options> file type> registered file type
Find INF, and select advanced ", click
"Install" or "Install" under "edit file type", and click "set as default ". If the "Install" option is not available, for example, my system only has the "open" option, it is created and named
install with the content: C: \ windows \ system32 \ rundll32.exe setupapi, installhinfsection
defaultinstall 132% 1.
the content here is found from another normal machine, and I found that there is another system that does not exist, so I also added: print, the corresponding content is: c: \ windows \ system32 \ notepad. EXE/P % 1.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.