Installer Fix on some Windows 7 64-bit Systems

From: Humair Mohammed <humair_mohammed(at)yahoo(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Installer Fix on some Windows 7 64-bit Systems
Date: 2010-10-20 06:45:57
Message-ID: 522350.23401.qm@web113814.mail.gq1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

One some Windows machines the command processor is not invoked properly when
running the WScript.Run method. The same PostgreSQL 9.0.1-1 one click installer
that worked perfrectly fine on one Windows 7 64-bit machine did not work as
expected on another machine with same OS. Adding the command processor
explicity: 

"%comspec% /c " &

to the first parameter on all objShell.Run calls in the installer WScript files
below resolves this issue!

For installruntimes.vbs file used the following mod:
iRet = objShell.Run("%comspec% /c " & """" & strPackage & """ /q:a /c:""msiexec
/i vcredist.msi /qb!""", 0, True)

For initcluster.vbs, loadmodules.vbs and startupcfg.vbs used the following mod:
DoCmd = objShell.Run("%comspec% /c " & objTempFolder.Path & "\" & strBatchFile,
0, True)

Browse pgsql-hackers by date

  From Date Subject
Next Message Itagaki Takahiro 2010-10-20 06:46:18 Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP)
Previous Message Greg Smith 2010-10-20 05:06:31 Re: max_wal_senders must die