PHP Bugs  
php.net | support | documentation | report a bug | advanced search | search howto | statistics | login

go to bug id or search bugs for  

Bug #43230 The MSI Installer crashes when trying to install
Submitted:9 Nov 2007 10:03pm UTC Modified: 22 Aug 2008 6:16pm UTC
From:pamcallaway at pobox dot com Assigned to:jmertic
Status:Closed Category:Windows Installer
Version:5.2.5 OS:Win XP, SP2
Votes:21 Avg. Score:4.7 ± 0.7 Reproduced:19 of 20 (95.0%)
Same Version:16 (84.2%) Same OS:9 (47.4%)
View/Vote Developer Edit Submission

[9 Nov 2007 10:03pm UTC] pamcallaway at pobox dot com
Description:
------------
Hi, I downloaded the PHP 5.2.5 MSI package, and it crashes when I try to
Install it.  It get to the directory selection page, and after you pick
where to install it and the click next, it crashes.  I was putting in
C:\Program Files\PHP\.  I click next and I get this error:

PHP 5.2.5 Setup
The installer has encountered and unexpected error installing this
package.  This may indicate a problem with this package.  The error code
is 2878.

I tried all four servers in the US and still got this message.  I will
try the ZIP file next, but the MSI is definately not working on my
system.

Reproduce code:
---------------
Run the installer.

Expected result:
----------------
I expected to have it successfully installed.

Actual result:
--------------
It gave me that error message:

PHP 5.2.5 Setup
The installer has encountered and unexpected error installing this
package.  This may indicate a problem with this package.  The error code
is 2878.
[10 Nov 2007 9:21pm UTC] kempe dot marcus at gmail dot com
I have the same problem, using Windows Vista Ultimate. 
I also tried the snapshot installers for both version 5.2 and 5.3 and
experience the exact same error (2878).
[10 Nov 2007 10:20pm UTC] jani@php.net
Assigned to the installer maintainer.
[10 Nov 2007 10:25pm UTC] matthayden at cinci dot rr dot com
I am having the same problem. I tried installing on 2 computers with the
same problem. error code 2878
[10 Nov 2007 11:46pm UTC] sandiphome at yahoo dot com
Same problem here on XP professional.
[11 Nov 2007 12:01am UTC] progun at ukr dot net
Same problem. Log file:

The installer has encountered an unexpected error installing this
package. This may indicate a problem with this package. The error code
is 2878. The arguments are: WebServerDlg, Buttons, iis4CGI
=== Logging stopped: 11.11.2007  01:54:02 ===

Description of that error:
On the dialog [2] the control [3] has a possible value: [4]. This is an
invalid or duplicate value.

http://img152.imageshack.us/img152/3411/phpinstym2.jpg
After i changed the upper iis4CGI value to iis4FastCGI, problem
disappeared. But after install i see another error message:

The installer has encountered an unexpected error installing this
package. This may indicate a problem with this package. The error code
is 2717. The arguments are: fcgiconfigJSFastCGIremove, , 
=== Logging stopped: 11.11.2007  01:53:46 ===

Bad action condition or error calling custom action '[2]'.

I have tried to fix this error but i failed. That is problems with the
installer.
[11 Nov 2007 6:05am UTC] seansowell at gmail dot com
Hello ---

The same error message occurs for me.  I'm running Windows 2000 Service
Pack 4, fully patched.  I already have Apache 2.2.4 installed and
properly configured.  I also have MySQL 5.0.45 installed.  This latest
PHP version would keep my WAMP stack up to date.

Before trying to install PHP 5.2.5, I uninstalled PHP 5.2.4 with the
usual Windows Add/Remove Software tool.

I also checked the md5sum using version 1.13 of md5deep from sf.net
(please see https://sourceforge.net/projects/md5deep/).  The md5sum of
my file matches that posted to the php.net download page
(http://www.php.net/downloads.php):

  21013504  cc882abae3b9ac2f5b83abc57f3381ae 
20071108-php-5.2.5-win32-installer.msi

The error message occurs whether or not Apache 2.2.4 is running or
stopped, and regardless of the presence or absence of the Apache Monitor
in the taskbar.  MySQL was not running when I attempted to install PHP
5.2.5.  No other programs that might impact or depend upon PHP were
running during installation (ActiveState Perl/Python/TCL etc, or any web
browser, or any other database engine).

After receiving the same error message several times, I simply
reinstalled PHP 5.2.4 with that MSI installer.  5.2.4 reinstalled
flawlessly.

Obviously, if this is a bug and not a misconfiguration of my machine,
I'd like to be alerted when the patched installer is ready for testing. 
If the maintainer needs further hardware or software configuration
details, I would be happy to provide them.

Thanks,

Sean S.
Pleasanton, California, USA
[11 Nov 2007 7:15am UTC] timshaw at mail dot usa dot com
Me too!

Windows XP Service Pack 2 IIS 5.1 Windows Installer 3.1 DreamWeaver
ActivePerl 5.8.2 MySQL 4.1.

Also, I use international character sets and chinese characters are
installed but rarely used, which may be a common denominator for this
error from other projects using WiX...

Thanks for PHP!
timshaw@mail.usa.com
[11 Nov 2007 1:16pm UTC] jmertic@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

I'm going to get the 5.2.5 installer re-spun here shortly. Thanks progun
at ukr dot net for pointing out the problems; I actually had them fixed
locally, but I must have forgot to commit the changes out.

RSS feed | show source 

PHP Copyright © 2001-2009 The PHP Group
All rights reserved.
Last updated: Sat Nov 21 10:30:49 2009 UTC