Hello, the patch attached helps to build scripts that could be executed on IIS 5 and IIS 6.
It skips the AddWebSvcExtToList call in ScaWebSvcExtRead if the
component where the WebServiceExtension is not being installed or not
being uninstalled.
After this, the original code of ScaWebSvcExtCommit will owrk on older
IIS versions.
Please review the patch and apply it.
After apply this patch the script bellow will work fine.
<DirectoryRef Id="ServidorFolder">
<Component Id="ServidorComponent"
Guid="6bfe81c2-f293-4aa6-81b2-34ff44469b8b">
<File Id="Servidor.dll" Name="Servidor.dll" KeyPath="yes"
Source="..\..\..\Produto\WebService\Servidor\Servidor.dll" />
<File Id="Default.htm" Name="Default.htm"
Source="..\..\..\Fontes\WebService\Servidor\Site\Default.htm" />
<File Id="guardiao.css" Name="guardiao.css"
Source="..\..\..\Fontes\WebService\Servidor\Site\guardiao.css" />
<File Id="guardiao.jpg" Name="guardiao.jpg"
Source="..\..\..\Fontes\WebService\Servidor\Site\guardiao.jpg" />
<iis:WebVirtualDir Id="ServidorVirtualDir"
Alias="Guardiao$(var.ProductMajorVersion)"
Directory="ServidorFolder"
WebSite="ServidorWebSite" >
<iis:WebApplication Id="ServidorWebApplication"
Name="Guardiao$(var.ProductMajorVersion)"
AllowSessions="no" ParentPaths="no"
Isolation="medium" WebAppPool="ServidorAppPool" />
<iis:WebDirProperties Id="ServidorWebDirProperties"
AnonymousAccess="yes" Execute="yes" Index="no"
DefaultDocuments="Default.htm" Read="yes" />
</iis:WebVirtualDir>
</Component>
<Component Id="ServidorIISConfig"
Guid="09c149a4-3c01-4c01-b6cf-f5f592f1a00d">
<Condition>IISMAJORVERSION >= "#6"</Condition>
<iis:WebServiceExtension Id="ServidorServiceExtension"
Allow="yes" UIDeletable="yes"
File="[#Servidor.dll]"
Description="Guardião
$(var.ProductMajorVersion) Servidor" />
<iis:WebAppPool Id="ServidorAppPool"
Name="Guardiao$(var.ProductMajorVersion)Pool" />
<!-- Fix ICE18
http://msdn.microsoft.com/library/en-us/msi/setup/ice18.asp -->
<CreateFolder />
</Component>
</DirectoryRef>
scawebsvcext.cpp.patch
Description: Binary data
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
