This sounds very much like a bug that was fixed in WiX v3.6... On Wed, Feb 1, 2012 at 11:17 AM, John Cooper <jocoo...@jackhenry.com> wrote:
> Replying to myself: > > Commenting out the iis:WebDirProperties element results in a different > error: > > Action 13:13:03: WriteIIS7ConfigChanges. Installing Config Keys and Values > MSI (s) (60:E0) [13:13:03:168]: Executing op: > CustomActionSchedule(Action=WriteIIS7ConfigChanges,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********) > MSI (s) (60:B4) [13:13:03:170]: Invoking remote custom action. DLL: > C:\Windows\Installer\MSI4097.tmp, Entrypoint: WriteIIS7ConfigChanges > WriteIIS7ConfigChanges: Error 0x80070057: Failed get httpErrors section > WriteIIS7ConfigChanges: Error 0x80070057: Failed to configure IIS web svc > ext. > WriteIIS7ConfigChanges: Error 0x80070057: WriteIIS7ConfigChanges Failed. > CustomAction WriteIIS7ConfigChanges returned actual error code 1603 (note > this may not be 100% accurate if translation happened inside sandbox) > Action ended 13:13:06: InstallFinalize. Return value 3. > > -- > John M. Cooper > > -----Original Message----- > From: John Cooper > Sent: Wednesday, February 01, 2012 12:45 PM > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] WriteIIS7ConfigChanges: Error 0x80070057: Failed get > handlers section for DirProp > > I'm getting an install time error during IIS7 Configuration: > WriteIIS7ConfigChanges: Error 0x80070057: Failed get handlers for DirProp. > > This is with Wix 3.5 RTM. > > An extract of the verbose log looks like: > > Action 12:37:38: WriteIIS7ConfigChanges. Installing Config Keys and Values > MSI (s) (F4:74) [12:37:38:134]: Executing op: > CustomActionSchedule(Action=WriteIIS7ConfigChanges,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********) > MSI (s) (F4:CC) [12:37:38:137]: Invoking remote custom action. DLL: > C:\Windows\Installer\MSID717.tmp, Entrypoint: WriteIIS7ConfigChanges > WriteIIS7ConfigChanges: Error 0x80070057: Failed get handlers section for > DirProp > WriteIIS7ConfigChanges: Error 0x80070057: Failed to configure IIS > DirProperties. > WriteIIS7ConfigChanges: Error 0x80070057: WriteIIS7ConfigChanges Failed. > CustomAction WriteIIS7ConfigChanges returned actual error code 1603 (note > this may not be 100% accurate if translation happened inside sandbox) > Action ended 12:37:41: InstallFinalize. Return value 3. > > The relevant source looks like: > > <Fragment> > <PropertyRef Id="WEBSITE_NAME" /> > > <iis:WebSite Id="TargetWebSite" Description="[WEBSITE_NAME]" > Directory="WebsiteFolder"> > <iis:WebAddress Id="AllUnassigned" Port="80" IP="*" /> > <iis:WebAddress Id="AllUnassignedSsl" Port="443" IP="*" Secure="yes" > /> > </iis:WebSite> > </Fragment> > <Fragment> > <Property Id="XHSAlias" Value="/XperienceHelpSystem" /> > <DirectoryRef Id="WebsiteFolder"> > <Component Id="CmpXHSIis" Guid="SOME-GUID-HERE" KeyPath="yes" > Win64="yes"> > <CreateFolder /> > <iis:WebVirtualDir Id="XHSRoot" Directory="WebsiteFolder" > Alias="[XHSAlias]" WebSite="TargetWebSite"> > <iis:WebDirProperties Id="XHSDirProperties" AnonymousAccess="no" > BasicAuthentication="yes" Index="yes" Read="yes" > WindowsAuthentication="yes" /> > <iis:WebApplication Id="XHSWebApp" Name="[XHSAlias]" > WebAppPool="XHSAppPool" /> > </iis:WebVirtualDir> > <util:User Id="XHSAppPoolUser" CreateUser="no" > Name="ApplicationPoolIdentity" /> > <iis:WebAppPool Id="XHSAppPool" Name="XperienceHelpSystem" > Identity="other" User="XHSAppPoolUser" ManagedPipelineMode="integrated" > ManagedRuntimeVersion="v4.0" /> > </Component> > </DirectoryRef> > </Fragment> > > I'm at a loss how to work around this. > -- > John Merryweather Cooper > Build & Install Engineer - ESA > Jack Henry & Associates, Inc.(r) > Shawnee Mission, KS 66227 > Office: 913-341-3434 x791011 > jocoo...@jackhenry.com<mailto:jocoo...@jackhenry.com> > www.jackhenry.com<http://www.jackhenry.com/> > > NOTICE: This electronic mail message and any files transmitted with it are > intended exclusively for the individual or entity to which it is addressed. > The message, together with any attachment, may contain confidential and/or > privileged information. > Any unauthorized review, use, printing, saving, copying, disclosure or > distribution is strictly prohibited. If you have received this message in > error, please immediately advise the sender by reply email and delete all > copies. > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers is > just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro > Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > NOTICE: This electronic mail message and any files transmitted with it are > intended > exclusively for the individual or entity to which it is addressed. The > message, > together with any attachment, may contain confidential and/or privileged > information. > Any unauthorized review, use, printing, saving, copying, disclosure or > distribution > is strictly prohibited. If you have received this message in error, please > immediately advise the sender by reply email and delete all copies. > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users