php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1185 Doesn't correctly register scripting types for PWS or IIS
Submitted: 1999-02-25 12:29 UTC Modified: 2000-07-24 23:18 UTC
From: sam at campbellsci dot co dot uk Assigned:
Status: Closed Package: Installation problem
PHP Version: 3.0.6 OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sam at campbellsci dot co dot uk
New email:
PHP Version: OS:

 

 [1999-02-25 12:29 UTC] sam at campbellsci dot co dot uk
Quotes (") are needed around %1 and %s in php_iis_reg.inf in order to give php3 proper long file name support (i.e. spaces in file names).

A fixed file is below, presuming chars didn't get scrambed ia characterset conversion.  Email me for a safe version if you want.

; Application: PHP
; Version    : 3.0.2
; Copyright  : ? 1998 by PHP Development Group
; Created by : INF-Tool Setup Program and INF File Generator
;              Version 3.74/r (8/15/98) from www.user.xpoint.at/r.fellner/
; changes S Liddicott 1999 to add " around %1 and %s for registry values
; ---------------------------------------------------------------------------

[Version]
Signature=$Chicago$
Provider=%Author%
SetupClass=BASE
Class=NoDriver

[Optional Components]
INFTool_1

[Optional Components.ntx86]
INFTool_1.ntx86

[Strings]
Product="PHP"
Version="3.0.2"
Info="PHP 3.0.3 for Windows"
Author=""
Copyright="? 1998 by PHP Development Group"
DiskName="PHP, Setup Disk #1"
Setup="SOFTWARE\Microsoft\Windows\CurrentVersion\Setup"

[INFTool.RegFix]
HKCR,lnkfile,IsShortcut
HKCR,piffile,IsShortcut

[INFTool.Add.Reg.95]
HKLM,"System\CurrentControlSet\Services\W3Svc\Parameters\Script Map",".php3",0,"c:\php3\php.exe ""%s"" ""%s"""
HKLM,"System\CurrentControlSet\Services\W3Svc\Parameters\Script Map",".phtm3",0,"c:\php3\php.exe ""%s"" ""%s"""
HKLM,"System\CurrentControlSet\Services\W3Svc\Parameters\Script Map",".php",0,"c:\php3\php.exe ""%s"" ""%s"""
HKCR,".php3","",0,"phpfile"
HKCR,".phtm3","",0,"phpfile"
HKCR,".php","",0,"phpfile"
HKCR,"phpfile","",0,"PHP Script"
HKCR,"phpfile","EditFlags",1,00,00,01,00
HKCR,"phpfile\Shell\open","EditFlags",1,01,00,00,00
HKCR,"phpfile\Shell\open\command","",0,"c:\php3\php.exe ""%1"""

[INFTool.Add.Reg.ntx86]
HKLM,"System\CurrentControlSet\Services\W3Svc\Parameters\Script Map",".php3",0,"c:\php3\php.exe ""%s"" ""%s"""
HKLM,"System\CurrentControlSet\Services\W3Svc\Parameters\Script Map",".phtm3",0,"c:\php3\php.exe ""%s"" ""%s"""
HKLM,"System\CurrentControlSet\Services\W3Svc\Parameters\Script Map",".php",0,"c:\php3\php.exe ""%s"" ""%s"""
HKCR,".php3","",0,"phpfile"
HKCR,".phtm3","",0,"phpfile"
HKCR,".php","",0,"phpfile"
HKCR,"phpfile","",0,"PHP Script"
HKCR,"phpfile","EditFlags",1,00,00,01,00
HKCR,"phpfile\Shell\open","EditFlags",1,01,00,00,00
HKCR,"phpfile\Shell\open\command","",0,"c:\php3\php.exe ""%1"""
[INFTool.AddINI]
win.ini,Desktop,Wallpaper,HKLM,%Setup%,2
win.ini,Desktop,TileWallpaper,HKLM,%Setup%,2

[SourceDisksNames]
1=%DiskName%,,0

[SourceDisksFiles]

[DestGrp]

[DestLGrp]

[DestinationDirs]
DestGrp=25,
DestLGrp=25,

[DefaultInstall]
Ini2Reg=INFTool.AddINI
AddReg=INFTool.Add.Reg.95,INFTool.RegFix
Copyfiles=DestGrp

[DefaultInstall.ntx86]
AddReg=INFTool.Add.Reg.ntx86
Copyfiles=DestGrp

[INFTool_1]
OptionDesc=%Product%
Tip=%info%
InstallType=0
IconIndex=11
AddReg=INFTool.Add.Reg.95,INFTool.RegFix
Copyfiles=DestGrp

[INFTool_1.ntx86]
OptionDesc=%Product%
Tip=%info%
InstallType=0
IconIndex=11
AddReg=INFTool.Add.Reg.ntx86
Copyfiles=DestGrp

[IniUpdate]
Win.ini,Desktop,"WallpaperOriginX=*"
Win.ini,Desktop,"WallpaperOriginY=*"

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-12-13 16:03 UTC] joey at cvs dot php dot net
I haven't touched win32 forever...is this still there?
 [2000-07-24 23:18 UTC] joey@php.net
No feedback
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 23:01:28 2024 UTC