From:             alvaro at demogracia dot com
Operating system: Windows Vista
PHP version:      5.2.5
PHP Bug Type:     *General Issues
Bug description:  MSI installer fails with error 2738

Description:
------------
I can't install any *.msi package newer that 2.5.3 under Windows Vista by
double-clicking the file. Even though my user has admin rights, I need to
run it from an elevated console.

Installer doesn't warn about it. It starts as usual, prompts for options,
asks for elevation and finally stops with this error message:

"The installer has encountered an unexpected error installing this
package. This may indicate a problem with this package. The error code is
2738."

The chosen options do not seem to make any difference.

It also happens with today's snapshot (2.5.6-dev 2008-01-04):

http://snaps.php.net/win32/php5.2-win32-installer-latest.msi

I believe it's not a dupe of #43230 because that fixed the problem for my
Windows XP box but not for my Vista box. As I said, opening an elevated
console and running it for command line does work.

Reproduce code:
---------------
Please find an excerpt from verbose logging mode output below
(non-elevated console).

msiexec /i php-5.2.5-win32-installer.msi /l*v error.log

Full logs can be found here:

http://alvaro.es/archivos/error_2.5.2_2007-12-11.log.zip [30KB]
http://alvaro.es/archivos/error_2.5.6-dev_2008-01-04.log.zip [30KB]


Actual result:
--------------
[...]
MSI (s) (CC:6C) [07:51:45:428]: Running as a service.
MSI (s) (CC:6C) [07:51:45:432]: Hello, I'm your 32bit Impersonated custom
action server.
MSI (s) (CC:E4) [07:51:45:434]: Note: 1: 2205 2:  3: Error 
MSI (s) (CC:E4) [07:51:45:434]: Note: 1: 2228 2:  3: Error 4: SELECT
`Message` FROM `Error` WHERE `Error` = 2738 
DEBUG: Error 2738:  Could not access VBScript runtime for custom action 
The installer has encountered an unexpected error installing this package.
This may indicate a problem with this package. The error code is 2738. The
arguments are: , , 
MSI (s) (CC:E4) [07:51:46:615]: Note: 1: 2205 2:  3: Error 
MSI (s) (CC:E4) [07:51:46:615]: Note: 1: 2228 2:  3: Error 4: SELECT
`Message` FROM `Error` WHERE `Error` = 1709 
MSI (s) (CC:E4) [07:51:46:615]: Product: PHP 5.2.3 -- The installer has
encountered an unexpected error installing this package. This may indicate
a problem with this package. The error code is 2738. The arguments are: , ,

[...]
MSI (c) (A8:DC) [07:51:47:896]: Windows Installer installed the product.
Product Name: PHP 5.2.5. Product Version: 5.2.5. Product Language: 1033.
Installation success or error status: 1603.

MSI (c) (A8:DC) [07:51:47:900]: Grabbed execution mutex.
MSI (c) (A8:DC) [07:51:47:900]: Cleaning up uninstalled install packages,
if any exist
MSI (c) (A8:DC) [07:51:47:901]: MainEngineThread is returning 1603
=== Verbose logging stopped: 04/01/2008  7:51:47 ===



-- 
Edit bug report at http://bugs.php.net/?id=43748&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=43748&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=43748&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=43748&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=43748&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=43748&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=43748&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=43748&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=43748&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=43748&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=43748&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=43748&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=43748&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=43748&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=43748&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=43748&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=43748&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=43748&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=43748&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=43748&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=43748&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=43748&r=mysqlcfg

Reply via email to