Bugs item #1473983, was opened at 2006-04-21 03:41 Message generated for change (Settings changed) made by barnson You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1473983&group_id=105970
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: extensions Group: v2.0 >Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: Igor Lemsky (drag79) Assigned to: Scott Kurtzeborn (scotk) >Summary: WIX CA doesn\'t create third WebSite (many web sites) Initial Comment: bug, shortly: 1. Take 2.0.4005 build for Wix 2. Make virtual machine with 1000+ web sites (all sites must be active and started) 3. Make simple Wix file with THREE site in one or several components (not matter how many components) 4. Compile and install - installer will not crash, but it will not create any web sites... We can see debug error in the log: DEBUG: Error 2769: Custom Action ConfigureIIs did not close 5 MSIHANDLEs. The installer has encountered an unexpected error while installing this package. This may indicate a problem with this package. The error code is 2769. The arguments are: ConfigureIIs, 5, 5. Two web sites will installed successfully. Also if there no much sites on IIS - installation with 3 or more sites also completely successful... Now full scenario: 1. We have virtual PC with Windows 2003 (dont know yet how to recreate this bug on 2000) and IIS 6.0 Installed. It is strongly recommended to use virtual PC, because we need to restore initial state of PC and IIS 2. Create Application Pool for testing purposes and name it "a" (you can use another, but must rename in following bat-file string) 3. Use this article: http://www.kbalertz.com/824033/Receive.Event.Error.Mess age.aspx to remove IIS constraint: only 4 Mb for each WebSite. Note, that after restart http service - you need to launch or restart IIS. This step guarantee that you can create over 1000 WebSites and all of them can be started. 4. Create and launch following bat-file: for /L %%a in (7000,1,8000) do cscript c:\WINDOWS\system32\iisweb.vbs /create C:\ "TestSite%% a" /b %%a /d www.test.com /ap a Ports must be all free (from 7000 to 8000, if they are used - take another ports..) Path to script (iisweb.vbs) is well-known for Windows - so change it to your Windows directory /b - it is port, /d - host headers for site, /ap - is application pool. This bat-file will work for a 30-40 minutes on clear virtual machine. 5. Now we have 1000+Web Sites in IIS and we can test custom action: we just need very simple installer (see full code lower) and we alwayse reproduce bug! <?xml version=' 1.0' encoding='windows-1252 '?> <Wix xmlns=' http://schemas.microsoft.com/wix/2003/01/wi'> <Product Name=' Foobar 1.0 ' Id='60FB97C2-7660-4b31- A6E3-62FF2147B2BC ' Language='1033' Codepage ='1252' Version='1.0.0' Manufacturer ='Acme Ltd.'> <Package Id=' ????????-????-????-????-???????????? ' Keywords=' Installer' Description="Acme's Foobar 1.0 Installer" Comments ='Foobar is a registered trademark of Acme Ltd.' Manufacturer='Acme Ltd. ' InstallerVersion='100' Languages ='1033' Compressed='yes' SummaryCodepage='1252' /> <Media Id=' 1' Cabinet='Sample.cab ' EmbedCab=' yes ' DiskPrompt="CD-ROM #1 " /> <Property Id=' DiskPrompt ' Value="Acme's Foobar 1.0 Installation [1]" /> <Directory Id='TARGETDIR ' Name='SourceDir '> <Directory Id=' ProgramFilesFolder ' Name=' PFiles'> <Directory Id=' InstallDir ' Name='Acme '> <Component Id=' default.htmlComponent ' Guid=' D8CAA3C7-8015-4245-818A-61370A807DB8'> <File Id=' default.htmFile ' Name='default.htm ' LongName ='default.htm ' KeyPath='yes ' DiskId='1' src='default.htm' /> </ Component></Directory></ Directory> <Component Id= 'TestWebVirtualDirComponen2t ' Guid ='5A539871-087A-41c1-849E-F0A99FA8A13B'> < WebSite Id=" DefaultWebSite2" Description= " Testtesttes" Directory= " InstallDir"> <WebAddress Id=" DefWebSiteAddress2" Port=" 5674" /> </WebSite> <WebSite Id=" DefaultWebSite22" Description= " Testtesttes2" Directory= " InstallDir"> <WebAddress Id=" DefWebSiteAddress22" Port=" 5675" /> </WebSite> <WebSite Id=" DefaultWebSite21" Description= " Testtesttes1" Directory= " InstallDir"> <WebAddress Id=" DefWebSiteAddress21" Port=" 5676" /> </WebSite> </Component> </Directory> <Feature Id=' TestFeature' Title='TestFeature ' Level='1 '> <ComponentRef Id= 'default.htmlComponent' /> <ComponentRef Id='TestWebVirtualDirComponen2t'/></Feature></ Product> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1473983&group_id=105970 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
