ID: 43639 Comment by: nospam at gmail dot com 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:
You'd never believe it, but just going to c:\windows\system32 and running regsvr32 vbscript.dll fixed the MSI problem. Wow, go figure. Previous Comments: ------------------------------------------------------------------------ [2008-04-04 22:09:52] nospam at gmail dot com I've having the same problem here and after running msiexec with logging options on, it seems that it fails because it "Could not access VBScript runtime for custom action". Very frustrating bug, especially since you can't, by default, run MSI packages with administrator rights. This is most likely a bug with the actual MSI package or packaging application. ------------------------------------------------------------------------ [2008-03-04 19:39:18] markinoxford555 at yahoo dot co dot uk 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! ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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