When I install PostgreSQL, I get the following error before the installation rolls back:
PostgreSQL 8.2
---------------
Failed to run initdb: -1073741502!
Please see the logfile in 'C:\Program FIles
(x86)\PostgreSQL\8.2\tmp\initdb.log'.
Note! You must read/copy this logfile before you click
OK, or it will be automatically removed.
[ OK ]
The logfile mentioned didn't exist, in fact the tmp folder mentioned was empty.
If I tick to make a log in the current folder at the start, then I see this in that log file:
Action 15:31:43: RunInitdb. Initializing database cluster (this may take a minute or two)...
MSI (s) (C8:8C) [15:31:43:785]: Executing op: CustomActionSchedule(Action=RunInitdb,ActionType=3073,Source=BinaryData,Target=RunInitdb@4,CustomActionData=1033;C:\Program Files (x86)\PostgreSQL\8.2\;C:\Program Files (x86)\PostgreSQL\8.2\data\;C:\Program Files (x86)\PostgreSQL\8.2\share\;5432;;English_United Kingdom;SQL_ASCII;postgres;Luc3rne8*;ISSVTSRV01;postgres;-/!FbSWRwm(royRc)+jGT&*>uqie:oE;)
MSI (s) (C8:20) [15:31:43:832]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIC6F9.tmp, Entrypoint: RunInitdb@4
MSI (c) (F8:1C) [15:31:43:910]: Note: 1: 2205 2: 3: Error
MSI (c) (F8:1C) [15:31:43:910]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2867
DEBUG: Error 2867: The error dialog property is not set
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2867. The arguments are: , ,
MSI (c) (F8:1C) [15:31:43:910]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg