I am trying to create a package that installs a web site on Windows Server 2003, using WiX 3.5.1602.0 (the latest I am aware of). No matter what I do I get errors like this:
MSI (s) (1C:D4) [16:58:25:165]: Executing op: CacheSizeFlush(,) MSI (s) (1C:D4) [16:58:25:165]: Executing op: InstallProtectedFiles(AllowUI=1) MSI (s) (1C:D4) [16:58:25:165]: Executing op: ActionStart(Name=StartMetabaseTransaction,Description=Starting IIS Metabase Transaction,) MSI (s) (1C:D4) [16:58:25:165]: Executing op: CustomActionSchedule(Action=StartMetabaseTransaction,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********) MSI (s) (1C:D4) [16:58:25:165]: Creating MSIHANDLE (412) of type 790536 for thread 3028 MSI (s) (1C:64) [16:58:25:165]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI1E7.tmp, Entrypoint: StartMetabaseTransaction MSI (s) (1C!50) [16:58:25:305]: Creating MSIHANDLE (413) of type 790531 for thread 848 MSI (s) (1C!50) [16:58:25:305]: Closing MSIHANDLE (413) of type 790531 for thread 848 MSI (s) (1C:64) [16:58:25:305]: Closing MSIHANDLE (412) of type 790536 for thread 3028 MSI (s) (1C:D4) [16:58:25:305]: Executing op: ActionStart(Name=RollbackMetabaseTransaction,Description=Rolling back IIS Metabase Transaction,) MSI (s) (1C:D4) [16:58:25:305]: Executing op: CustomActionSchedule(Action=RollbackMetabaseTransaction,ActionType=11521,Source=BinaryData,Target=**********,CustomActionData=**********) MSI (s) (1C:D4) [16:58:25:315]: Executing op: ActionStart(Name=CommitMetabaseTransaction,Description=Committing IIS Metabase Transaction,) MSI (s) (1C:D4) [16:58:25:315]: Executing op: CustomActionSchedule(Action=CommitMetabaseTransaction,ActionType=11777,Source=BinaryData,Target=**********,CustomActionData=**********) MSI (s) (1C:D4) [16:58:25:315]: Executing op: ActionStart(Name=ConfigureIIsExec,Description=Executing IIS Configuration,) MSI (s) (1C:D4) [16:58:25:315]: Executing op: CustomActionSchedule(Action=ConfigureIIsExec,ActionType=3073,Source=BinaryData,Target=ConfigureIIsExec,CustomActionData=ConfigureIIs151User1Component_1Name1Domain1Password13AppPoolUserWebNetworkService4210021161AppPool1Name1Component_1Attributes2User_1RecycleMinutes2RecycleRequests2RecycleTimes1VirtualMemory2PrivateMemory2IdleTimeout2QueueLimit2CPUMon1MaxProc2ISInstalled2ISAction23TestAppPoolTestPoolWeb8AppPoolUser-2147483648-2147483648-2147483648-2147483648-2147483648-21474836480-21474836482342100210021002100210021002100210021201Web1Component_1Id1Description1ConnectionTimeout2Directory_1State2Attributes2DirProperties_1Application_1Address1IP1Port1Header1Secure2Log_1ISInstalled2ISAction2SourcePath1TargetPath13TestWebSiteWebTestWebSite-2147483648INSTALLLOCATION-2147483648-2147483648AllUnassigned80www.contoso.com023C:\Program Files\SetupProject1\42161Address1W MSI (s) (1C:D4) [16:58:25:315]: Creating MSIHANDLE (414) of type 790536 for thread 3028 MSI (s) (1C:28) [16:58:25:315]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI1E8.tmp, Entrypoint: ConfigureIIsExec MSI (s) (1C!A0) [16:58:25:746]: Creating MSIHANDLE (415) of type 790531 for thread 1696 MSI (s) (1C!A0) [16:58:25:766]: Creating MSIHANDLE (416) of type 790531 for thread 1696 MSI (s) (1C!A0) [16:58:25:766]: Creating MSIHANDLE (417) of type 790531 for thread 1696 MSI (s) (1C!A0) [16:58:25:776]: Creating MSIHANDLE (418) of type 790531 for thread 1696 ConfigureIIsExec: Error 0x80070006: Failed to format string MSI (s) (1C!A0) [16:58:25:776]: Closing MSIHANDLE (418) of type 790531 for thread 1696 MSI (s) (1C!A0) [16:58:25:776]: Closing MSIHANDLE (417) of type 790531 for thread 1696 MSI (s) (1C!A0) [16:58:25:776]: Creating MSIHANDLE (419) of type 790531 for thread 1696 ConfigureIIsExec: Error 0x80070006: failed to get AppPool.Name MSI (s) (1C!A0) [16:58:25:776]: Closing MSIHANDLE (419) of type 790531 for thread 1696 MSI (s) (1C!A0) [16:58:25:776]: Closing MSIHANDLE (416) of type 790531 for thread 1696 MSI (s) (1C!A0) [16:58:25:776]: Creating MSIHANDLE (420) of type 790531 for thread 1696 ConfigureIIsExec: Error 0x80070006: failed while processing WebAppPools MSI (s) (1C!A0) [16:58:25:776]: Closing MSIHANDLE (420) of type 790531 for thread 1696 MSI (s) (1C!A0) [16:58:25:776]: Creating MSIHANDLE (421) of type 790531 for thread 1696 MSI (c) (F4:24) [16:58:25:786]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg Error 26006. Failed while processing WebAppPools. (-2147024890 ) MSI (s) (1C!A0) [16:58:28:109]: Product: SetupProject1 -- Error 26006. Failed while processing WebAppPools. (-2147024890 ) Previously I was using build 1505 and getting the same errors. Here is the WiX I am using: <Component Id="Web" Guid="12C82248-7945-4ADE-9730-FD3A14780D4B"> <util:User Id="AppPoolUser" Name="[WSUSERNAME]" Password="[WSPASSWORD]" CreateUser="no"/> <iis:WebAppPool Id="TestAppPool" Identity="other" Name="TestPool" User="AppPoolUser"/> <iis:WebSite Id="TestWebSite" Description="TestWebSite" Directory="INSTALLLOCATION"> <!--<iis:WebDirProperties Id="TestWebSiteProperties" WindowsAuthentication="yes"/>--> <iis:WebAddress Id="AllUnassigned" Header="[HOSTHEADER]" Port="[PORT]" /> <!--<iis:WebApplication Id="TestApplication" Name="Test" WebAppPool="TestAppPool"/>--> </iis:WebSite> </Component> Running the same installer on Windows 7 works fine. Any idea what the problem might be? Regards Rob Robert Jarratt Senior Consultant Microsoft Consulting Services Microsoft Ltd. Tel.: +44 (118) 909 4923 mailto:rjarr...@microsoft.com This email may contain confidential information. If you are not named on the addressee list, please take no action in relation to this email, do not open any attachment, and please contact the sender (details above) immediately. Information in this email is provided in good faith. If you are a customer of Microsoft, please refer to the terms and conditions which cover the provision of support and consulting services to you/your organization. If you are not corresponding in the course of, or in connection with a Microsoft contract or programme with its own terms and conditions, please note that no liability is accepted by Microsoft for the contents of this mail. Microsoft Limited (company number 01624297) is a company registered in England and Wales whose registered office is at Microsoft Campus, Thames Valley Park, Reading. RG6 1WG ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users