literate-perfunctory
Poker Software
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Mar 2014
    Posts
    5

    Default Cant Install HM2

    I have a pretty new laptop, using windows 10, but whenever I try to install, it can't install the PostgreSQL and get an error message 'An error occured executing the Microsoft VC + + runtime installer.'

  2. #2
    HM2! udbrky's Avatar
    Join Date
    Jul 2008
    Posts
    18,309

    Default

    Uninstall PostgreSQL & try the following steps:

    1) Run cmd.exe as Admin (Start > Search 'cmd' > Right-Click > Run As Admin)
    2) in CMD window run (type the code then hit Enter key) following command:
    net user postgres /del
    3) Reboot PC
    4) after reboot open cmd.exe again & run following commands:
    PHP Code:
    net user postgres postgrespass /add
     net localgroup Administrators postgres 
    /add
     net localgroup Users postgres 
    /delete
     runas 
    /user:postgres cmd.exe 
    When it asks about password please input postgrespass & don`t worry if you don`t see any new symbols\inputs in cmd window. If you did all steps right then you should get new cmd window for postgres user.

    5) Download PostgreSQL installer (http://get.enterprisedb.com/postgres...-1-windows.exe) & move (copy/paste) it from the \Downloads folder to C:\
    6) in new cmd window for postgres user run following commands:
    cd c:\
    start postgresql-8.4.22-1-windows.exe
    Regards udbrky (Chris)

Similar Threads

  1. Replies: 1
    Last Post: 10-15-2014, 07:57 PM
  2. Replies: 1
    Last Post: 10-06-2011, 04:17 PM
  3. Replies: 7
    Last Post: 08-05-2010, 09:52 AM
  4. Replies: 2
    Last Post: 07-13-2010, 09:47 PM
  5. Install problems and cannot install PostGreSQL
    By kylephilly in forum Manager General
    Replies: 2
    Last Post: 03-19-2010, 12:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •