PostgreSQL install error

    • Scarynoob44
      Scarynoob44
      Bronze
      Joined: 26.11.2011 Posts: 196
      Hi,
      Today i wanted to make more free room on my C:/ driver and i saw Postgresql has like 8GB so i wanted to move it to another part of my hdd so i just copy and pasted it, but i had to first quit everything that had SQL or postgre in task bar to be able to move it, when it was done i tried to run my HM2, but it said, it cant connect to my database, so i tried to move Postgresql back to C:/, but HM2 still had problems and couldnt connect so i decided to uninstall postgresql.

      Now i want to install it back, but everytime i try to i get this error: An error occured executing the Microsoft VC++ runtime installer when i run 8.3 and 8.4 version and when i try 9.x version of postgresql i get this error: Unable to write inside TEMP environment variable path.
      heres pic: http://oi40.tinypic.com/rb06eh.jpg

      Can you please help me what to do ? i have been trying to fix this problem for like 2 hours, but nothing works.
  • 3 replies
    • netsrak
      netsrak
      Gold
      Joined: 11.03.2006 Posts: 36,825
      You should start with updating your Windows until windows update finds no more available updates.
      And then you should google for the VC++ error. Its not directly caused by Postgresql, there is some wrong with your windows installation.

      And for the future: it is not possible to simply move a postgresql folder. You need to edit some configuration files / registry entries.
    • Scarynoob44
      Scarynoob44
      Bronze
      Joined: 26.11.2011 Posts: 196
      ok, thanks sir.
      also why didnt i get this error when i installed postgreSQL for the first time ? (it was this windows with this updates).
    • Scarynoob44
      Scarynoob44
      Bronze
      Joined: 26.11.2011 Posts: 196
      problem fixed (had to try like 10 versions of postgreSQL and one worked)