Rob I would like to volunteer to try and create a patch for this, is this ok or are there other changes in the IIS custom action that might change the implementation? Also, is my proposed solution acceptable? E.g. "I think the website creation needs a parameter for SiteId which by default works as it currently does to avoid breaking existing installs. It should be possible to set this to default (as it works now), iis6hash or a specific numeric value."
Neil -----Original Message----- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: 17 October 2008 20:17 To: Neil Sleightholm; General discussion for Windows Installer XML toolset. Subject: RE: [ wix-Bugs-1992202 ] Allow IIS SiteId to be set Yes. Feedback like this is what makes the decisions go round. I hadn't considered the farm issues. -----Original Message----- From: Neil Sleightholm [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2008 22:17 To: General discussion for Windows Installer XML toolset.; Rob Mensching Subject: FW: [ wix-Bugs-1992202 ] Allow IIS SiteId to be set >> Rob Mensching (robmen) >> Moving to WiX v4. We just aren't going to nail this now. Is there any way I could change your mind on this. As far as I am concerned this is a critical bug and stops my adoption of v3 in one of my clients. The key problem is that it makes it impossible to use WiX to deploy to Web farms as the site ID must be the same on all servers. Neil -----Original Message----- From: SourceForge.net [mailto:[EMAIL PROTECTED] Sent: 16 October 2008 22:58 To: [EMAIL PROTECTED] Subject: [ wix-Bugs-1992202 ] Allow IIS SiteId to be set Bugs item #1992202, was opened at 2008-06-12 09:36 Message generated for change (Comment added) made by robmen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1992202&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: v4.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Neil Sleightholm (nsleigh) Assigned to: Nobody/Anonymous (nobody) Summary: Allow IIS SiteId to be set Initial Comment: When you use WiX to create a new website in IIS 6 it creates it with an Identifier or Site Id of one more than the last website that was created (this is the same as IIS 5). If you create it manually then IIS sets the Identifier to a number based on the hash of the site name - the algorithm for this is explained here on Mike Poulson's blog: http://blogs.msdn.com/mpoulson/archive/2006/03/06/544893.aspx. To summarise it creates the hash and then if that Identifier is in use it just adds one until it finds an unused Identifier. This method of creating Identifier's based on the hash of the name is very useful when you have a farm of servers as it means that the Identifier is not dependent on the order in which installs are run. For in house websites you can arrange for the website names to have unique hash values and be sure that all servers in a farm are identical and even build servers with a subset of the sites that again are identical to the original install. The identifier is also used for log file path, so on a farm of servers it helps if the logs are all in known folders. This Id is also used as the key to the session state so must be the same on all servers. I think the website creation needs a parameter for SiteId which by default works as it currently does to avoid breaking existing installs. It should be possible to set this to default (as it works now), iis6hash or a specific numeric value. I have attached a modified v2 scaweb.cpp that implements the IIS6 hashing method. ---------------------------------------------------------------------- Comment By: Rob Mensching (robmen) Date: 2008-10-16 14:58 Message: Moving to WiX v4. We just aren't going to nail this now. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1992202&group_id=105970 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users