You've probably hit a bug. Can you open it? WiX v3.5 is still under development, the IIS custom action is getting a lot of work.
On Fri, Jul 23, 2010 at 4:57 PM, Alex Henderson <bitterco...@gmail.com>wrote: > Hi All, > > We have an installer that was working fine under VS2008 - we just recently > upgraded the installer solution to VS2010 and updated to the latest weekly > build of Wix v3.5 (3.5.1923.0), and it no longer works when installing to > IIS7 - does anyone have any pointers. > > Here's the log from the installer, where I believe the issue is occurring: > > MSI (s) (8C:94) [11:09:02:788]: Invoking remote custom action. DLL: > C:\Windows\Installer\MSIBA76.tmp, Entrypoint: ExecSecureObjects > MSI (s) (8C:2C) [11:09:02:876]: Executing op: > ActionStart(Name=StartIIS7ConfigTransaction,Description=Starting IIS Config > Transaction,) > Action 11:09:02: StartIIS7ConfigTransaction. Starting IIS Config > Transaction > MSI (s) (8C:2C) [11:09:02:877]: Executing op: > > CustomActionSchedule(Action=StartIIS7ConfigTransaction,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********) > MSI (s) (8C:70) [11:09:02:884]: Invoking remote custom action. DLL: > C:\Windows\Installer\MSIBAC5.tmp, Entrypoint: StartIIS7ConfigTransaction > MSI (s) (8C:2C) [11:09:02:917]: Executing op: > ActionStart(Name=RollbackIIS7ConfigTransaction,Description=Rolling back IIS > Config Transaction,) > Action 11:09:02: RollbackIIS7ConfigTransaction. Rolling back IIS Config > Transaction > MSI (s) (8C:2C) [11:09:02:918]: Executing op: > > CustomActionSchedule(Action=RollbackIIS7ConfigTransaction,ActionType=11521,Source=BinaryData,Target=**********,CustomActionData=**********) > MSI (s) (8C:2C) [11:09:02:919]: Executing op: > ActionStart(Name=CommitIIS7ConfigTransaction,Description=Committing IIS > Config Transaction,) > Action 11:09:02: CommitIIS7ConfigTransaction. Committing IIS Config > Transaction > MSI (s) (8C:2C) [11:09:02:920]: Executing op: > > CustomActionSchedule(Action=CommitIIS7ConfigTransaction,ActionType=11777,Source=BinaryData,Target=**********,CustomActionData=**********) > MSI (s) (8C:2C) [11:09:02:921]: Executing op: > ActionStart(Name=WriteIIS7ConfigChanges,Description=Installing Config Keys > and Values,) > Action 11:09:02: WriteIIS7ConfigChanges. Installing Config Keys and Values > MSI (s) (8C:2C) [11:09:02:923]: Executing op: > > CustomActionSchedule(Action=WriteIIS7ConfigChanges,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********) > MSI (s) (8C:04) [11:09:02:924]: Invoking remote custom action. DLL: > C:\Windows\Installer\MSIBAF4.tmp, Entrypoint: WriteIIS7ConfigChanges > *WriteIIS7ConfigChanges: Error 0x80070002: Site not found for create > application* > WriteIIS7ConfigChanges: Error 0x80070002: Failed to configure IIS > application. > WriteIIS7ConfigChanges: Error 0x80070002: WriteIIS7ConfigChanges Failed. > > Here is the relevant config for the website itself: > > <?xml version="1.0" encoding="UTF-8"?> > <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util=" > http://schemas.microsoft.com/wix/UtilExtension"> > <Fragment> > <ComponentGroup Id="WebSiteComponents"> > <Component Id="WebSiteComponent" > Guid="F2F93934-ECA0-45f0-A540-433510E56270" Directory="WebSiteFolder"> > <RemoveFolder Id="WebSiteDir" Directory="WebSiteFolder" > On="uninstall" /> > </Component> > <Component Id="WebVirtualDirComponent" > Guid="1033A594-153E-4bfd-8E85-4169D9487B59" Directory="ApplicationFolder"> > <Condition>NOT VersionNT64</Condition> > <CreateFolder/> > <WebVirtualDir Id="MyAppVirtualDirectory" Alias="MyApp" > Directory="WebSiteFolder" > WebSite="DefaultWebSite" xmlns=" > http://schemas.microsoft.com/wix/IIsExtension" > DirProperties="WebSiteProperties" > > <WebApplication Id="MyAppWebApplication" Name="MyApp"> > <WebApplicationExtension CheckPath="no" Script="yes" > Extension="rails" > Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll" > Verbs="GET,HEAD,POST,DEBUG,PUT,DELETE" /> > <WebApplicationExtension CheckPath="yes" Script="yes" > Extension="aspx" Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll" > Verbs="GET,HEAD,POST,DEBUG" /> > <WebApplicationExtension CheckPath="no" Script="yes" > Executable="[NETFRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll" > Verbs="GET,HEAD,POST,DEBUG,PUT,DELETE" /> > </WebApplication> > </WebVirtualDir> > </Component> > <Component Id="WebVirtualDirComponent64" > Guid="1033A594-153E-4bfd-8E85-4169D9487B64" Directory="ApplicationFolder"> > <Condition>VersionNT64</Condition> > <CreateFolder/> > <WebVirtualDir Id="MyAppVirtualDirectory64" Alias="MyApp" > Directory="WebSiteFolder" > WebSite="DefaultWebSite" xmlns=" > http://schemas.microsoft.com/wix/IIsExtension" > DirProperties="WebSiteProperties" > > > <WebApplication Id="MyAppWebApplication64" Name="MyApp"> > > <WebApplicationExtension CheckPath="no" Script="yes" > Extension="rails" > Executable="[NETFRAMEWORKROOT64]v2.0.50727\aspnet_isapi.dll" > Verbs="GET,HEAD,POST,DEBUG,PUT,DELETE" /> > <WebApplicationExtension CheckPath="yes" Script="yes" > Extension="aspx" > Executable="[NETFRAMEWORKROOT64]v2.0.50727\aspnet_isapi.dll" > Verbs="GET,HEAD,POST,DEBUG" /> > <WebApplicationExtension CheckPath="no" Script="yes" > Executable="[NETFRAMEWORKROOT64]v2.0.50727\aspnet_isapi.dll" > Verbs="GET,HEAD,POST,DEBUG,PUT,DELETE" /> > </WebApplication> > </WebVirtualDir> > </Component> > <Component Id="WebSiteAppDataComponent" > Guid="5CBDF310-2F31-4ce2-98A9-47C2C1F67DCB" Directory="WebSiteAppData"> > <CreateFolder> > <util:PermissionEx User="Everyone" GenericAll="yes" > ChangePermission="yes" /> > <util:PermissionEx User="NetworkService" GenericAll="yes" > ChangePermission="yes" /> > </CreateFolder> > </Component> > <Component Id="WebSiteIndexesComponent" > Guid="3B9C897B-FE09-4c3c-A244-CC84964BFF0F" Directory="WebSiteIndexes"> > <CreateFolder> > <util:PermissionEx User="Everyone" GenericAll="yes" > ChangePermission="yes" /> > <util:PermissionEx User="NetworkService" GenericAll="yes" > ChangePermission="yes" /> > </CreateFolder> > </Component> > </ComponentGroup> > > * <WebSite Id="DefaultWebSite" Description="DefaultWebSite" > Directory="ApplicationFolder" xmlns=" > http://schemas.microsoft.com/wix/IIsExtension">* > * <WebAddress Id="AllUnassigned" Port="80" ></WebAddress> * > * </WebSite>* > > <WebDirProperties xmlns="http://schemas.microsoft.com/wix/IIsExtension" > Id="WebSiteProperties" > > > DefaultDocuments="default.aspx,index.aspx,default.rails,index.rails,index.htm,index.html,default.htm,default.html" > /> > </Fragment> > </Wix> > > Looking at IIS7 I can see the bindings look like they should match with the > WebAddress we see: > > http - port 80 - IP Address * (All Unassigned) - and there is no host name > specified. > > I'm not sure what I should do next to diagnose this issue, any ideas? > > Cheers, > > - Alex > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users