Hi guys!
We have 2 merge modules and MSI installation with them. Each module contains
component which configure IIS (application pool and web-site creation).
During installation setup crashes. With error
WriteIIS7ConfigChanges: Error 0x80070002: Failed get handlers section for
DirProp
WriteIIS7ConfigChanges: Error 0x80070002: Failed to configure IIS
DirProperties.
WriteIIS7ConfigChanges: Error 0x80070002: WriteIIS7ConfigChanges Failed.

Environment: Windows Server 2008 R2 x64, IIS 7
First component for IIS configuration:
<Component Id="FileSearchSvcWebDir"
Guid="45D27B45-02E6-4916-80DF-BAE371776CEE" KeyPath="yes" Win64="yes">
<iis:WebAppPool Id="FileSearchSvcAppPool"
Name="FileSearchSvcAppPool" ManagedRuntimeVersion="v4.0"
ManagedPipelineMode="integrated"/>
<iis:WebSite Id="FileSearchService" SiteId="*" Description="File Search
Service" ConfigureIfExists="yes" AutoStart="yes"
Directory="MergeRedirectFolder" Sequence="2">
<iis:WebDirProperties Id="FileSearchSvcWebDirProps" Read="yes" Write="yes"
WindowsAuthentication="yes"/>
<iis:WebAddress Id="FileSearchSvcURL" Port="8484"/>
<iis:WebApplication Id="FileSearchSvc" Name="FileSearchSvc"
WebAppPool="FileSearchSvcAppPool"/>
</iis:WebSite>
</Component>
Second component for IIS configuration:
<Component Id="WebAppWebDir" Guid="631D00C0-18EF-439D-8A59-C2F8A3463140"
KeyPath="yes" Win64="yes">
<WebAppPool Id="WebSiteAppPool" Name="WebAppPool"
ManagedRuntimeVersion="v4.0" ManagedPipelineMode="integrated"/>
<iis:WebSite Id="WebAppWebSite" Description="My Web Application"
ConfigureIfExists="yes" AutoStart="yes" Directory="MergeRedirectFolder"
SiteId="*" Sequence="1">
<iis:WebDirProperties Id="WebAppWebDirProps" Read="yes" Write="yes"
WindowsAuthentication="yes"/>
<iis:WebAddress Id="WebAppURL" Port="8282"/>
<iis:WebApplication Id="WebApp" Name="MyWebApp"
WebAppPool="WebSiteAppPool"/>
</iis:WebSite>
</Component>

I've also created a bug ID:3064181.
Thanks for your help.
Best Regards
Rovanpiera
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to