简体   繁体   中英

PostgreSQL install error “unable to write inside temp environment variable path”

I am installing PostgreSQL on Windows 7 64 . I get the following error:

there has been an error. unable to write inside TEMP environment variable path

Everything I have found on the internet so far, i have tried. It includes:

Disabled all anti-virus software.

I have also stopped everything in the startup.

Checked file associations for .VBS scripts. Nothing irregular (Windows Script Host registered)

Windows Script Host is Enabled.

Changing the temporary folder on environment variables

I've tried installing as Administrator .

What else can I try?

Install log file:

在此输入图像描述

efore you start messing with the registry, check if WSH is actually disabled or not. To do that run wscript.exe in the DOS box.

If you see a dialog box called "Windows Script Host Settings", WSH is enabled, and your problem with PostgreSQL installation must be related to something else. If you get an error box that says "Windows Script Host access is disabled on this machine. Contact your administrator for details", WSH is disabled, and your problem with PostgreSQL installation may be related to it (or may be not).

For me, my problem was related to Windows script. I resolved this by right-clicking on smadav icon in the hidden icons in the task bar and checked "Allow Windows-script and Office-Macro (Permanent)". Then double click on the PostgreSQL setup again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM