Re: GetAvailableLocales aborting installation - Mailing list pgsql-admin

From Magnus Hagander
Subject Re: GetAvailableLocales aborting installation
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE6C741C@algol.sollentuna.se
Whole thread Raw
In response to GetAvailableLocales aborting installation  ("erik" <erik1969@mailhaven.com>)
List pgsql-admin
Fisrt of all you are correct on the upgrade issue - the upgrade will only upgrade the release version, not betas.
 
That is not the problem. The MSIHANDLE problem is a known issue, but it doesn't really matter. The problem is the crashing in CheckAvailableDLLs - you'll notice in the log it never returns from there.

The first thing I'd check is if you have Cygwin installed on your system. The installer tries to detect this, but it may fail at that. Cygwin is known to cause crashes with it's tcl and/or python DLLs.
 
If this is not the case, look for any python, perl or tcl DLLs in either your system directories or in directories in your path. Try moving/renaming them and restarting the installer.
 
If this also is not the case, look for non-standard openssl DLLs (libeay32.dll) in system dirs or path that may be causing a crash.
 
//Magnus
-----Ursprungligt meddelande-----
Från: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] För erik
Skickat: den 5 maj 2005 15:49
Till: pgsql-admin@postgresql.org
Ämne: [ADMIN] GetAvailableLocales aborting installation

Hi,
 
I had PostgreSQL 8.0.0-beta5 on my Windows Xp home laptop. It installed and ran fine.
After downloading v 8.0.2. I tried to run the upgrade.bat script, but it choked and told me to run the main msi file. I then assumed the upgrade wouldn't work and uninstalled the beta just in case.
 
After running the postgresql-8.0.msi file the installation crashes. The attached logfile indicates a problem with GetAvailableLocales or MSIHANDLE. My computer has AVG Antivirus and ZA Firewall, but both are shutdown prior to installation.
 
I read the Win-FAQ and searched the mailinglists. The FAQ says it might be necessary to uninstall my antivirus/firewall software, but I won't do that.
Would appreciate hints to get around this, thanks.
 
  erik
 
 
=== Verbose logging started: 05-05-2005  20:22:43  Build type: SHIP UNICODE 2.00.2600.1106  Calling process: C:\WINDOWS\System32\msiexec.exe ===
MSI (c) (FC:90): Resetting cached policy values
MSI (c) (FC:90): Machine policy value 'Debug' is 0
MSI (c) (FC:90): ******* RunEngine:
           ******* Product: C:\temp\pgsql\postgresql-8.0-int.msi
           ******* Action:
           ******* CommandLine: **********
MSI (c) (FC:90): Machine policy value 'DisableUserInstalls' is 0
MSI (c) (FC:90): SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\temp\pgsql\postgresql-8.0-int.msi' against software restriction policy
MSI (c) (FC:90): Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI (c) (FC:90): SOFTWARE RESTRICTION POLICY: C:\temp\pgsql\postgresql-8.0-int.msi is not digitally signed
MSI (c) (FC:90): SOFTWARE RESTRICTION POLICY: C:\temp\pgsql\postgresql-8.0-int.msi is permitted to run at the 'unrestricted' authorization level.
MSI (c) (FC:90): Cloaking enabled.
MSI (c) (FC:90): End dialog not enabled
MSI (c) (FC:90): Original package ==> C:\temp\pgsql\postgresql-8.0-int.msi
MSI (c) (FC:90): Package we're running from ==> C:\DOCUME~1\erik\LOCALS~1\Temp\9fcff.msi
MSI (c) (FC:90): APPCOMPAT: looking for appcompat database entry with ProductCode '{5AA3FA26-72A2-4D06-9BFE-98E650A37B6D}'.
MSI (c) (FC:90): APPCOMPAT: no matching ProductCode found in database.
MSI (c) (FC:90): Machine policy value 'TransformsSecure' is 0
MSI (c) (FC:90): User policy value 'TransformsAtSource' is 0
MSI (c) (FC:90): APPCOMPAT: looking for appcompat database entry with ProductCode '{5AA3FA26-72A2-4D06-9BFE-98E650A37B6D}'.
MSI (c) (FC:90): APPCOMPAT: no matching ProductCode found in database.
MSI (c) (FC:90): Transforms are not secure.
MSI (c) (FC:90): Command Line: INTERNALLAUNCH=1 CURRENTDIRECTORY=C:\WINDOWS\System32 CLIENTUILEVEL=0 CLIENTPROCESSID=2556
MSI (c) (FC:90): Product Code passed to Engine.Initialize:           ''
MSI (c) (FC:90): Product Code from property table before transforms: '{5AA3FA26-72A2-4D06-9BFE-98E650A37B6D}'
MSI (c) (FC:90): Product Code from property table after transforms:  '{5AA3FA26-72A2-4D06-9BFE-98E650A37B6D}'
MSI (c) (FC:90): Product not registered: beginning first-time install
MSI (c) (FC:90): Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (c) (FC:90): User policy value 'SearchOrder' is 'nmu'
MSI (c) (FC:90): Adding new sources is allowed.
MSI (c) (FC:90): Package name extracted from package path: 'postgresql-8.0-int.msi'
MSI (c) (FC:90): Package to be registered: 'postgresql-8.0-int.msi'
MSI (c) (FC:90): Note: 1: 2205 2:  3: Error
MSI (c) (FC:90): Note: 1: 2729
MSI (c) (FC:90): Note: 1: 2729
MSI (c) (FC:90): Note: 1: 2729
MSI (c) (FC:90): Note: 1: 2729
MSI (c) (FC:90): Note: 1: 2729
MSI (c) (FC:90): Note: 1: 2729
MSI (c) (FC:90): Note: 1: 2729
MSI (c) (FC:90): Note: 1: 2729
MSI (c) (FC:90): Note: 1: 2729
MSI (c) (FC:90): Note: 1: 2729
MSI (c) (FC:90): Note: 1: 2729
MSI (c) (FC:90): Note: 1: 2729
MSI (c) (FC:90): Note: 1: 2729
MSI (c) (FC:90): Note: 1: 2729
MSI (c) (FC:90): Note: 1: 2729
MSI (c) (FC:90): Note: 1: 2729
MSI (c) (FC:90): Note: 1: 2262 2: AdminProperties 3: -2147287038
MSI (c) (FC:90): Machine policy value 'DisableMsi' is 0
MSI (c) (FC:90): Machine policy value 'AlwaysInstallElevated' is 0
MSI (c) (FC:90): User policy value 'AlwaysInstallElevated' is 0
MSI (c) (FC:90): Product installation will be elevated because user is admin and product is being installed per-machine.
MSI (c) (FC:90): Running product '{5AA3FA26-72A2-4D06-9BFE-98E650A37B6D}' with elevated privileges: Product is assigned.
MSI (c) (FC:90): TRANSFORMS property is now:
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\erik\Application Data
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\erik\Favorites
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\erik\NetHood
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\erik\My Documents
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\erik\PrintHood
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\erik\Recent
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\erik\SendTo
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\erik\Templates
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Application Data
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\erik\Local Settings\Application Data
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\erik\My Documents\My Pictures
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu\Programs\Startup
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu\Programs
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Start Menu
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Desktop
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\erik\Start Menu\Programs\Administrative Tools
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\erik\Start Menu\Programs\Startup
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\erik\Start Menu\Programs
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\erik\Start Menu
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\erik\Desktop
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\Documents and Settings\All Users\Templates
MSI (c) (FC:90): SHELL32::SHGetFolderPath returned: C:\WINDOWS\Fonts
MSI (c) (FC:90): Note: 1: 2898 2: MS Sans Serif 3: MS Sans Serif 4: 0 5: 16
MSI (c) (FC:90): MSCOREE not loaded loading copy from system32
=== Logging started: 05-05-2005  20:22:47 ===
MSI (c) (FC:90): Machine policy value 'DisableRollback' is 0
MSI (c) (FC:90): User policy value 'DisableRollback' is 0
MSI (c) (FC:90): Doing action: INSTALL
Action start 20:22:47: INSTALL.
MSI (c) (FC:90): UI Sequence table 'InstallUISequence' is present and populated.
MSI (c) (FC:90): Running UISequence
MSI (c) (FC:90): Doing action: AppSearch
Action start 20:22:47: AppSearch.
Action 20:22:47: AppSearch. Searching for installed applications
AppSearch: Property: HAS_DOTNET, Signature: SEARCH_DOTNET
MSI (c) (FC:90): Note: 1: 2262 2: Signature 3: -2147287038
Action ended 20:22:47: AppSearch. Return value 1.
MSI (c) (FC:90): Doing action: GetAvailableLocales
Action start 20:22:47: GetAvailableLocales.
MSI (c) (FC:90): Creating MSIHANDLE (1) of type 790542 for thread 2192
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 20:22:47: GetAvailableLocales. Return value 1.
MSI (c) (FC:90): Doing action: LaunchConditions
Action start 20:22:47: LaunchConditions.
Action ended 20:22:47: LaunchConditions. Return value 1.
MSI (c) (FC:90): Doing action: CheckAvailableDLLs
Action start 20:22:47: CheckAvailableDLLs.
MSI (c) (FC:90): Creating MSIHANDLE (120) of type 790542 for thread 2192
 
 
 

pgsql-admin by date:

Previous
From: "Michael J. Robinson"
Date:
Subject: Problem setting up new users
Next
From: Tom Lane
Date:
Subject: Re: Problem setting up new users