Thread: BUG #2735: DEBUG: Error 2769: Custom Action GetAvailableLocales did not close 1 MSIHANDLEs

The following bug has been logged online:

Bug reference:      2735
Logged by:          Emil J.
Email address:      emilj@inmail.sk
PostgreSQL version: 8.1.5, 8.1.4
Operating system:   Windows XP Pro SP2
Description:        DEBUG: Error 2769:  Custom Action GetAvailableLocales
did not close 1 MSIHANDLEs
Details:

When i run postgresql-8.1.msi, "Welcome" window appear. I click on "Start"
button. Nothing happened.

I read this: http://www.postgresql.org/docs/faqs.FAQ_windows.html#3.1
I don't have antivir, don't have firewall.

This is log:
=== Verbose logging started: 4.11.2006  10:43:38  Build type: SHIP UNICODE
3.01.4000.2435  Calling process: C:\WINDOWS\system32\msiexec.exe ===
MSI (c) (EC:2C) [10:43:38:015]: Resetting cached policy values
MSI (c) (EC:2C) [10:43:38:015]: Machine policy value 'Debug' is 0
MSI (c) (EC:2C) [10:43:38:015]: ******* RunEngine:
           ******* Product:
T:\_WebInstall_\postgresql-8.1.5-1\postgresql-8.1-int.msi
           ******* Action:
           ******* CommandLine: **********
MSI (c) (EC:2C) [10:43:38:437]: Machine policy value 'DisableUserInstalls'
is 0
MSI (c) (EC:2C) [10:43:39:437]: SOFTWARE RESTRICTION POLICY: Verifying
package --> 'T:\_WebInstall_\postgresql-8.1.5-1\postgresql-8.1-int.msi'
against software restriction policy
MSI (c) (EC:2C) [10:43:39:437]: Note: 1: 2262 2: DigitalSignature 3:
-2147287038
MSI (c) (EC:2C) [10:43:39:437]: SOFTWARE RESTRICTION POLICY:
T:\_WebInstall_\postgresql-8.1.5-1\postgresql-8.1-int.msi is not digitally
signed
MSI (c) (EC:2C) [10:43:39:437]: SOFTWARE RESTRICTION POLICY:
T:\_WebInstall_\postgresql-8.1.5-1\postgresql-8.1-int.msi is permitted to
run at the 'unrestricted' authorization level.
MSI (c) (EC:2C) [10:43:39:453]: Cloaking enabled.
MSI (c) (EC:2C) [10:43:39:453]: Attempting to enable all disabled priveleges
before calling Install on Server
MSI (c) (EC:2C) [10:43:39:468]: End dialog not enabled
MSI (c) (EC:2C) [10:43:39:468]: Original package ==>
T:\_WebInstall_\postgresql-8.1.5-1\postgresql-8.1-int.msi
MSI (c) (EC:2C) [10:43:39:468]: Package we're running from ==>
D:\Temp\6329b.msi
MSI (c) (EC:2C) [10:43:39:484]: APPCOMPAT: looking for appcompat database
entry with ProductCode '{34D95765-2D5A-470F-A39F-BC9DEAAAF04F}'.
MSI (c) (EC:2C) [10:43:39:484]: APPCOMPAT: no matching ProductCode found in
database.
MSI (c) (EC:2C) [10:43:39:484]: MSCOREE not loaded loading copy from
system32
MSI (c) (EC:2C) [10:43:39:484]: Machine policy value 'TransformsSecure' is
0
MSI (c) (EC:2C) [10:43:39:484]: User policy value 'TransformsAtSource' is 0
MSI (c) (EC:2C) [10:43:39:484]: Machine policy value 'DisablePatch' is 0
MSI (c) (EC:2C) [10:43:39:484]: Machine policy value 'AllowLockdownPatch' is
0
MSI (c) (EC:2C) [10:43:39:484]: Machine policy value 'DisableLUAPatching' is
0
MSI (c) (EC:2C) [10:43:39:484]: Machine policy value
'DisableFlyWeightPatching' is 0
MSI (c) (EC:2C) [10:43:39:484]: APPCOMPAT: looking for appcompat database
entry with ProductCode '{34D95765-2D5A-470F-A39F-BC9DEAAAF04F}'.
MSI (c) (EC:2C) [10:43:39:484]: APPCOMPAT: no matching ProductCode found in
database.
MSI (c) (EC:2C) [10:43:39:484]: Transforms are not secure.
MSI (c) (EC:2C) [10:43:39:484]: Command Line: INTERNALLAUNCH=1
CURRENTDIRECTORY=C:\WINDOWS\system32 CLIENTUILEVEL=0 CLIENTPROCESSID=2028
MSI (c) (EC:2C) [10:43:39:484]: PROPERTY CHANGE: Adding PackageCode
property. Its value is '{41F587DD-BEA3-4597-BFE1-5CB379507A4D}'.
MSI (c) (EC:2C) [10:43:39:484]: Product Code passed to Engine.Initialize:
       ''
MSI (c) (EC:2C) [10:43:39:484]: Product Code from property table before
transforms: '{34D95765-2D5A-470F-A39F-BC9DEAAAF04F}'
MSI (c) (EC:2C) [10:43:39:484]: Product Code from property table after
transforms:  '{34D95765-2D5A-470F-A39F-BC9DEAAAF04F}'
MSI (c) (EC:2C) [10:43:39:484]: Product not registered: beginning first-time
install
MSI (c) (EC:2C) [10:43:39:484]: PROPERTY CHANGE: Adding ProductState
property. Its value is '-1'.
MSI (c) (EC:2C) [10:43:39:484]: Entering
CMsiConfigurationManager::SetLastUsedSource.
MSI (c) (EC:2C) [10:43:39:484]: User policy value 'SearchOrder' is 'nmu'
MSI (c) (EC:2C) [10:43:39:484]: Adding new sources is allowed.
MSI (c) (EC:2C) [10:43:39:484]: PROPERTY CHANGE: Adding PackagecodeChanging
property. Its value is '1'.
MSI (c) (EC:2C) [10:43:39:484]: Package name extracted from package path:
'postgresql-8.1-int.msi'
MSI (c) (EC:2C) [10:43:39:484]: Package to be registered:
'postgresql-8.1-int.msi'
MSI (c) (EC:2C) [10:43:39:484]: Note: 1: 2205 2:  3: Error
MSI (c) (EC:2C) [10:43:39:484]: Note: 1: 2729
MSI (c) (EC:2C) [10:43:39:484]: Note: 1: 2729
MSI (c) (EC:2C) [10:43:39:484]: Note: 1: 2729
MSI (c) (EC:2C) [10:43:39:484]: Note: 1: 2729
MSI (c) (EC:2C) [10:43:39:484]: Note: 1: 2729
MSI (c) (EC:2C) [10:43:39:500]: Note: 1: 2729
MSI (c) (EC:2C) [10:43:39:500]: Note: 1: 2729
MSI (c) (EC:2C) [10:43:39:500]: Note: 1: 2729
MSI (c) (EC:2C) [10:43:39:500]: Note: 1: 2729
MSI (c) (EC:2C) [10:43:39:500]: Note: 1: 2729
MSI (c) (EC:2C) [10:43:39:500]: Note: 1: 2729
MSI (c) (EC:2C) [10:43:39:500]: Note: 1: 2729
MSI (c) (EC:2C) [10:43:39:500]: Note: 1: 2729
MSI (c) (EC:2C) [10:43:39:500]: Note: 1: 2729
MSI (c) (EC:2C) [10:43:39:500]: Note: 1: 2729
MSI (c) (EC:2C) [10:43:39:500]: Note: 1: 2729
MSI (c) (EC:2C) [10:43:39:500]: Note: 1: 2262 2: AdminProperties 3:
-2147287038
MSI (c) (EC:2C) [10:43:39:500]: PROPERTY CHANGE: Modifying ALLUSERS
property. Its current value is '2'. Its new value: '1'.
MSI (c) (EC:2C) [10:43:39:500]: Machine policy value 'DisableMsi' is 0
MSI (c) (EC:2C) [10:43:39:500]: Machine policy value 'AlwaysInstallElevated'
is 0
MSI (c) (EC:2C) [10:43:39:500]: User policy value 'AlwaysInstallElevated' is
0
MSI (c) (EC:2C) [10:43:39:500]: Product installation will be elevated
because user is admin and product is being installed per-machine.
MSI (c) (EC:2C) [10:43:39:500]: Running product
'{34D95765-2D5A-470F-A39F-BC9DEAAAF04F}' with elevated privileges: Product
is assigned.
MSI (c) (EC:2C) [10:43:39:500]: PROPERTY CHANGE: Modifying INTERNALLAUNCH
property. Its current value is '0'. Its new value: '1'.
MSI (c) (EC:2C) [10:43:39:500]: PROPERTY CHANGE: Adding CURRENTDIRECTORY
property. Its value is 'C:\WINDOWS\system32'.
MSI (c) (EC:2C) [10:43:39:500]: PROPERTY CHANGE: Adding CLIENTUILEVEL
property. Its value is '0'.
MSI (c) (EC:2C) [10:43:39:500]: PROPERTY CHANGE: Adding CLIENTPROCESSID
property. Its value is '2028'.
MSI (c) (EC:2C) [10:43:39:500]: TRANSFORMS property is now:
MSI (c) (EC:2C) [10:43:39:500]: PROPERTY CHANGE: Adding VersionDatabase
property. Its value is '110'.
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\aktivo\Application Data
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\aktivo\Favorites
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\aktivo\NetHood
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
W:\_MojeDokumenty_
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\aktivo\PrintHood
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\aktivo\Recent
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\aktivo\SendTo
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\aktivo\Templates
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\All Users\Application Data
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\aktivo\Local Settings\Application Data
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
W:\_MojeDokumenty_\My Pictures
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\All Users\Start Menu\Programs\Administrative
Tools
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\All Users\Start Menu\Programs\Startup
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\All Users\Start Menu\Programs
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\All Users\Start Menu
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\All Users\Desktop
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\aktivo\Start Menu\Programs\Administrative Tools
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\aktivo\Start Menu\Programs\Startup
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\aktivo\Start Menu\Programs
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\aktivo\Start Menu
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\aktivo\Desktop
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\Documents and Settings\All Users\Templates
MSI (c) (EC:2C) [10:43:39:500]: SHELL32::SHGetFolderPath returned:
C:\WINDOWS\Fonts
MSI (c) (EC:2C) [10:43:39:500]: Note: 1: 2898 2: MS Sans Serif 3: MS Sans
Serif 4: 0 5: 16
MSI (c) (EC:2C) [10:43:39:500]: PROPERTY CHANGE: Adding Privileged property.
Its value is '1'.
MSI (c) (EC:2C) [10:43:39:500]: Note: 1: 1402 2:
HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2
MSI (c) (EC:2C) [10:43:39:500]: PROPERTY CHANGE: Adding USERNAME property.
Its value is '-'.
MSI (c) (EC:2C) [10:43:39:500]: Note: 1: 1402 2:
HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2
MSI (c) (EC:2C) [10:43:39:500]: PROPERTY CHANGE: Adding COMPANYNAME
property. Its value is '---'.
MSI (c) (EC:2C) [10:43:39:500]: PROPERTY CHANGE: Adding DATABASE property.
Its value is 'D:\Temp\6329b.msi'.
MSI (c) (EC:2C) [10:43:39:500]: PROPERTY CHANGE: Adding OriginalDatabase
property. Its value is
'T:\_WebInstall_\postgresql-8.1.5-1\postgresql-8.1-int.msi'.
MSI (c) (EC:2C) [10:43:39:500]: PROPERTY CHANGE: Adding SourceDir property.
Its value is 'T:\_WebInstall_\postgresql-8.1.5-1\'.
MSI (c) (EC:2C) [10:43:39:500]: PROPERTY CHANGE: Adding SOURCEDIR property.
Its value is 'T:\_WebInstall_\postgresql-8.1.5-1\'.
MSI (c) (EC:18) [10:43:39:515]: PROPERTY CHANGE: Adding VersionHandler
property. Its value is '3.01'.
=== Logging started: 4.11.2006  10:43:39 ===
MSI (c) (EC:2C) [10:43:39:515]: Note: 1: 2205 2:  3: PatchPackage
MSI (c) (EC:2C) [10:43:39:515]: Machine policy value 'DisableRollback' is 0
MSI (c) (EC:2C) [10:43:39:515]: User policy value 'DisableRollback' is 0
MSI (c) (EC:2C) [10:43:39:515]: PROPERTY CHANGE: Adding UILevel property.
Its value is '5'.
MSI (c) (EC:2C) [10:43:39:515]: PROPERTY CHANGE: Adding ACTION property. Its
value is 'INSTALL'.
MSI (c) (EC:2C) [10:43:39:515]: Doing action: INSTALL
Action 10:43:39: INSTALL.
Action start 10:43:39: INSTALL.
MSI (c) (EC:2C) [10:43:39:515]: UI Sequence table 'InstallUISequence' is
present and populated.
MSI (c) (EC:2C) [10:43:39:515]: Running UISequence
MSI (c) (EC:2C) [10:43:39:515]: PROPERTY CHANGE: Adding EXECUTEACTION
property. Its value is 'INSTALL'.
MSI (c) (EC:2C) [10:43:39:515]: Doing action: AppSearch
Action 10:43:39: AppSearch. Searching for installed applications
Action start 10:43:39: AppSearch.
MSI (c) (EC:2C) [10:43:39:515]: Note: 1: 2205 2:  3: AppSearch
MSI (c) (EC:2C) [10:43:39:515]: Note: 1: 2228 2:  3: AppSearch 4: SELECT
`Property`, `Signature_` FROM `AppSearch`
Action ended 10:43:39: AppSearch. Return value 0.
MSI (c) (EC:2C) [10:43:39:515]: Doing action: LaunchConditions
Action 10:43:39: LaunchConditions. Evaluating launch conditions
Action start 10:43:39: LaunchConditions.
Action ended 10:43:39: LaunchConditions. Return value 1.
MSI (c) (EC:2C) [10:43:39:515]: Doing action: GetAvailableLocales
Action 10:43:39: GetAvailableLocales.
Action start 10:43:39: GetAvailableLocales.
MSI (c) (EC:AC) [10:43:39:562]: Invoking remote custom action. DLL:
D:\Temp\MSI8.tmp, Entrypoint: GetAvailableLocales@4
MSI (c) (EC:BC) [10:43:39:562]: Cloaking enabled.
MSI (c) (EC:BC) [10:43:39:562]: Attempting to enable all disabled priveleges
before calling Install on Server
MSI (c) (EC:BC) [10:43:39:562]: Connected to service for CA interface.
MSI (c) (EC!C0) [10:43:39:718]: Note: 1: 2259 2:  3:  4:
MSI (c) (EC:AC) [10:43:39:781]: Leaked MSIHANDLE (3) of type 790540 for
thread 1216
MSI (c) (EC:AC) [10:43:39:781]: Note: 1: 2769 2: GetAvailableLocales 3: 1
MSI (c) (EC:AC) [10:43:39:781]: Note: 1: 2205 2:  3: Error
MSI (c) (EC:AC) [10:43:39:781]: Note: 1: 2228 2:  3: Error 4: SELECT
`Message` FROM `Error` WHERE `Error` = 2769
DEBUG: Error 2769:  Custom Action GetAvailableLocales did not close 1
MSIHANDLEs.
The installer has encountered an unexpected error installing this package.
This may indicate a problem with this package. The error code is 2769. The
arguments are: GetAvailableLocales, 1,
Action ended 10:43:39: GetAvailableLocales. Return value 1.
MSI (c) (EC:2C) [10:43:39:781]: Doing action: CheckAvailableDLLs
Action 10:43:39: CheckAvailableDLLs.
=20

> -----Original Message-----
> From: pgsql-bugs-owner@postgresql.org=20
> [mailto:pgsql-bugs-owner@postgresql.org] On Behalf Of Emil J.
> Sent: den 4 november 2006 10:46
> To: pgsql-bugs@postgresql.org
> Subject: [BUGS] BUG #2735: DEBUG: Error 2769: Custom Action=20
> GetAvailableLocales did not close 1 MSIHANDLEs
>=20
>=20
> The following bug has been logged online:
>=20
> Bug reference:      2735
> Logged by:          Emil J.
> Email address:      emilj@inmail.sk
> PostgreSQL version: 8.1.5, 8.1.4
> Operating system:   Windows XP Pro SP2
> Description:        DEBUG: Error 2769:  Custom Action=20
> GetAvailableLocales
> did not close 1 MSIHANDLEs
> Details:=20
>=20
> When i run postgresql-8.1.msi, "Welcome" window appear. I=20
> click on "Start"
> button. Nothing happened.
>=20
> I read this: http://www.postgresql.org/docs/faqs.FAQ_windows.html#3.1
> I don't have antivir, don't have firewall.

You were likely at the correct FAQ and the correct question, but too
early in it. Specifiaclly, the part about cygwin seems it could apply.
Either that, or some other DLL is hanging upon loading - check what kind
of perl/python/tcl DLLs you have in the system PATH and try to
temporarily remove them.

//Magnus