ID:               43639
 Comment by:       markinoxford555 at yahoo dot co dot uk
 Reported By:      erik dot kullberg at telia dot com
 Status:           No Feedback
 Bug Type:         *General Issues
 Operating System: Windows Vista
 PHP Version:      5.2.5
 New Comment:

Polite request... Is there any chance the batch file workaround could
be added to the documentation? It is not obvious - it's no good just
being logged on as administrator - you really do have to use the batch
file, right click, and run as administrator.

You can say it's not a bug all you like, but the fact is that Windows
Vista users simply can't install PHP without literally hours of
frustration and searching here for solutions. Either decide that PHP
isn't available under Windows Vista :-(  or add this trick to the
documentation or, even better, change the installer so that it works
without any trickery.

Please don't just say it's not a bug - as far as the user is concerned,
it simply doesn't work, not give any indication of why it doesn't work,
and that, in my mind, is a bug. Sorry!


Previous Comments:
------------------------------------------------------------------------

[2008-02-22 04:06:10] jhwanginet at hotmail dot com

The MSIEXEC/I batch file solved the "unable to run script" error for
me.  But if you rerun the batch file to add/remove some extensions, then
you get that error again.

Even after installation now without error, including certain extensions
still crash PHP, for example, maybe,

pspell
Oracle 8
svnclient
threads

------------------------------------------------------------------------

[2008-02-16 17:57:26] davkalman at gmail dot com

This is not really a bug, just that the installer needs to be run as
administrator.

When Right-clicking, Vista does not propose "Run as administrator" for
MSI files. To correct this, modify the registry as follow: 

http://juice.altiris.com/download/1382/msi-run-as-administrator-context-menu-for-vista

------------------------------------------------------------------------

[2008-01-06 13:56:39] sean dot mccleary at gmail dot com

Found a work-around.

Create a batch file to run the installer, and run the batch file as
administrator.

Batch file should contain the single line:

msiexec /i C:\php-5.2.5-win32-installer.msi

Save it, right-click on it, run as administrator.

------------------------------------------------------------------------

[2008-01-06 12:53:48] sean dot mccleary at gmail dot com

Same problem with 5.2.6-dev, by the way.

------------------------------------------------------------------------

[2008-01-06 12:49:30] sean dot mccleary at gmail dot com

Same problem here.  More info from the Windows event viewer:

Product: PHP 5.2.5 -- Error 1720. There is a problem with this Windows
Installer package. A script required for this install to complete could
not be run. Contact your support personnel or package vendor.  Custom
action unconfigApache script error -2146828218, Microsoft VBScript
runtime error: Permission denied Line 142, Column 5,

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/43639

-- 
Edit this bug report at http://bugs.php.net/?id=43639&edit=1

Reply via email to