Re: BUG #18528: Installer displays error when installing - Mailing list pgsql-bugs

From Sandeep Thakkar
Subject Re: BUG #18528: Installer displays error when installing
Date
Msg-id CANFyU965BvCpdmk2kBDS2JjKf+SJdi__=cfxhBsm_qeotnfqNA@mail.gmail.com
Whole thread Raw
In response to BUG #18528: Installer displays error when installing  (PG Bug reporting form <noreply@postgresql.org>)
Responses RE: [EXTERNAL] Re: BUG #18528: Installer displays error when installing
List pgsql-bugs
Hi,

Thanks for the report. Can you please confirm if the earlier versions (<=15.6) were installed fine on this server?

The forward slashes usually work on windows as well. Could you please share the installation log which must have been created in the system temp with either the name installbuilder or install-postgresql?

Also, on the command line if you can please get the output of:
> icacls C:/Users/username/AppData/Local/Temp/postgresql_installer_f34465eff3


On Wed, Jul 3, 2024 at 1:13 AM PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      18528
Logged by:          Chris Ware
Email address:      christopher.m.ware@nasa.gov
PostgreSQL version: 15.7
Operating system:   Windows 11
Description:       

This probably isn't the right place to submit this finding, but I couldn't
find any other place to submit it.
If this is not the correct forum for this kind of support, can you please
redirect me to the correct place?
I'm trying to install the PostgreSQL 15.7 installer onto a Microsoft Surface
Pro 9 running Windows 10.
I'm running as an administrator, and I've also clicked "Run as
Administrator" as well.  I receive the following two errors:
1: "Error copying from packed archive
c:/Install/folder/postgresql-15.7.2-windows-x64.exe to
C:/Users/username/AppData/Local/Temp/postgresql_installer_f34465eff3/prerun_checks.vbs:Destination
not writable"
2. "There has been an error. system's temp folder is not writable by the
current user."

The error messages have forward slashes '/' instead of back slashes '\'.
Not sure it that makes a difference or not. 
The installer does appear to work on Desktop type computers. 
Since I am an administrator on the system and the installer is trying to
write files to the directory owned by this user, it seems to be a problem
with the installer on this type of hardware.

Any assistance is appreciated.
Chris



--
Sandeep Thakkar


pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #18528: Installer displays error when installing
Next
From: Laurenz Albe
Date:
Subject: Re: Bug report - pg_upgrade tool seems to have a race condition when trying to delete a pg_wal file