ID: 46935 User updated by: paul at cohsoft dot com dot au -Summary: Installing IIS+ISAPI fails if PHP.EXE not present Reported By: paul at cohsoft dot com dot au Status: Open Bug Type: Windows Installer Operating System: Windows XP PHP Version: 5.2.8 New Comment:
Changed summary Previous Comments: ------------------------------------------------------------------------ [2008-12-23 12:54:16] paul at cohsoft dot com dot au Description: ------------ This is bug #45685 restarted. If you install PHP onto Windows XP with IIS+ISAPI, the procedure configIIS4 in script PHPInstallerScripts52.vbs fails on line 182 because it is trying use the File System Object to generate a short path. The FSO GetFile method fails if the file does not exist. The php5isapi.dll does not yet exist because the script is being executed during installation. The problem doesn't occur on Windows Server 03, Vista or Server 08 because the script doesn't generate a short name for those operating systems. I don't know of a simple fix for the problem. The windows GetShortPathName API function doesn't rely on a file existing, but VBScript can't call API functions. Maybe the script can be deferred until the rest of installation is done, so the php5isapi.dll file *does* exist? Workaround: Choose "Do not setup a web server" during first install of PHP. Download the PHP zip and unzip to a temp folder. Copy php5isapi.dll from temp folder to wherever PHP.EXE is. Manually configure IIS to use the ISAPI DLL. Actual message: Product: PHP 5.2.6 -- 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 configIIS4 script error -2146828235, Microsoft VBScript runtime error: File not found Line 182, Column 9 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46935&edit=1