Hi,

I'm running IIS 5.1 and I'm getting an error while trying to register PHP
with IIS by using the 'WebServiceExtension' element. I have copied the
relevant fragment below. The error I get is:

Error 26038. Failed to schedule install of IIS Web Service Extensions.
(-2146646015         )

I have tried changing the 'File' attribute of the WebServiceExtension
element to point to just "Notepad.exe"! just in case there was a problem
with that part, but same result.

I've searched and searched for solution to this, but can't find anything.
I'm relatively new to Wix, so it's most likely something silly I am doing.
Any help/suggestions would be really appreciated as I really need to get
this working soon.

Thanks in advance,
Andrew


<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi";>
 <Fragment Id="IISFragment">
   <Property Id="IISINSTALLED">
     <RegistrySearch Id="IISMajorVersion" Root="HKLM"
Key="Software\Microsoft\InetStp" Name="MajorVersion" Type="raw" />
   </Property>

   <WebDirProperties Id="WebModulesDirProps" DefaultDocuments="index.html,
index.php,home.php" />
   <WebSite Id="DefaultWebSite" Description="Default Web Site" >
     <WebAddress Port="80"  Id="AllUnassigned"/>
   </WebSite>
   <DirectoryRef Id="ULYWEBDIR">
     <Component Id="IISIntegrationComp" DiskId="1"
Guid="A2490146-4888-414f-8020-F3B83FE35C14">
       <WebVirtualDir Id='UlyssesWebDir' Alias='Ulysses'
Directory='ULYWEBDIR' WebSite='DefaultWebSite'
DirProperties='WebModulesDirProps'>
         <WebApplication Id='UlyssesWebModules' Name='Ulysses'
Isolation='high'  >
           <WebApplicationExtension Extension='php' Script='yes'
Executable='&quot;[PHPDIR]php-cgi.exe&quot; -c &quot;[PHPDIR]php.ini&quot;'
CheckPath='no' />
         </WebApplication>
       </WebVirtualDir>

       <!-- ********************************************

       If I uncomment this line, I get the error
        <WebServiceExtension Id='PhpWebExtension' Description='PHP Pages'
File='[PHPDIR]php-cgi.exe -c &quot;[PHPDIR]php.ini&quot;' Allow='yes'/>

       ********************************************   -->

     </Component>
   </DirectoryRef>
   <FeatureRef Id="featureServerWeb">
     <Feature Level="21" Id="featureIIS" Title="IIS Integration"
Description="IIS Integration">
       <ComponentRef Id="IISIntegrationComp" />
     </Feature>
   </FeatureRef>

   <CustomAction Id="DoSkipIIS" Property="SKIPCONFIGUREIIS" Value="1" />
   <InstallExecuteSequence>
     <Custom Action="DoSkipIIS"
Before="ConfigureIIs"><![CDATA[(&featureIIS<>3) or NOT ((IISINSTALLED =
"#5") or (IISINSTALLED = "#6") or (IISINSTALLED = "#7") or(IISINSTALLED >=
5) or (IISINSTALLED="#8"))]]></Custom>
   </InstallExecuteSequence>

 </Fragment>
</Wix>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to