From: mkucej at yahoo dot com Operating system: Windows XP SP2 PHP version: 5.3.0 PHP Bug Type: Windows Installer Bug description: Windows silent install fails with Error 2711
Description: ------------ Silent install fails on Windows XP SP2. I tried PHP 5.3.0 and PHP 5.2.10. Silent installation of Apache 2.2.11 works as expected. Reproduce code: --------------- msiexec /I php.msi /q INSTALLDIR="C:\Program Files\PHP" APACHEDIR="C:\Program Files\Apache Software Foundation\Apache2.2\conf\" ADDLOCAL=MainExecutable,ScriptExecutable,cgi,apache22,ext_php_pdo_sqlite /L c:\log.txt Actual result: -------------- === Logging started: 7/31/2009 23:04:49 === Action start 23:04:49: INSTALL. Action start 23:04:49: AppSearch. Action ended 23:04:49: AppSearch. Return value 1. Action start 23:04:49: LaunchConditions. Action ended 23:04:49: LaunchConditions. Return value 1. Action start 23:04:49: FindRelatedProducts. Action ended 23:04:49: FindRelatedProducts. Return value 1. Action start 23:04:49: ValidateProductID. Action ended 23:04:49: ValidateProductID. Return value 1. Action start 23:04:49: CostInitialize. Action ended 23:04:49: CostInitialize. Return value 1. Action start 23:04:49: FileCost. Action ended 23:04:49: FileCost. Return value 1. Action start 23:04:49: CostFinalize. DEBUG: Error 2711: The specified Feature name ('mainexecutable') not found in Feature Table. MSI (s) (38:04) [23:04:49:843]: Product: PHP 5.3.0 -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2711. The arguments are: mainexecutable, , The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2711. The arguments are: mainexecutable, , Action ended 23:04:49: CostFinalize. Return value 3. Action ended 23:04:49: INSTALL. Return value 3. === Logging stopped: 7/31/2009 23:04:49 === -- Edit bug report at http://bugs.php.net/?id=49128&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49128&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49128&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49128&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49128&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49128&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49128&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49128&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49128&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49128&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49128&r=support Expected behavior: http://bugs.php.net/fix.php?id=49128&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49128&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49128&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49128&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49128&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49128&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49128&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49128&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49128&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49128&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49128&r=mysqlcfg