From: james.slade@maersk.com
To: pgsql-bugs@postgresql.org
Subject: BUG #12728: Install fails McAfee VirusScan Ent. Unable to write inside the TEMP environment variable path.
Date: Mon, 02 Feb 2015 11:26:24 +0000
Message-ID: <20150202112624.2603.74722@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 12728
Logged by: James Slade
Email address: james.slade@maersk.com
PostgreSQL version: 9.3.5
Operating system: Window 7 64 bit.
Description:
Problem:
An issue for installing on corporate machines running McAfee VirusScan
Enterprise. The bug is in the IsPathWritable function of the
prerun_checks.vbs script.
There is a “bug” in one of the installation scripts for PostgreSQL. In order
to ascertain if the %TEMP% directory is writable it attempts to create a
file. In doing so it tries to create a file with a double extension
“c:\temp\xxxx.tmp.tmp” which triggers a McAfee rule that blocks the action.
Workaround 1:
Uninstall McAfee VSE while installing PostgreSQL then re-install McAfee.
Workaround 2:
Run the PostgreSQL with “—extract-only 1” on the command line. It will
extract all the files without doing the above check. We can then bypass the
check and replicate the setup process by running the following commands:
• "C:\Program Files\PostgreSQL\9.3\installer\vcredist_x64.exe"
/passive /norestart
• cscript //NoLogo "C:\Program
Files\PostgreSQL\9.3/installer/server/initcluster.vbs" "NT
AUTHORITY\NetworkService" "postgres" "****" "C:\Program
Files\PostgreSQL\9.3" "C:\Program Files\PostgreSQL\9.3\data" 5432 "DEFAULT"
0
• cscript //NoLogo "C:\Program
Files\PostgreSQL\9.3\installer\server\startupcfg.vbs" 9.3 "NT
AUTHORITY\NetworkService" "****" "C:\Program Files\PostgreSQL\9.3"
"C:\Program Files\PostgreSQL\9.3\data" "postgresql-x64-9.3"
• cscript //NoLogo "C:\Program
Files\PostgreSQL\9.3\installer\server\createshortcuts.vbs" 9.3 "postgres"
5432 "PostgreSQL 9.3" "C:\Program Files\PostgreSQL\9.3" "C:\Program
Files\PostgreSQL\9.3\data" "postgresql-x64-9.3"
• cscript //NoLogo "C:\Program
Files\PostgreSQL\9.3\installer\server\startserver.vbs" postgresql-x64-9.3
• cscript //NoLogo "C:\Program
Files\PostgreSQL\9.3\installer\server\loadmodules.vbs" "postgres" "****"
"C:\Program Files\PostgreSQL\9.3" "C:\Program Files\PostgreSQL\9.3\data"
5432
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: james.slade@maersk.com
Subject: Re: BUG #12728: Install fails McAfee VirusScan Ent. Unable to write inside the TEMP environment variable path.
In-Reply-To: <20150202112624.2603.74722@wrigleys.postgresql.org>
References: <20150202112624.2603.74722@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox