cvs: win-installer / PHPInstallerBase52.wxs PHPInstallerBase52NTS.wxs PHPInstallerBase53.wxs PHPInstallerBase53NTS.wxs PHPInstallerBase60.wxs
PHPInstallerBase60NTS.wxs

From: Date: Tue, 27 Jan 2009 14:28:19 +0000
Subject: cvs: win-installer / PHPInstallerBase52.wxs PHPInstallerBase52NTS.wxs PHPInstallerBase53.wxs PHPInstallerBase53NTS.wxs PHPInstallerBase60.wxs
PHPInstallerBase60NTS.wxs
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-55977@lists.php.net to get a copy of this message
jmertic Tue Jan 27 14:28:19 2009 UTC Modified files: /win-installer PHPInstallerBase52.wxs PHPInstallerBase52NTS.wxs PHPInstallerBase53.wxs PHPInstallerBase53NTS.wxs PHPInstallerBase60.wxs PHPInstallerBase60NTS.wxs Log: Applied fixes contributed from Kanwaljeet Singla <ksingla@microsoft.com>: - Changed the custom actions to be launched using CAQuietExec which creates process with CREATE_NO_WINDOW flag

http://cvs.php.net/viewvc.cgi/win-installer/PHPInstallerBase52.wxs?r1=1.35&r2=1.36&diff_format=u Index: win-installer/PHPInstallerBase52.wxs diff -u win-installer/PHPInstallerBase52.wxs:1.35 win-installer/PHPInstallerBase52.wxs:1.36 --- win-installer/PHPInstallerBase52.wxs:1.35 Mon Jan 26 18:16:26 2009 +++ win-installer/PHPInstallerBase52.wxs Tue Jan 27 14:28:19 2009 @@ -548,90 +548,130 @@ <Binary Id="PHPInstallerScripts" SourceFile="PHPInstallerScripts52.vbs" /> + <CustomAction Id="netserveCGIInterpretersaddCmd" + Property="netserveCGIInterpretersadd" + Value="&quot;[%ProgramFiles]NetServe Web Server\config.exe /add CGIInterpreters php^|[INSTALLDIR]php-cgi.exe']" /> <CustomAction Id="netserveCGIInterpretersadd" - ExeCommand="&quot;[%ProgramFiles]NetServe Web Server\config.exe /add CGIInterpreters php^|[INSTALLDIR]php-cgi.exe']" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> + <CustomAction Id="netserveCustomCGIVariablesaddCmd" + Property="netserveCustomCGIVariablesadd" + Value="&quot;[%ProgramFiles]NetServe Web Server\config.exe /add CustomCGIVariables REDIRECT_STATUS^|200']" /> <CustomAction Id="netserveCustomCGIVariablesadd" - ExeCommand="&quot;[%ProgramFiles]NetServe Web Server\config.exe /add CustomCGIVariables REDIRECT_STATUS^|200']" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> + <CustomAction Id="netserveCGIInterpretersremoveCmd" + Property="netserveCGIInterpretersremove" + Value="&quot;[%ProgramFiles]NetServe Web Server\config.exe /del CGIInterpreters php^|[INSTALLDIR]php-cgi.exe']" /> <CustomAction Id="netserveCGIInterpretersremove" - ExeCommand="&quot;[%ProgramFiles]NetServe Web Server\config.exe /del CGIInterpreters php^|[INSTALLDIR]php-cgi.exe']" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> + <CustomAction Id="iis700FastCGIaddCmd" + Property="iis700FastCGIadd" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" /> <CustomAction Id="iis700FastCGIadd" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGISetInstanceMaxRequestsCmd" + Property="iis700FastCGISetInstanceMaxRequests" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI &quot;/[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].instanceMaxRequests:10000&quot; /commit:apphost" /> <CustomAction Id="iis700FastCGISetInstanceMaxRequests" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI &quot;/[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].instanceMaxRequests:10000&quot; /commit:apphost" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGISetPHP_FCGI_MAX_REQUESTSCmd" + Property="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHP_FCGI_MAX_REQUESTS',value='10000'[\]]&quot; /commit:apphost" /> <CustomAction Id="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHP_FCGI_MAX_REQUESTS',value='10000'[\]]&quot; /commit:apphost" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGISetPHPRCCmd" + Property="iis700FastCGISetPHPRC" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHPRC',value='[INSTALLDIR]'[\]]&quot; /commit:apphost" /> <CustomAction Id="iis700FastCGISetPHPRC" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHPRC',value='[INSTALLDIR]'[\]]&quot; /commit:apphost" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" DllEntry="CAQuietExec" Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGICmd" + Property="iis700FastCGI" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /+&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='[INSTALLDIR]php-cgi.exe',resourceType='Either'[\]]&quot;" /> <CustomAction Id="iis700FastCGI" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /+&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='[INSTALLDIR]php-cgi.exe',resourceType='Either'[\]]&quot;" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGIaddremoveCmd" + Property="iis700FastCGIaddremove" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /-&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" /> <CustomAction Id="iis700FastCGIaddremove" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /-&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGIremoveCmd" + Property="iis700FastCGIremove" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /-&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*'[\]]&quot;" /> <CustomAction Id="iis700FastCGIremove" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /-&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*'[\]]&quot;" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGICmd" + Property="fcgiconfigJSFastCGI" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -add -section:&quot;PHP&quot; -extension:php -path:&quot;[INSTALLDIR]php-cgi.exe&quot;" /> <CustomAction Id="fcgiconfigJSFastCGI" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -add -section:&quot;PHP&quot; -extension:php -path:&quot;[INSTALLDIR]php-cgi.exe&quot;" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGISetInstanceMaxRequestsCmd" + Property="fcgiconfigJSFastCGISetInstanceMaxRequests" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -InstanceMaxRequests:10000" /> <CustomAction Id="fcgiconfigJSFastCGISetInstanceMaxRequests" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -InstanceMaxRequests:10000" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTSCmd" + Property="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -EnvironmentVars:PHP_FCGI_MAX_REQUESTS:10000,PHPRC:&quot;[INSTALLDIR]&quot;" /> <CustomAction Id="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -EnvironmentVars:PHP_FCGI_MAX_REQUESTS:10000,PHPRC:&quot;[INSTALLDIR]&quot;" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGIremoveCmd" + Property="fcgiconfigJSFastCGIremove" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -remove -section:&quot;PHP&quot;" /> <CustomAction Id="fcgiconfigJSFastCGIremove" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -remove -section:&quot;PHP&quot;" - Return="ignore" + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> <CustomAction Id="configIIS4" BinaryKey="PHPInstallerScripts" Return="check" @@ -650,64 +690,91 @@ VBScriptCall="unconfigApache" /> <InstallExecuteSequence> - <Custom Action="netserveCGIInterpretersadd" After="InstallInitialize"> + <Custom Action="netserveCGIInterpretersaddCmd" After="InstallInitialize"> + <![CDATA[&netserve = 3]]> + </Custom> + <Custom Action="netserveCGIInterpretersadd" After="netserveCGIInterpretersaddCmd"> + <![CDATA[&netserve = 3]]> + </Custom> + <Custom Action="netserveCustomCGIVariablesaddCmd" After="netserveCGIInterpretersadd"> <![CDATA[&netserve = 3]]> </Custom> - <Custom Action="netserveCustomCGIVariablesadd" After="netserveCGIInterpretersadd"> + <Custom Action="netserveCustomCGIVariablesadd" After="netserveCustomCGIVariablesaddCmd"> <![CDATA[&netserve = 3]]> </Custom> - <Custom Action="netserveCGIInterpretersremove" After="InstallInitialize"> + <Custom Action="netserveCGIInterpretersremoveCmd" After="InstallInitialize"> <![CDATA[&netserve = 2]]> </Custom> - <Custom Action="iis700FastCGIadd" After="InstallInitialize"> + <Custom Action="netserveCGIInterpretersremove" After="netserveCGIInterpretersremoveCmd"> + <![CDATA[&netserve = 2]]> + </Custom> + <Custom Action="iis700FastCGIaddCmd" After="InstallInitialize"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGIadd" After="iis700FastCGIaddCmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGISetInstanceMaxRequestsCmd" After="iis700FastCGIadd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGISetInstanceMaxRequests" After="iis700FastCGISetInstanceMaxRequestsCmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGISetPHP_FCGI_MAX_REQUESTSCmd" After="iis700FastCGISetInstanceMaxRequests"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGISetInstanceMaxRequests" After="iis700FastCGIadd"> + <Custom Action="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" After="iis700FastCGISetPHP_FCGI_MAX_REQUESTSCmd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" After="iis700FastCGISetInstanceMaxRequests"> + <Custom Action="iis700FastCGISetPHPRCCmd" After="iis700FastCGISetPHP_FCGI_MAX_REQUESTS"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGISetPHPRC" After="iis700FastCGISetPHP_FCGI_MAX_REQUESTS"> + <Custom Action="iis700FastCGISetPHPRC" After="iis700FastCGISetPHPRCCmd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGI" After="iis700FastCGISetPHPRC"> + <Custom Action="iis700FastCGICmd" After="iis700FastCGISetPHPRC"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGIremove" After="InstallInitialize"> + <Custom Action="iis700FastCGI" After="iis700FastCGICmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGIremoveCmd" After="InstallInitialize"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> </Custom> - <Custom Action="iis700FastCGIaddremove" After="iis700FastCGIremove"> + <Custom Action="iis700FastCGIremove" After="iis700FastCGIremoveCmd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> </Custom> - <Custom Action="iis700ISAPIremove" After="InstallInitialize"> - <![CDATA[VersionNT >= 600 AND &iis4ISAPI = 2]]> + <Custom Action="iis700FastCGIaddremoveCmd" After="iis700FastCGIremove"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> </Custom> - <Custom Action="iisextVBSCGI" After="InstallInitialize"> - <![CDATA[VersionNT = 502 AND &iis4CGI = 3]]> + <Custom Action="iis700FastCGIaddremove" After="iis700FastCGIaddremoveCmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> </Custom> - <Custom Action="iisextVBSISAPI" After="InstallInitialize"> - <![CDATA[VersionNT = 502 AND &iis4ISAPI = 3]]> + <Custom Action="fcgiconfigJSFastCGICmd" After="InstallInitialize"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iisextVBSCGIremove" After="InstallInitialize"> - <![CDATA[VersionNT = 502 AND &iis4CGI = 2]]> + <Custom Action="fcgiconfigJSFastCGI" After="fcgiconfigJSFastCGICmd"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iisextVBSISAPIremove" After="InstallInitialize"> - <![CDATA[VersionNT = 502 AND &iis4ISAPI = 2]]> + <Custom Action="fcgiconfigJSFastCGISetInstanceMaxRequestsCmd" After="fcgiconfigJSFastCGI"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGI" After="InstallInitialize"> + <Custom Action="fcgiconfigJSFastCGISetInstanceMaxRequests" After="fcgiconfigJSFastCGISetInstanceMaxRequestsCmd"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGISetInstanceMaxRequests" After="fcgiconfigJSFastCGI"> + <Custom Action="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTSCmd" After="fcgiconfigJSFastCGISetInstanceMaxRequests"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" After="fcgiconfigJSFastCGISetInstanceMaxRequests"> + <Custom Action="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" After="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTSCmd"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> <Custom Action="configIIS4" After="InstallFinalize"> <![CDATA[VersionNT < 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGIremove" After="InstallInitialize"> + <Custom Action="fcgiconfigJSFastCGIremoveCmd" After="InstallInitialize"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 2]]> + </Custom> + <Custom Action="fcgiconfigJSFastCGIremove" After="fcgiconfigJSFastCGIremoveCmd"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 2]]> </Custom> <Custom Action="unconfigIIS4" After="fcgiconfigJSFastCGIremove"> http://cvs.php.net/viewvc.cgi/win-installer/PHPInstallerBase52NTS.wxs?r1=1.11&r2=1.12&diff_format=u Index: win-installer/PHPInstallerBase52NTS.wxs diff -u win-installer/PHPInstallerBase52NTS.wxs:1.11 win-installer/PHPInstallerBase52NTS.wxs:1.12 --- win-installer/PHPInstallerBase52NTS.wxs:1.11 Mon Jan 26 19:15:22 2009 +++ win-installer/PHPInstallerBase52NTS.wxs Tue Jan 27 14:28:19 2009 @@ -25,13 +25,15 @@ Minimum='5.2.0' /> </Upgrade> + <Binary Id="WixCA" src="Wix\WixCA.dll" /> + <Condition - Message="You need to be an administrator to install PHP using this installer."> + Message="You need to be an administrator to install PHP using this installer."> <![CDATA[Privileged OR (AdminUser AND VersionNT >= 600]]> </Condition> <Condition - Message="PHP requires Windows NT/2000/XP/2003 or later to install"> + Message="PHP requires Windows NT/2000/XP/2003 or later to install"> <![CDATA[( VersionNT < 400 ) OR ( Version9x <> 0 )]]> </Condition> @@ -53,34 +55,34 @@ </Property> <Property Id="FASTCGI60MODULEINSTALLED"> - <RegistrySearch + <RegistrySearch Id="fastcgi60Registry" Root="HKLM" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E136BB09-1BB2-49A0-9FF3-5C25564D3819}" Type="raw" Name="Version" Win64="yes"/> - </Property> - <Property Id="FASTCGI70MODULEINSTALLED"> - <RegistrySearch + </Property> + <Property Id="FASTCGI70MODULEINSTALLED"> + <RegistrySearch Id="fastcgi70Registry" Root="HKLM" Key="SOFTWARE\Microsoft\InetStp\Components" Type="raw" Name="FastCgi" Win64="yes"/> - </Property> - <CustomAction Id='CheckFASTCGIINSTALLED' Property='FASTCGIINSTALLED' Value='1' /> - <CustomAction Id='CheckFASTCGINOTINSTALLED' Property='FASTCGIINSTALLED' Value='0' /> - <InstallUISequence> + </Property> + <CustomAction Id='CheckFASTCGIINSTALLED' Property='FASTCGIINSTALLED' Value='1' /> + <CustomAction Id='CheckFASTCGINOTINSTALLED' Property='FASTCGIINSTALLED' Value='0' /> + <InstallUISequence> <Custom Action="CheckFASTCGIINSTALLED" After="CostInitialize"> - <![CDATA[FASTCGI60MODULEINSTALLED OR FASTCGI70MODULEINSTALLED]]> - </Custom> + <![CDATA[FASTCGI60MODULEINSTALLED OR FASTCGI70MODULEINSTALLED]]> + </Custom> <Custom Action="CheckFASTCGINOTINSTALLED" After="CostInitialize"> - <![CDATA[NOT FASTCGI60MODULEINSTALLED AND NOT FASTCGI70MODULEINSTALLED]]> - </Custom> + <![CDATA[NOT FASTCGI60MODULEINSTALLED AND NOT FASTCGI70MODULEINSTALLED]]> + </Custom> </InstallUISequence> - + <Property Id="APACHEREGDIR"> <RegistrySearch Id="apacheRegistry" Root="HKLM" @@ -262,7 +264,7 @@ Type="integer" Name="TypesSupported" Value="7"/> - <Condition>VersionNT = 502</Condition> + <Condition>VersionNT = 502</Condition> </Component> <Component Id="php5DLL" DiskId="1" @@ -399,7 +401,7 @@ <ComponentRef Id="cgiforceredirect"/> <ComponentRef Id="iis4FastCGIregistry"/> </Feature> - <Feature AllowAdvertise="no" + <Feature AllowAdvertise="no" Id="cgi" Title="$(loc.FeaturecgiTitle)" Description="$(loc.FeaturecgiDescription)" @@ -442,72 +444,103 @@ <Binary Id="PHPInstallerScripts" SourceFile="PHPInstallerScripts52.vbs" /> + <CustomAction Id="iis700FastCGIaddCmd" + Property="iis700FastCGIadd" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" /> <CustomAction Id="iis700FastCGIadd" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGISetInstanceMaxRequestsCmd" + Property="iis700FastCGISetInstanceMaxRequests" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI &quot;/[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].instanceMaxRequests:10000&quot; /commit:apphost" /> <CustomAction Id="iis700FastCGISetInstanceMaxRequests" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI &quot;/[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].instanceMaxRequests:10000&quot; /commit:apphost" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGISetPHP_FCGI_MAX_REQUESTSCmd" + Property="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHP_FCGI_MAX_REQUESTS',value='10000'[\]]&quot; /commit:apphost" /> <CustomAction Id="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHP_FCGI_MAX_REQUESTS',value='10000'[\]]&quot; /commit:apphost" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGISetPHPRCCmd" + Property="iis700FastCGISetPHPRC" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHPRC',value='[INSTALLDIR]'[\]]&quot; /commit:apphost" /> <CustomAction Id="iis700FastCGISetPHPRC" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHPRC',value='[INSTALLDIR]'[\]]&quot; /commit:apphost" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" DllEntry="CAQuietExec" Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGICmd" + Property="iis700FastCGI" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /+&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='[INSTALLDIR]php-cgi.exe',resourceType='Either'[\]]&quot;" /> <CustomAction Id="iis700FastCGI" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /+&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='[INSTALLDIR]php-cgi.exe',resourceType='Either'[\]]&quot;" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGIaddremoveCmd" + Property="iis700FastCGIaddremove" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /-&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" /> <CustomAction Id="iis700FastCGIaddremove" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /-&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGIremoveCmd" + Property="iis700FastCGIremove" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /-&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*'[\]]&quot;" /> <CustomAction Id="iis700FastCGIremove" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /-&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*'[\]]&quot;" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGICmd" + Property="fcgiconfigJSFastCGI" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -add -section:&quot;PHP&quot; -extension:php -path:&quot;[INSTALLDIR]php-cgi.exe&quot;" /> <CustomAction Id="fcgiconfigJSFastCGI" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -add -section:&quot;PHP&quot; -extension:php -path:&quot;[INSTALLDIR]php-cgi.exe&quot;" - Return="ignore" + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGISetInstanceMaxRequestsCmd" + Property="fcgiconfigJSFastCGISetInstanceMaxRequests" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -InstanceMaxRequests:10000" /> <CustomAction Id="fcgiconfigJSFastCGISetInstanceMaxRequests" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -InstanceMaxRequests:10000" - Return="ignore" + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTSCmd" + Property="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -EnvironmentVars:PHP_FCGI_MAX_REQUESTS:10000,PHPRC:&quot;[INSTALLDIR]&quot;" /> <CustomAction Id="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -EnvironmentVars:PHP_FCGI_MAX_REQUESTS:10000,PHPRC:&quot;[INSTALLDIR]&quot;" - Return="ignore" + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGIremoveCmd" + Property="fcgiconfigJSFastCGIremove" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -remove -section:&quot;PHP&quot;" /> <CustomAction Id="fcgiconfigJSFastCGIremove" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -remove -section:&quot;PHP&quot;" - Return="ignore" + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> <CustomAction Id="configIIS4" BinaryKey="PHPInstallerScripts" Return="check" @@ -518,40 +551,73 @@ VBScriptCall="unconfigIIS4" /> <InstallExecuteSequence> - <Custom Action="iis700FastCGIadd" After="InstallInitialize"> + <Custom Action="iis700FastCGIaddCmd" After="InstallInitialize"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGIadd" After="iis700FastCGIaddCmd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGISetInstanceMaxRequests" After="iis700FastCGIadd"> + <Custom Action="iis700FastCGISetInstanceMaxRequestsCmd" After="iis700FastCGIadd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" After="iis700FastCGISetInstanceMaxRequests"> + <Custom Action="iis700FastCGISetInstanceMaxRequests" After="iis700FastCGISetInstanceMaxRequestsCmd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGISetPHPRC" After="iis700FastCGISetPHP_FCGI_MAX_REQUESTS"> + <Custom Action="iis700FastCGISetPHP_FCGI_MAX_REQUESTSCmd" After="iis700FastCGISetInstanceMaxRequests"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGI" After="iis700FastCGISetPHPRC"> + <Custom Action="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" After="iis700FastCGISetPHP_FCGI_MAX_REQUESTSCmd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGIremove" After="InstallInitialize"> + <Custom Action="iis700FastCGISetPHPRCCmd" After="iis700FastCGISetPHP_FCGI_MAX_REQUESTS"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGISetPHPRC" After="iis700FastCGISetPHPRCCmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGICmd" After="iis700FastCGISetPHPRC"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGI" After="iis700FastCGICmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGIremoveCmd" After="InstallInitialize"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> + </Custom> + <Custom Action="iis700FastCGIremove" After="iis700FastCGIremoveCmd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> </Custom> - <Custom Action="iis700FastCGIaddremove" After="iis700FastCGIremove"> + <Custom Action="iis700FastCGIaddremoveCmd" After="iis700FastCGIremove"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> </Custom> - <Custom Action="fcgiconfigJSFastCGI" After="InstallInitialize"> + <Custom Action="iis700FastCGIaddremove" After="iis700FastCGIaddremoveCmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> + </Custom> + <Custom Action="fcgiconfigJSFastCGICmd" After="InstallInitialize"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="fcgiconfigJSFastCGI" After="fcgiconfigJSFastCGICmd"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="fcgiconfigJSFastCGISetInstanceMaxRequestsCmd" After="fcgiconfigJSFastCGI"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="fcgiconfigJSFastCGISetInstanceMaxRequests" After="fcgiconfigJSFastCGISetInstanceMaxRequestsCmd"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGISetInstanceMaxRequests" After="fcgiconfigJSFastCGI"> + <Custom Action="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTSCmd" After="fcgiconfigJSFastCGISetInstanceMaxRequests"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" After="fcgiconfigJSFastCGISetInstanceMaxRequests"> + <Custom Action="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" After="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTSCmd"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> <Custom Action="configIIS4" After="InstallFinalize"> <![CDATA[VersionNT < 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGIremove" After="InstallInitialize"> + <Custom Action="fcgiconfigJSFastCGIremoveCmd" After="InstallInitialize"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 2]]> + </Custom> + <Custom Action="fcgiconfigJSFastCGIremove" After="fcgiconfigJSFastCGIremoveCmd"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 2]]> </Custom> <Custom Action="unconfigIIS4" After="fcgiconfigJSFastCGIremove"> http://cvs.php.net/viewvc.cgi/win-installer/PHPInstallerBase53.wxs?r1=1.11&r2=1.12&diff_format=u Index: win-installer/PHPInstallerBase53.wxs diff -u win-installer/PHPInstallerBase53.wxs:1.11 win-installer/PHPInstallerBase53.wxs:1.12 --- win-installer/PHPInstallerBase53.wxs:1.11 Mon Jan 26 18:16:26 2009 +++ win-installer/PHPInstallerBase53.wxs Tue Jan 27 14:28:19 2009 @@ -519,90 +519,130 @@ <Binary Id="PHPInstallerScripts" SourceFile="PHPInstallerScripts52.vbs" /> + <CustomAction Id="netserveCGIInterpretersaddCmd" + Property="netserveCGIInterpretersadd" + Value="&quot;[%ProgramFiles]NetServe Web Server\config.exe /add CGIInterpreters php^|[INSTALLDIR]php-cgi.exe']" /> <CustomAction Id="netserveCGIInterpretersadd" - ExeCommand="&quot;[%ProgramFiles]NetServe Web Server\config.exe /add CGIInterpreters php^|[INSTALLDIR]php-cgi.exe']" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> + <CustomAction Id="netserveCustomCGIVariablesaddCmd" + Property="netserveCustomCGIVariablesadd" + Value="&quot;[%ProgramFiles]NetServe Web Server\config.exe /add CustomCGIVariables REDIRECT_STATUS^|200']" /> <CustomAction Id="netserveCustomCGIVariablesadd" - ExeCommand="&quot;[%ProgramFiles]NetServe Web Server\config.exe /add CustomCGIVariables REDIRECT_STATUS^|200']" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> + <CustomAction Id="netserveCGIInterpretersremoveCmd" + Property="netserveCGIInterpretersremove" + Value="&quot;[%ProgramFiles]NetServe Web Server\config.exe /del CGIInterpreters php^|[INSTALLDIR]php-cgi.exe']" /> <CustomAction Id="netserveCGIInterpretersremove" - ExeCommand="&quot;[%ProgramFiles]NetServe Web Server\config.exe /del CGIInterpreters php^|[INSTALLDIR]php-cgi.exe']" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> + <CustomAction Id="iis700FastCGIaddCmd" + Property="iis700FastCGIadd" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" /> <CustomAction Id="iis700FastCGIadd" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGISetInstanceMaxRequestsCmd" + Property="iis700FastCGISetInstanceMaxRequests" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI &quot;/[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].instanceMaxRequests:10000&quot; /commit:apphost" /> <CustomAction Id="iis700FastCGISetInstanceMaxRequests" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI &quot;/[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].instanceMaxRequests:10000&quot; /commit:apphost" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGISetPHP_FCGI_MAX_REQUESTSCmd" + Property="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHP_FCGI_MAX_REQUESTS',value='10000'[\]]&quot; /commit:apphost" /> <CustomAction Id="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHP_FCGI_MAX_REQUESTS',value='10000'[\]]&quot; /commit:apphost" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGISetPHPRCCmd" + Property="iis700FastCGISetPHPRC" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHPRC',value='[INSTALLDIR]'[\]]&quot; /commit:apphost" /> <CustomAction Id="iis700FastCGISetPHPRC" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHPRC',value='[INSTALLDIR]'[\]]&quot; /commit:apphost" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" DllEntry="CAQuietExec" Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGICmd" + Property="iis700FastCGI" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /+&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='[INSTALLDIR]php-cgi.exe',resourceType='Either'[\]]&quot;" /> <CustomAction Id="iis700FastCGI" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /+&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='[INSTALLDIR]php-cgi.exe',resourceType='Either'[\]]&quot;" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGIaddremoveCmd" + Property="iis700FastCGIaddremove" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /-&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" /> <CustomAction Id="iis700FastCGIaddremove" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /-&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGIremoveCmd" + Property="iis700FastCGIremove" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /-&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*'[\]]&quot;" /> <CustomAction Id="iis700FastCGIremove" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /-&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*'[\]]&quot;" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGICmd" + Property="fcgiconfigJSFastCGI" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -add -section:&quot;PHP&quot; -extension:php -path:&quot;[INSTALLDIR]php-cgi.exe&quot;" /> <CustomAction Id="fcgiconfigJSFastCGI" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -add -section:&quot;PHP&quot; -extension:php -path:&quot;[INSTALLDIR]php-cgi.exe&quot;" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGISetInstanceMaxRequestsCmd" + Property="fcgiconfigJSFastCGISetInstanceMaxRequests" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -InstanceMaxRequests:10000" /> <CustomAction Id="fcgiconfigJSFastCGISetInstanceMaxRequests" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -InstanceMaxRequests:10000" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTSCmd" + Property="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -EnvironmentVars:PHP_FCGI_MAX_REQUESTS:10000,PHPRC:&quot;[INSTALLDIR]&quot;" /> <CustomAction Id="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -EnvironmentVars:PHP_FCGI_MAX_REQUESTS:10000,PHPRC:&quot;[INSTALLDIR]&quot;" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGIremoveCmd" + Property="fcgiconfigJSFastCGIremove" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -remove -section:&quot;PHP&quot;" /> <CustomAction Id="fcgiconfigJSFastCGIremove" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -remove -section:&quot;PHP&quot;" - Return="ignore" + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> <CustomAction Id="configIIS4" BinaryKey="PHPInstallerScripts" Return="check" @@ -621,64 +661,91 @@ VBScriptCall="unconfigApache" /> <InstallExecuteSequence> - <Custom Action="netserveCGIInterpretersadd" After="InstallInitialize"> + <Custom Action="netserveCGIInterpretersaddCmd" After="InstallInitialize"> + <![CDATA[&netserve = 3]]> + </Custom> + <Custom Action="netserveCGIInterpretersadd" After="netserveCGIInterpretersaddCmd"> + <![CDATA[&netserve = 3]]> + </Custom> + <Custom Action="netserveCustomCGIVariablesaddCmd" After="netserveCGIInterpretersadd"> <![CDATA[&netserve = 3]]> </Custom> - <Custom Action="netserveCustomCGIVariablesadd" After="netserveCGIInterpretersadd"> + <Custom Action="netserveCustomCGIVariablesadd" After="netserveCustomCGIVariablesaddCmd"> <![CDATA[&netserve = 3]]> </Custom> - <Custom Action="netserveCGIInterpretersremove" After="InstallInitialize"> + <Custom Action="netserveCGIInterpretersremoveCmd" After="InstallInitialize"> <![CDATA[&netserve = 2]]> </Custom> - <Custom Action="iis700FastCGIadd" After="InstallInitialize"> + <Custom Action="netserveCGIInterpretersremove" After="netserveCGIInterpretersremoveCmd"> + <![CDATA[&netserve = 2]]> + </Custom> + <Custom Action="iis700FastCGIaddCmd" After="InstallInitialize"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGIadd" After="iis700FastCGIaddCmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGISetInstanceMaxRequestsCmd" After="iis700FastCGIadd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGISetInstanceMaxRequests" After="iis700FastCGISetInstanceMaxRequestsCmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGISetPHP_FCGI_MAX_REQUESTSCmd" After="iis700FastCGISetInstanceMaxRequests"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGISetInstanceMaxRequests" After="iis700FastCGIadd"> + <Custom Action="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" After="iis700FastCGISetPHP_FCGI_MAX_REQUESTSCmd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" After="iis700FastCGISetInstanceMaxRequests"> + <Custom Action="iis700FastCGISetPHPRCCmd" After="iis700FastCGISetPHP_FCGI_MAX_REQUESTS"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGISetPHPRC" After="iis700FastCGISetPHP_FCGI_MAX_REQUESTS"> + <Custom Action="iis700FastCGISetPHPRC" After="iis700FastCGISetPHPRCCmd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGI" After="iis700FastCGISetPHPRC"> + <Custom Action="iis700FastCGICmd" After="iis700FastCGISetPHPRC"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGIremove" After="InstallInitialize"> + <Custom Action="iis700FastCGI" After="iis700FastCGICmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGIremoveCmd" After="InstallInitialize"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> </Custom> - <Custom Action="iis700FastCGIaddremove" After="iis700FastCGIremove"> + <Custom Action="iis700FastCGIremove" After="iis700FastCGIremoveCmd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> </Custom> - <Custom Action="iis700ISAPIremove" After="InstallInitialize"> - <![CDATA[VersionNT >= 600 AND &iis4ISAPI = 2]]> + <Custom Action="iis700FastCGIaddremoveCmd" After="iis700FastCGIremove"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> </Custom> - <Custom Action="iisextVBSCGI" After="InstallInitialize"> - <![CDATA[VersionNT = 502 AND &iis4CGI = 3]]> + <Custom Action="iis700FastCGIaddremove" After="iis700FastCGIaddremoveCmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> </Custom> - <Custom Action="iisextVBSISAPI" After="InstallInitialize"> - <![CDATA[VersionNT = 502 AND &iis4ISAPI = 3]]> + <Custom Action="fcgiconfigJSFastCGICmd" After="InstallInitialize"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iisextVBSCGIremove" After="InstallInitialize"> - <![CDATA[VersionNT = 502 AND &iis4CGI = 2]]> + <Custom Action="fcgiconfigJSFastCGI" After="fcgiconfigJSFastCGICmd"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iisextVBSISAPIremove" After="InstallInitialize"> - <![CDATA[VersionNT = 502 AND &iis4ISAPI = 2]]> + <Custom Action="fcgiconfigJSFastCGISetInstanceMaxRequestsCmd" After="fcgiconfigJSFastCGI"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGI" After="InstallInitialize"> + <Custom Action="fcgiconfigJSFastCGISetInstanceMaxRequests" After="fcgiconfigJSFastCGISetInstanceMaxRequestsCmd"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGISetInstanceMaxRequests" After="fcgiconfigJSFastCGI"> + <Custom Action="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTSCmd" After="fcgiconfigJSFastCGISetInstanceMaxRequests"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" After="fcgiconfigJSFastCGISetInstanceMaxRequests"> + <Custom Action="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" After="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTSCmd"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> <Custom Action="configIIS4" After="InstallFinalize"> <![CDATA[VersionNT < 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGIremove" After="InstallInitialize"> + <Custom Action="fcgiconfigJSFastCGIremoveCmd" After="InstallInitialize"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 2]]> + </Custom> + <Custom Action="fcgiconfigJSFastCGIremove" After="fcgiconfigJSFastCGIremoveCmd"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 2]]> </Custom> <Custom Action="unconfigIIS4" After="fcgiconfigJSFastCGIremove"> http://cvs.php.net/viewvc.cgi/win-installer/PHPInstallerBase53NTS.wxs?r1=1.10&r2=1.11&diff_format=u Index: win-installer/PHPInstallerBase53NTS.wxs diff -u win-installer/PHPInstallerBase53NTS.wxs:1.10 win-installer/PHPInstallerBase53NTS.wxs:1.11 --- win-installer/PHPInstallerBase53NTS.wxs:1.10 Mon Jan 26 18:16:26 2009 +++ win-installer/PHPInstallerBase53NTS.wxs Tue Jan 27 14:28:19 2009 @@ -413,72 +413,103 @@ <Binary Id="PHPInstallerScripts" SourceFile="PHPInstallerScripts52.vbs" /> + <CustomAction Id="iis700FastCGIaddCmd" + Property="iis700FastCGIadd" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" /> <CustomAction Id="iis700FastCGIadd" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGISetInstanceMaxRequestsCmd" + Property="iis700FastCGISetInstanceMaxRequests" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI &quot;/[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].instanceMaxRequests:10000&quot; /commit:apphost" /> <CustomAction Id="iis700FastCGISetInstanceMaxRequests" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI &quot;/[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].instanceMaxRequests:10000&quot; /commit:apphost" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGISetPHP_FCGI_MAX_REQUESTSCmd" + Property="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHP_FCGI_MAX_REQUESTS',value='10000'[\]]&quot; /commit:apphost" /> <CustomAction Id="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHP_FCGI_MAX_REQUESTS',value='10000'[\]]&quot; /commit:apphost" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGISetPHPRCCmd" + Property="iis700FastCGISetPHPRC" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHPRC',value='[INSTALLDIR]'[\]]&quot; /commit:apphost" /> <CustomAction Id="iis700FastCGISetPHPRC" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHPRC',value='[INSTALLDIR]'[\]]&quot; /commit:apphost" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" DllEntry="CAQuietExec" Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGICmd" + Property="iis700FastCGI" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /+&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='[INSTALLDIR]php-cgi.exe',resourceType='Either'[\]]&quot;" /> <CustomAction Id="iis700FastCGI" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /+&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='[INSTALLDIR]php-cgi.exe',resourceType='Either'[\]]&quot;" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGIaddremoveCmd" + Property="iis700FastCGIaddremove" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /-&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" /> <CustomAction Id="iis700FastCGIaddremove" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /-&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGIremoveCmd" + Property="iis700FastCGIremove" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /-&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*'[\]]&quot;" /> <CustomAction Id="iis700FastCGIremove" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /-&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*'[\]]&quot;" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGICmd" + Property="fcgiconfigJSFastCGI" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -add -section:&quot;PHP&quot; -extension:php -path:&quot;[INSTALLDIR]php-cgi.exe&quot;" /> <CustomAction Id="fcgiconfigJSFastCGI" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -add -section:&quot;PHP&quot; -extension:php -path:&quot;[INSTALLDIR]php-cgi.exe&quot;" - Return="ignore" + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGISetInstanceMaxRequestsCmd" + Property="fcgiconfigJSFastCGISetInstanceMaxRequests" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -InstanceMaxRequests:10000" /> <CustomAction Id="fcgiconfigJSFastCGISetInstanceMaxRequests" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -InstanceMaxRequests:10000" - Return="ignore" + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTSCmd" + Property="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -EnvironmentVars:PHP_FCGI_MAX_REQUESTS:10000,PHPRC:&quot;[INSTALLDIR]&quot;" /> <CustomAction Id="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -EnvironmentVars:PHP_FCGI_MAX_REQUESTS:10000,PHPRC:&quot;[INSTALLDIR]&quot;" - Return="ignore" + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGIremoveCmd" + Property="fcgiconfigJSFastCGIremove" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -remove -section:&quot;PHP&quot;" /> <CustomAction Id="fcgiconfigJSFastCGIremove" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -remove -section:&quot;PHP&quot;" - Return="ignore" + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> <CustomAction Id="configIIS4" BinaryKey="PHPInstallerScripts" Return="check" @@ -489,40 +520,73 @@ VBScriptCall="unconfigIIS4" /> <InstallExecuteSequence> - <Custom Action="iis700FastCGIadd" After="InstallInitialize"> + <Custom Action="iis700FastCGIaddCmd" After="InstallInitialize"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGISetInstanceMaxRequests" After="iis700FastCGIadd"> + <Custom Action="iis700FastCGIadd" After="iis700FastCGIaddCmd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" After="iis700FastCGISetInstanceMaxRequests"> + <Custom Action="iis700FastCGISetInstanceMaxRequestsCmd" After="iis700FastCGIadd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGISetPHPRC" After="iis700FastCGISetPHP_FCGI_MAX_REQUESTS"> + <Custom Action="iis700FastCGISetInstanceMaxRequests" After="iis700FastCGISetInstanceMaxRequestsCmd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGI" After="iis700FastCGISetPHPRC"> + <Custom Action="iis700FastCGISetPHP_FCGI_MAX_REQUESTSCmd" After="iis700FastCGISetInstanceMaxRequests"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGIremove" After="InstallInitialize"> + <Custom Action="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" After="iis700FastCGISetPHP_FCGI_MAX_REQUESTSCmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGISetPHPRCCmd" After="iis700FastCGISetPHP_FCGI_MAX_REQUESTS"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGISetPHPRC" After="iis700FastCGISetPHPRCCmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGICmd" After="iis700FastCGISetPHPRC"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGI" After="iis700FastCGICmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGIremoveCmd" After="InstallInitialize"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> + </Custom> + <Custom Action="iis700FastCGIremove" After="iis700FastCGIremoveCmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> + </Custom> + <Custom Action="iis700FastCGIaddremoveCmd" After="iis700FastCGIremove"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> </Custom> - <Custom Action="iis700FastCGIaddremove" After="iis700FastCGIremove"> + <Custom Action="iis700FastCGIaddremove" After="iis700FastCGIaddremoveCmd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> </Custom> - <Custom Action="fcgiconfigJSFastCGI" After="InstallInitialize"> + <Custom Action="fcgiconfigJSFastCGICmd" After="InstallInitialize"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGISetInstanceMaxRequests" After="fcgiconfigJSFastCGI"> + <Custom Action="fcgiconfigJSFastCGI" After="fcgiconfigJSFastCGICmd"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" After="fcgiconfigJSFastCGISetInstanceMaxRequests"> + <Custom Action="fcgiconfigJSFastCGISetInstanceMaxRequestsCmd" After="fcgiconfigJSFastCGI"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="fcgiconfigJSFastCGISetInstanceMaxRequests" After="fcgiconfigJSFastCGISetInstanceMaxRequestsCmd"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTSCmd" After="fcgiconfigJSFastCGISetInstanceMaxRequests"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" After="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTSCmd"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> <Custom Action="configIIS4" After="InstallFinalize"> <![CDATA[VersionNT < 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGIremove" After="InstallInitialize"> + <Custom Action="fcgiconfigJSFastCGIremoveCmd" After="InstallInitialize"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 2]]> + </Custom> + <Custom Action="fcgiconfigJSFastCGIremove" After="fcgiconfigJSFastCGIremoveCmd"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 2]]> </Custom> <Custom Action="unconfigIIS4" After="fcgiconfigJSFastCGIremove"> http://cvs.php.net/viewvc.cgi/win-installer/PHPInstallerBase60.wxs?r1=1.25&r2=1.26&diff_format=u Index: win-installer/PHPInstallerBase60.wxs diff -u win-installer/PHPInstallerBase60.wxs:1.25 win-installer/PHPInstallerBase60.wxs:1.26 --- win-installer/PHPInstallerBase60.wxs:1.25 Mon Jan 26 18:16:26 2009 +++ win-installer/PHPInstallerBase60.wxs Tue Jan 27 14:28:19 2009 @@ -519,90 +519,130 @@ <Binary Id="PHPInstallerScripts" SourceFile="PHPInstallerScripts60.vbs" /> + <CustomAction Id="netserveCGIInterpretersaddCmd" + Property="netserveCGIInterpretersadd" + Value="&quot;[%ProgramFiles]NetServe Web Server\config.exe /add CGIInterpreters php^|[INSTALLDIR]php-cgi.exe']" /> <CustomAction Id="netserveCGIInterpretersadd" - ExeCommand="&quot;[%ProgramFiles]NetServe Web Server\config.exe /add CGIInterpreters php^|[INSTALLDIR]php-cgi.exe']" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> + <CustomAction Id="netserveCustomCGIVariablesaddCmd" + Property="netserveCustomCGIVariablesadd" + Value="&quot;[%ProgramFiles]NetServe Web Server\config.exe /add CustomCGIVariables REDIRECT_STATUS^|200']" /> <CustomAction Id="netserveCustomCGIVariablesadd" - ExeCommand="&quot;[%ProgramFiles]NetServe Web Server\config.exe /add CustomCGIVariables REDIRECT_STATUS^|200']" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> + <CustomAction Id="netserveCGIInterpretersremoveCmd" + Property="netserveCGIInterpretersremove" + Value="&quot;[%ProgramFiles]NetServe Web Server\config.exe /del CGIInterpreters php^|[INSTALLDIR]php-cgi.exe']" /> <CustomAction Id="netserveCGIInterpretersremove" - ExeCommand="&quot;[%ProgramFiles]NetServe Web Server\config.exe /del CGIInterpreters php^|[INSTALLDIR]php-cgi.exe']" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> + <CustomAction Id="iis700FastCGIaddCmd" + Property="iis700FastCGIadd" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" /> <CustomAction Id="iis700FastCGIadd" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGISetInstanceMaxRequestsCmd" + Property="iis700FastCGISetInstanceMaxRequests" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI &quot;/[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].instanceMaxRequests:10000&quot; /commit:apphost" /> <CustomAction Id="iis700FastCGISetInstanceMaxRequests" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI &quot;/[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].instanceMaxRequests:10000&quot; /commit:apphost" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGISetPHP_FCGI_MAX_REQUESTSCmd" + Property="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHP_FCGI_MAX_REQUESTS',value='10000'[\]]&quot; /commit:apphost" /> <CustomAction Id="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHP_FCGI_MAX_REQUESTS',value='10000'[\]]&quot; /commit:apphost" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGISetPHPRCCmd" + Property="iis700FastCGISetPHPRC" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHPRC',value='[INSTALLDIR]'[\]]&quot; /commit:apphost" /> <CustomAction Id="iis700FastCGISetPHPRC" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHPRC',value='[INSTALLDIR]'[\]]&quot; /commit:apphost" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" DllEntry="CAQuietExec" Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGICmd" + Property="iis700FastCGI" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /+&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='[INSTALLDIR]php-cgi.exe',resourceType='Either'[\]]&quot;" /> <CustomAction Id="iis700FastCGI" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /+&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='[INSTALLDIR]php-cgi.exe',resourceType='Either'[\]]&quot;" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGIaddremoveCmd" + Property="iis700FastCGIaddremove" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /-&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" /> <CustomAction Id="iis700FastCGIaddremove" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /-&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGIremoveCmd" + Property="iis700FastCGIremove" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /-&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*'[\]]&quot;" /> <CustomAction Id="iis700FastCGIremove" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /-&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*'[\]]&quot;" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGICmd" + Property="fcgiconfigJSFastCGI" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -add -section:&quot;PHP&quot; -extension:php -path:&quot;[INSTALLDIR]php-cgi.exe&quot;" /> <CustomAction Id="fcgiconfigJSFastCGI" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -add -section:&quot;PHP&quot; -extension:php -path:&quot;[INSTALLDIR]php-cgi.exe&quot;" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGISetInstanceMaxRequestsCmd" + Property="fcgiconfigJSFastCGISetInstanceMaxRequests" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -InstanceMaxRequests:10000" /> <CustomAction Id="fcgiconfigJSFastCGISetInstanceMaxRequests" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -InstanceMaxRequests:10000" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTSCmd" + Property="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -EnvironmentVars:PHP_FCGI_MAX_REQUESTS:10000,PHPRC:&quot;[INSTALLDIR]&quot;" /> <CustomAction Id="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -EnvironmentVars:PHP_FCGI_MAX_REQUESTS:10000,PHPRC:&quot;[INSTALLDIR]&quot;" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGIremoveCmd" + Property="fcgiconfigJSFastCGIremove" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -remove -section:&quot;PHP&quot;" /> <CustomAction Id="fcgiconfigJSFastCGIremove" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -remove -section:&quot;PHP&quot;" - Return="ignore" + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> <CustomAction Id="configIIS4" BinaryKey="PHPInstallerScripts" Return="check" @@ -621,64 +661,91 @@ VBScriptCall="unconfigApache" /> <InstallExecuteSequence> - <Custom Action="netserveCGIInterpretersadd" After="InstallInitialize"> + <Custom Action="netserveCGIInterpretersaddCmd" After="InstallInitialize"> + <![CDATA[&netserve = 3]]> + </Custom> + <Custom Action="netserveCGIInterpretersadd" After="netserveCGIInterpretersaddCmd"> + <![CDATA[&netserve = 3]]> + </Custom> + <Custom Action="netserveCustomCGIVariablesaddCmd" After="netserveCGIInterpretersadd"> <![CDATA[&netserve = 3]]> </Custom> - <Custom Action="netserveCustomCGIVariablesadd" After="netserveCGIInterpretersadd"> + <Custom Action="netserveCustomCGIVariablesadd" After="netserveCustomCGIVariablesaddCmd"> <![CDATA[&netserve = 3]]> </Custom> - <Custom Action="netserveCGIInterpretersremove" After="InstallInitialize"> + <Custom Action="netserveCGIInterpretersremoveCmd" After="InstallInitialize"> <![CDATA[&netserve = 2]]> </Custom> - <Custom Action="iis700FastCGIadd" After="InstallInitialize"> + <Custom Action="netserveCGIInterpretersremove" After="netserveCGIInterpretersremoveCmd"> + <![CDATA[&netserve = 2]]> + </Custom> + <Custom Action="iis700FastCGIaddCmd" After="InstallInitialize"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGIadd" After="iis700FastCGIaddCmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGISetInstanceMaxRequestsCmd" After="iis700FastCGIadd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGISetInstanceMaxRequests" After="iis700FastCGISetInstanceMaxRequestsCmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGISetPHP_FCGI_MAX_REQUESTSCmd" After="iis700FastCGISetInstanceMaxRequests"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGISetInstanceMaxRequests" After="iis700FastCGIadd"> + <Custom Action="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" After="iis700FastCGISetPHP_FCGI_MAX_REQUESTSCmd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" After="iis700FastCGISetInstanceMaxRequests"> + <Custom Action="iis700FastCGISetPHPRCCmd" After="iis700FastCGISetPHP_FCGI_MAX_REQUESTS"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGISetPHPRC" After="iis700FastCGISetPHP_FCGI_MAX_REQUESTS"> + <Custom Action="iis700FastCGISetPHPRC" After="iis700FastCGISetPHPRCCmd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGI" After="iis700FastCGISetPHPRC"> + <Custom Action="iis700FastCGICmd" After="iis700FastCGISetPHPRC"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGIremove" After="InstallInitialize"> + <Custom Action="iis700FastCGI" After="iis700FastCGICmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGIremoveCmd" After="InstallInitialize"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> </Custom> - <Custom Action="iis700FastCGIaddremove" After="iis700FastCGIremove"> + <Custom Action="iis700FastCGIremove" After="iis700FastCGIremoveCmd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> </Custom> - <Custom Action="iis700ISAPIremove" After="InstallInitialize"> - <![CDATA[VersionNT >= 600 AND &iis4ISAPI = 2]]> + <Custom Action="iis700FastCGIaddremoveCmd" After="iis700FastCGIremove"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> </Custom> - <Custom Action="iisextVBSCGI" After="InstallInitialize"> - <![CDATA[VersionNT = 502 AND &iis4CGI = 3]]> + <Custom Action="iis700FastCGIaddremove" After="iis700FastCGIaddremoveCmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> </Custom> - <Custom Action="iisextVBSISAPI" After="InstallInitialize"> - <![CDATA[VersionNT = 502 AND &iis4ISAPI = 3]]> + <Custom Action="fcgiconfigJSFastCGICmd" After="InstallInitialize"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iisextVBSCGIremove" After="InstallInitialize"> - <![CDATA[VersionNT = 502 AND &iis4CGI = 2]]> + <Custom Action="fcgiconfigJSFastCGI" After="fcgiconfigJSFastCGICmd"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iisextVBSISAPIremove" After="InstallInitialize"> - <![CDATA[VersionNT = 502 AND &iis4ISAPI = 2]]> + <Custom Action="fcgiconfigJSFastCGISetInstanceMaxRequestsCmd" After="fcgiconfigJSFastCGI"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGI" After="InstallInitialize"> + <Custom Action="fcgiconfigJSFastCGISetInstanceMaxRequests" After="fcgiconfigJSFastCGISetInstanceMaxRequestsCmd"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGISetInstanceMaxRequests" After="fcgiconfigJSFastCGI"> + <Custom Action="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTSCmd" After="fcgiconfigJSFastCGISetInstanceMaxRequests"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" After="fcgiconfigJSFastCGISetInstanceMaxRequests"> + <Custom Action="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" After="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTSCmd"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> <Custom Action="configIIS4" After="InstallFinalize"> <![CDATA[VersionNT < 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGIremove" After="InstallInitialize"> + <Custom Action="fcgiconfigJSFastCGIremoveCmd" After="InstallInitialize"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 2]]> + </Custom> + <Custom Action="fcgiconfigJSFastCGIremove" After="fcgiconfigJSFastCGIremoveCmd"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 2]]> </Custom> <Custom Action="unconfigIIS4" After="fcgiconfigJSFastCGIremove"> http://cvs.php.net/viewvc.cgi/win-installer/PHPInstallerBase60NTS.wxs?r1=1.11&r2=1.12&diff_format=u Index: win-installer/PHPInstallerBase60NTS.wxs diff -u win-installer/PHPInstallerBase60NTS.wxs:1.11 win-installer/PHPInstallerBase60NTS.wxs:1.12 --- win-installer/PHPInstallerBase60NTS.wxs:1.11 Mon Jan 26 18:16:26 2009 +++ win-installer/PHPInstallerBase60NTS.wxs Tue Jan 27 14:28:19 2009 @@ -413,72 +413,103 @@ <Binary Id="PHPInstallerScripts" SourceFile="PHPInstallerScripts52.vbs" /> + <CustomAction Id="iis700FastCGIaddCmd" + Property="iis700FastCGIadd" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" /> <CustomAction Id="iis700FastCGIadd" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGISetInstanceMaxRequestsCmd" + Property="iis700FastCGISetInstanceMaxRequests" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI &quot;/[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].instanceMaxRequests:10000&quot; /commit:apphost" /> <CustomAction Id="iis700FastCGISetInstanceMaxRequests" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI &quot;/[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].instanceMaxRequests:10000&quot; /commit:apphost" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGISetPHP_FCGI_MAX_REQUESTSCmd" + Property="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHP_FCGI_MAX_REQUESTS',value='10000'[\]]&quot; /commit:apphost" /> <CustomAction Id="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHP_FCGI_MAX_REQUESTS',value='10000'[\]]&quot; /commit:apphost" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGISetPHPRCCmd" + Property="iis700FastCGISetPHPRC" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHPRC',value='[INSTALLDIR]'[\]]&quot; /commit:apphost" /> <CustomAction Id="iis700FastCGISetPHPRC" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /+&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]].environmentVariables.[\[]name='PHPRC',value='[INSTALLDIR]'[\]]&quot; /commit:apphost" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" DllEntry="CAQuietExec" Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGICmd" + Property="iis700FastCGI" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /+&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='[INSTALLDIR]php-cgi.exe',resourceType='Either'[\]]&quot;" /> <CustomAction Id="iis700FastCGI" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /+&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='[INSTALLDIR]php-cgi.exe',resourceType='Either'[\]]&quot;" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGIaddremoveCmd" + Property="iis700FastCGIaddremove" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /-&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" /> <CustomAction Id="iis700FastCGIaddremove" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/fastCGI /-&quot;[\[]fullPath='[INSTALLDIR]php-cgi.exe'[\]]&quot;" + BinaryKey="WixCA" + DllEntry="CAQuietExec" Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="iis700FastCGIremoveCmd" + Property="iis700FastCGIremove" + Value="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /-&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*'[\]]&quot;" /> <CustomAction Id="iis700FastCGIremove" - ExeCommand="&quot;[WindowsFolder]system32\inetsrv\APPCMD.EXE&quot; SET CONFIG -section:system.webServer/handlers /-&quot;[\[]name='PHP_via_FastCGI',path='*.php',verb='*'[\]]&quot;" - Return="ignore" - Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" + Execute="deferred" + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGICmd" + Property="fcgiconfigJSFastCGI" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -add -section:&quot;PHP&quot; -extension:php -path:&quot;[INSTALLDIR]php-cgi.exe&quot;" /> <CustomAction Id="fcgiconfigJSFastCGI" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -add -section:&quot;PHP&quot; -extension:php -path:&quot;[INSTALLDIR]php-cgi.exe&quot;" - Return="ignore" + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGISetInstanceMaxRequestsCmd" + Property="fcgiconfigJSFastCGISetInstanceMaxRequests" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -InstanceMaxRequests:10000" /> <CustomAction Id="fcgiconfigJSFastCGISetInstanceMaxRequests" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -InstanceMaxRequests:10000" - Return="ignore" + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTSCmd" + Property="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -EnvironmentVars:PHP_FCGI_MAX_REQUESTS:10000,PHPRC:&quot;[INSTALLDIR]&quot;" /> <CustomAction Id="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -set -section:&quot;PHP&quot; -EnvironmentVars:PHP_FCGI_MAX_REQUESTS:10000,PHPRC:&quot;[INSTALLDIR]&quot;" - Return="ignore" + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> + <CustomAction Id="fcgiconfigJSFastCGIremoveCmd" + Property="fcgiconfigJSFastCGIremove" + Value="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -remove -section:&quot;PHP&quot;" /> <CustomAction Id="fcgiconfigJSFastCGIremove" - ExeCommand="cscript &quot;[WindowsFolder]system32\inetsrv\fcgiconfig.js&quot; -remove -section:&quot;PHP&quot;" - Return="ignore" + BinaryKey="WixCA" + DllEntry="CAQuietExec" + Return="ignore" Execute="deferred" - Impersonate="no" - Directory="ProgramFilesFolder"/> + Impersonate="no" /> <CustomAction Id="configIIS4" BinaryKey="PHPInstallerScripts" Return="check" @@ -489,40 +520,73 @@ VBScriptCall="unconfigIIS4" /> <InstallExecuteSequence> - <Custom Action="iis700FastCGIadd" After="InstallInitialize"> + <Custom Action="iis700FastCGIaddCmd" After="InstallInitialize"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGISetInstanceMaxRequests" After="iis700FastCGIadd"> + <Custom Action="iis700FastCGIadd" After="iis700FastCGIaddCmd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" After="iis700FastCGISetInstanceMaxRequests"> + <Custom Action="iis700FastCGISetInstanceMaxRequestsCmd" After="iis700FastCGIadd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGISetPHPRC" After="iis700FastCGISetPHP_FCGI_MAX_REQUESTS"> + <Custom Action="iis700FastCGISetInstanceMaxRequests" After="iis700FastCGISetInstanceMaxRequestsCmd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGI" After="iis700FastCGISetPHPRC"> + <Custom Action="iis700FastCGISetPHP_FCGI_MAX_REQUESTSCmd" After="iis700FastCGISetInstanceMaxRequests"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="iis700FastCGIremove" After="InstallInitialize"> + <Custom Action="iis700FastCGISetPHP_FCGI_MAX_REQUESTS" After="iis700FastCGISetPHP_FCGI_MAX_REQUESTSCmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGISetPHPRCCmd" After="iis700FastCGISetPHP_FCGI_MAX_REQUESTS"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGISetPHPRC" After="iis700FastCGISetPHPRCCmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGICmd" After="iis700FastCGISetPHPRC"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGI" After="iis700FastCGICmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="iis700FastCGIremoveCmd" After="InstallInitialize"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> + </Custom> + <Custom Action="iis700FastCGIremove" After="iis700FastCGIremoveCmd"> + <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> + </Custom> + <Custom Action="iis700FastCGIaddremoveCmd" After="iis700FastCGIremove"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> </Custom> - <Custom Action="iis700FastCGIaddremove" After="iis700FastCGIremove"> + <Custom Action="iis700FastCGIaddremove" After="iis700FastCGIaddremoveCmd"> <![CDATA[VersionNT >= 600 AND &iis4FastCGI = 2]]> </Custom> - <Custom Action="fcgiconfigJSFastCGI" After="InstallInitialize"> + <Custom Action="fcgiconfigJSFastCGICmd" After="InstallInitialize"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGISetInstanceMaxRequests" After="fcgiconfigJSFastCGI"> + <Custom Action="fcgiconfigJSFastCGI" After="fcgiconfigJSFastCGICmd"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" After="fcgiconfigJSFastCGISetInstanceMaxRequests"> + <Custom Action="fcgiconfigJSFastCGISetInstanceMaxRequestsCmd" After="fcgiconfigJSFastCGI"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="fcgiconfigJSFastCGISetInstanceMaxRequests" After="fcgiconfigJSFastCGISetInstanceMaxRequestsCmd"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTSCmd" After="fcgiconfigJSFastCGISetInstanceMaxRequests"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> + </Custom> + <Custom Action="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTS" After="fcgiconfigJSFastCGISetPHPRCAndMAX_REQUESTSCmd"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 3]]> </Custom> <Custom Action="configIIS4" After="InstallFinalize"> <![CDATA[VersionNT < 600 AND &iis4FastCGI = 3]]> </Custom> - <Custom Action="fcgiconfigJSFastCGIremove" After="InstallInitialize"> + <Custom Action="fcgiconfigJSFastCGIremoveCmd" After="InstallInitialize"> + <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 2]]> + </Custom> + <Custom Action="fcgiconfigJSFastCGIremove" After="fcgiconfigJSFastCGIremoveCmd"> <![CDATA[((VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 2)) AND &iis4FastCGI = 2]]> </Custom> <Custom Action="unconfigIIS4" After="fcgiconfigJSFastCGIremove">
« previous php.cvs (#55977) next »