We persist information to the registry as well.

We also require an uninstall and reinstall.

David Adams
MSN MessengerID: [EMAIL PROTECTED]





From: "xmcs pc" <[EMAIL PROTECTED]>
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] website maintenance (i.e. change host header afterwebsite installed)
Date: Sat, 25 Nov 2006 22:54:32 -0700
MIME-Version: 1.0
X-Originating-IP: [68.147.54.210]
X-Originating-Email: [EMAIL PROTECTED]
X-Sender: [EMAIL PROTECTED]
Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by bay0-mc8-f15.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Sat, 25 Nov 2006 21:54:54 -0800 Received: from sc8-sf-list1-new.sourceforge.net (unknown [10.3.1.93])by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid B5056FD0F; Sat, 25 Nov 2006 21:54:44 -0800 (PST) Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91]helo=mail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43)id 1GoCyQ-0003gX-54for wix-users@lists.sourceforge.net; Sat, 25 Nov 2006 21:54:42 -0800 Received: from bay0-omc2-s13.bay0.hotmail.com ([65.54.246.149])by mail.sourceforge.net with esmtp (Exim 4.44) id 1GoCyO-0005Jd-R2for wix-users@lists.sourceforge.net; Sat, 25 Nov 2006 21:54:42 -0800 Received: from hotmail.com ([64.4.54.90]) by bay0-omc2-s13.bay0.hotmail.comwith Microsoft SMTPSVC(6.0.3790.1830); Sat, 25 Nov 2006 21:54:35 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;Sat, 25 Nov 2006 21:54:35 -0800 Received: from 68.147.54.210 by by20fd.bay20.hotmail.msn.com with HTTP;Sun, 26 Nov 2006 05:54:32 GMT
X-Message-Info: LsUYwwHHNt2QRo/G9YSqeKeWGYb/sxRYBEYLY2Y6lnA=
X-OriginalArrivalTime: 26 Nov 2006 05:54:35.0405 (UTC)FILETIME=[59F22BD0:01C7111F]
X-Spam-Score: 0.0 (/)
X-Spam-Report: Spam Filtering performed by sourceforge.net.See http://spamassassin.org/tag/ for more details.Report problems tohttp://sf.net/tracker/?func=add&group_id=1&atid=2000010.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay
X-BeenThere: wix-users@lists.sourceforge.net
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: "General discussion for Windows Installer XML toolset."<wix-users.lists.sourceforge.net> List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/wix-users>,<mailto:[EMAIL PROTECTED]> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=wix-users>
List-Post: <mailto:wix-users@lists.sourceforge.net>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/wix-users>,<mailto:[EMAIL PROTECTED]>
Errors-To: [EMAIL PROTECTED]
Return-Path: [EMAIL PROTECTED]

I'd like to confirm if my thinking/understanding is correct here...

In my setup, I allow the user to select the port and host header for an installed website. Custom dialog, then pass the port and host header to the <WebAddress> and I'm done. Seems so simple - Wix rocks!

Problem #1 - if I don't persist the user-defined port and host header (i.e. to registry), and then re-use those values in <WebAddress>, the uninstall doesn't remove the website. After thinking about it for a bit, this seems reasonable since you want to be absolutely sure you are removing the proper website and unless WiX persists the SiteId of the created IisWebServer metabase object for future reference, there is no way to guarantee you are operating on the same site. Requiring an exact match of ip, port, and host header is probably the safest choice if you don't have the SiteID on hand.

Problem #2 - If I want to allow the user to modify the host header setting from a maintenance dialog (i.e. Add/Remove Programs... Change), then I would need to ensure the "current" host header is used during IIS "unpublish phase" (to ensure the IIS CA matches the currently-installed site), then use the "new" host header during IIS "re-publish phase". From what I can see in the InstallExecute tables, there is only a single IIS configuration action, so it looks like there is no place for me to insert a custom action to switch out property values between IIS "unpublish" and "re-publish" (I made those terms up... think in terms of the distinct RemoveFiles and InstallFiles actions).

So... if my understanding thus far is correct... the best option would be to disallow modifying any of the <WebAddress> parameters during maintenance. If they need to be changed, then a complete uninstall and re-install is in order.

make sense?  or am I missing something?

_________________________________________________________________
Say hello to the next generation of Search. Live Search – try it now. http://www.live.com/?mkt=en-ca




-------------------------------------------------------------------------
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-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

_________________________________________________________________
Talk now to your Hotmail contacts with Windows Live Messenger. http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview


-------------------------------------------------------------------------
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-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to