PostgreSQL 9 install on Windows: “Unable to write inside TEMP environment path.”

后端 未结 22 2148
时光说笑
时光说笑 2020-12-15 04:30

I am attempting to install PostgreSQL 9 (postgresql-9.0.3-1-windows.exe) on my WinXP machine and get the following error at the start:

22条回答
  •  孤城傲影
    2020-12-15 04:54

    This is a an old thread, but I just had the same problem on windows 10:

    Unable to write inside TEMP environment path

    Solve by the following steps

    1. Check that the problem is related to Windows Script Host.
    2. From cmd run wscript.exe
    3. If you get an error Windows Script Host is not enabled and you can solved it by running from cmd

    Fix for Current User

    REG DELETE "HKCU\SOFTWARE\Microsoft\Windows Script Host\Settings" /v Enabled /f
    

    Fix for Local Machine

    REG DELETE "HKLM\SOFTWARE\Microsoft\Windows Script Host\Settings" /v Enabled /f
    

    No you can install psql

提交回复
热议问题