Your website element is a "website locator" (i.e. it has no parent component). That means the CA will look for this website on the local machine to install to (and fail the install if it isn't present), rather than create it if it doesn't exist. The logs in this case appear consistent with it failing to find the website it should install to.
Try either: A) putting your website element inside of a component (so that the website will be created if it doesn't exist), or B) making sure the website it's searching for exists on the target machine before installation. Thanks, Mike Carlson -----Original Message----- From: Schaff, Stephen [mailto:stephen.sch...@aruplab.com] Sent: Wednesday, May 13, 2009 12:29 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] IIS6 error-Failed while processing WebVirtualDirs I am trying to get a simple wix project to install on IIS 6. I have WIX 3.0.5308.0 installed. Here is the Product.wxs: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension"> <Product Id="d8de9d74-5d1c-42b5-92d6-cc0438cf3b05" Name="WIXTest" Language="1033" Version="1.0.0.0" Manufacturer="WIXTest" UpgradeCode="b6b32a5a-0a7b-492a-9c32-c4c773635fdf"> <Package InstallerVersion="200" Compressed="yes" /> <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="INSTALLLOCATION" Name="WIXTest"> <Component Id="ProductComponent" Guid="45EEFD45-8182-4b3a-96D5-DE155B937520"> <iis:WebVirtualDir Id="AppVDir" Alias="sbsite" Directory="TARGETDIR" WebSite="InstallToWebsite" WebApplication="WebApp"> <iis:WebDirProperties Id="WebDir" DefaultDocuments="Default.aspx" /> </iis:WebVirtualDir> <iis:WebAppPool Id="WebAppPool" Name="sbsite" /> <CreateFolder/> </Component> </Directory> </Directory> </Directory> <iis:WebApplication Id="WebApp" Name="sbsite" WebAppPool="WebAppPool" /> <iis:WebSite Id="InstallToWebsite" Description="Whatever"> <iis:WebAddress Id="WebAddress" Port="80" /> </iis:WebSite> <Feature Id="ProductFeature" Title="WIXTest" Level="1"> <ComponentRef Id="ProductComponent" /> </Feature> </Product> </Wix> When I run the install on a machine with IIS 5 installed it works fine. If I run on a machine with IIS 6 Installed I get this error: Failed while processing WebVirtualDirs: (-2147024894) Here is what seems to be the relevant lines in the log file: -- MSI (s) (60:10) [13:25:01:775]: Executing op: CustomActionSchedule(Action=RollbackMetabaseTransaction,ActionType=11521,Source=BinaryData,Target=**********,CustomActionData=**********) MSI (s) (60:10) [13:25:01:775]: Executing op: ActionStart(Name=CommitMetabaseTransaction,Description=Committing IIS Metabase Transaction,) MSI (s) (60:10) [13:25:01:775]: Executing op: CustomActionSchedule(Action=CommitMetabaseTransaction,ActionType=11777,Source=BinaryData,Target=**********,CustomActionData=**********) MSI (s) (60:10) [13:25:01:775]: Executing op: ActionStart(Name=ConfigureIIsExec,,) MSI (s) (60:10) [13:25:01:791]: Executing op: CustomActionSchedule(Action=ConfigureIIsExec,ActionType=3073,Source=BinaryData,Target=ConfigureIIsExec,CustomActionData=ConfigureIIs€1€0€0€2€1€0€0€2€1€16€1€AppPool€1€Name€1€Component_€1€Attributes€2€User_€1€RecycleMinutes€2€RecycleRequests€2€RecycleTimes€1€VirtualMemory€2€PrivateMemory€2€IdleTimeout€2€QueueLimit€2€CPUMon€1€MaxProc€2€ISInstalled€2€ISAction€2€3€WebAppPool€sbsite€ProductComponent€0€€-2147483648€-2147483648€€-2147483648€-2147483648€-2147483648€-2147483648€0€-2147483648€2€3€4€2€1€0€0€2€1€0€0€2€1€0€0€2€1€15€1€DirProperties€1€Access€2€Authorization€2€AnonymousUser_€1€IIsControlledPassword€2€LogVisits€2€Index€2€DefaultDoc€1€AspDetailedError€2€HttpExpires€1€CacheControlMaxAge€2€CacheControlCustom€1€NoCustomError€2€AccessSSLFlags€2€AuthenticationProviders€1€3€WebDir€-2147483648€-2147483648€€0€-2147483648€-2147483648€Default.aspx€-2147483648€€-2147483648€€-2147483648€-2147483648€€4€2€1€0€0€2€1€0€0€2€1€12€1€Name€1€Isolation€2€AllowSessions€2€SessionTimeout€2€Buffer€2€ParentPaths€2€DefaultScript€1€ScriptTimeout€2€ServerDebugging€2€Cl MSI (s) (60:50) [13:25:01:822]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI40A5.tmp, Entrypoint: ConfigureIIsExec ConfigureIIsExec: Skipping ScaWebSvcExtRead() because IIsWebServiceExtension data not present ConfigureIIsExec: Skipping ScaMimeMapRead() - required table not present ConfigureIIsExec: Skipping ScaHttpHeaderRead() - required tables not present. ConfigureIIsExec: Skipping ScaWebErrorRead() - required tables not present. ConfigureIIsExec: Skipping ScaInstallWebDirs() because IIsWebDir table not present ConfigureIIsExec: A matching web object in memory was found, but the web object in memory has no associated base ConfigureIIsExec: Error 0x80070002: Failed to find Web base ConfigureIIsExec: Error 0x80070002: Failed to get base of web: InstallToWebsite for VirtualDir ConfigureIIsExec: Error 0x80070002: failed while processing WebVirtualDirs -- I could not find anything about this on Google. Any help is greatly appreciated. Stephen - ------------------------------------------------------------------ The information transmitted by this e-mail and any included attachments are from ARUP Laboratories and are intended only for the recipient. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws, or protected health information and is intended only for the use of the recipient. Unauthorized forwarding, printing, copying, distributing, or use of such information is strictly prohibited and may be unlawful. If you are not the intended recipient, please promptly delete this e-mail and notify the sender of the delivery error or you may call ARUP Laboratories Compliance Hot Line in Salt Lake City, Utah USA at (+1 (800) 522-2787 ext. 2100 ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users