De : Craig Ringer [mailto:ring...@ringerc.id.au] 
Envoyé : June-08-12 9:20 AM



On 06/08/2012 08:04 PM, Marc Watson wrote: 

Thanks, Craig

It was failing on vcredist_x86 and vcredist_x64, because I had newer versions 
installed (10.0.40219). After uninstalling them, all is OK.


Oooh! That shouldn't happen. At all. The vc redists should, as far as I know, 
either:

(a) Silently skipping installation and returning success; or
(b) installing themselves into WinSxS whether or not a newer version exists 
already

They absolutely should not be failing. Can you please post your installation 
logs?

--
Craig Ringer

 

Here it is:

 

Log started 06/08/2012 at 07:48:00

Preferred installation mode : qt

Trying to init installer in mode qt

Mode qt successfully initialized

Could not find registry key 
HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.2 Data 
Directory. Setting variable iDataDirectory to empty value

Could not find registry key 
HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.2 Base 
Directory. Setting variable iBaseDirectory to empty value

Could not find registry key 
HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.2 Service 
ID. Setting variable iServiceName to empty value

Could not find registry key 
HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.2 Service 
Account. Setting variable iServiceAccount to empty value

Could not find registry key 
HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.2 Super 
User. Setting variable iSuperuser to empty value

Could not find registry key 
HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.2 
Branding. Setting variable iBranding to empty value

Could not find registry key 
HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.2 
Version. Setting variable brandingVer to empty value

Could not find registry key 
HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.2 
Shortcuts. Setting variable iShortcut to empty value

Could not find registry key 
HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.2 
DisableStackBuilder. Setting variable iDisableStackBuilder to empty value

[07:48:04] Existing base directory: 

[07:48:04] Existing data directory: 

[07:48:04] Using branding: PostgreSQL 9.2

[07:48:04] Using Super User: postgres and Service Account: postgres

[07:48:04] Using Service Name: postgresql-x64-9.2

Executing cscript //NoLogo "C:\Users\Mark 
Watson\AppData\Local\Temp\prerun_checks.vbs"

Script exit code: 0

 

Script output:

The scripting host appears to be functional.

 

Script stderr:

 

Executing C:\Users\Mark 
Watson\AppData\Local\Temp\postgresql_installer\vcredist_x64.exe /q

Script exit code: 5100

 

Script output:

 

Script stderr:

Program ended with an error exit code

 

Error running C:\Users\Mark 
Watson\AppData\Local\Temp\postgresql_installer\vcredist_x64.exe /q : Program 
ended with an error exit code

 

When I ran the vcredist_x64.exe without any parameters, it complained that it 
could not be installed because there was a newer version already installed.

 

-          Mark Watson

Reply via email to