From: paul at cohsoft dot com dot au Operating system: Windows XP PHP version: 5.2.8 PHP Bug Type: Windows Installer Bug description: Installing IIS+ISAPI fails if PHP.EXE not present
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 bug report at http://bugs.php.net/?id=46935&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46935&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46935&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46935&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46935&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46935&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46935&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46935&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46935&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46935&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46935&r=support Expected behavior: http://bugs.php.net/fix.php?id=46935&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46935&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46935&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46935&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46935&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46935&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46935&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46935&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46935&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46935&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46935&r=mysqlcfg
