Are there any plans to add something like a "ConfigureIfExists" property to the WebAppPool element? It seems that that would be a simple feature which would make my headache, and potentially many others', go away.
I have an existing install which has one component defining the WebVirtualDir, WebSite, WebAppPool, and User all together. So all 4 pieces are installed and removed at the same time. I am now trying to write an upgrade that will maintain the current pool if it exists, or create one if it doesn't exist. I was thinking that I could pull the WebAppPool into its own component, and condition it with the result of a custom action that checks if the AppPool exists or not. I can get that to work, but in the case where the upgrade does not install the component (AppPool already exists), then the uninstall of the upgraded product does not remove the WebAppPool. I am guessing this is because the upgraded install did not install the component for the AppPool, and in the ugpraded install, the component that originally installed the AppPool was updated to not have the AppPool (it was pulled into its own component). Is that correct?
So, I think the only option I'm left with is the one that David suggested - run a custom action to check for the Application pool and save off the settings before the Application pool is reinstalled. Then after its reinstalled, run another custom action to set the properties on the AppPool back to what they were before it was reinstalled.
Does anyone have any other suggestions?
Thanks!
-Tina
On 10/23/06, Tina Basinger <[EMAIL PROTECTED]> wrote:
----- Original Message -----
From: "david adams"
To: [EMAIL PROTECTED]
Subject: Re: [WiX-users] Web Application Pool
Date: Mon, 23 Oct 2006 01:01:07 +0000
--
---------- Forwarded message ----------
From: "david adams" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Mon, 23 Oct 2006 01:01:07 +0000
Subject: Re: [WiX-users] Web Application Pool
Tina:
In our case, we are not required to support upgrades. We uninstall and
reinstall the web sites, which have minimal changes from the settings that
we publish via our installs.
That said, if I had a requirement to support upgrades and wanted to make
sure that my installs did not overlay / invalidate some of the "localized"
changes that were made after my install, I would probably look to create a
Custom Action that queried the relevant IIS settings, saved them to property
values, and reinstalled the updated web site with the saved property
settings.
Hope this helps.
David Adams
MSN MessengerID: [EMAIL PROTECTED]
>From: "Tina Basinger" < [EMAIL PROTECTED]>
>To: "david adams"
><[EMAIL PROTECTED]>, wix-users@lists.sourceforge.net
>Subject: Re: [WiX-users] Web Application Pool
>Date: Fri, 20 Oct 2006 15:57:05 -0500
>MIME-Version: 1.0
>X-Originating-IP: 131.107.0.104
>Received: from lists-outbound.sourceforge.net ([ 66.35.250.225]) by
>bay0-mc11-f14.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444 ); Fri,
>20 Oct 2006 13:58:28 -0700
>Received: from sc8-sf-list1-new.sourceforge.net (unknown [10.3.1.93])by
> sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid 98002125D1; Fri, 20 Oct
>2006 13:58:27 -0700 (PDT)
>Received: from sc8-sf-mx2-b.sourceforge.net
>([10.3.1.92]helo= mail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net
>with esmtp (Exim 4.43)id 1Gb1P5-0004FR-Itfor
>wix-users@lists.sourceforge.net; Fri, 20 Oct 2006 13:55:43 -0700
>Received: from webmail-outgoing.us4.outblaze.com ([205.158.62.67])by
> mail.sourceforge.net with esmtp (Exim 4.44) id 1Gb1P4-0003ws-Vkfor
>wix-users@lists.sourceforge.net; Fri, 20 Oct 2006 13:55:43 -0700
>Received: from unknown (unknown [192.168.9.180])by
> webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id51E181800205 for
><wix-users@lists.sourceforge.net >;Fri, 20 Oct 2006 20:57:11 +0000 (GMT)
>Received: by ws1-5.us4.outblaze.com (Postfix, from userid 1001)id
>F3537478081; Fri, 20 Oct 2006 20:57:05 +0000 (GMT)
>Received: from [131.107.0.104] by ws1-5.us4.outblaze.com with http
>[EMAIL PROTECTED]; Fri, 20 Oct 2006 15:57:05 -0500
>X-Message-Info: LsUYwwHHNt0Kn9+ALiu5nnVrsKdoMAGMqnKGnCvw7pg=
>X-OB-Received: from unknown (205.158.62.51)by wfilter.us4.outblaze.com; 20
>Oct 2006 20:57:11 -0000
>X-Originating-Server: ws1-5.us4.outblaze.com
>X-Spam-Score: 1.6 (+)
>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 HTML_MESSAGE
> BODY: HTML included in message1.1 HTML_NONELEMENT_60_70 BODY: 60%
>to 70% of HTML elements arenon-standard0.5 HTML_20_30 BODY:
>Message is 20% to 30% HTML
>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]?subject=unsubscribe>
>List-Archive:
><http://sourceforge.net/mailarchive/forum.php?forum=wix-users>
>List-Post: <mailto:wix-users@lists.sourceforge.net>
>List-Help: <mailto: [EMAIL PROTECTED]?subject=help>
>List-Subscribe:
>< https://lists.sourceforge.net/lists/listinfo/wix-users>,<mailto:[EMAIL PROTECTED] ?subject=subscribe>
>Errors-To: [EMAIL PROTECTED]
>Return-Path: [EMAIL PROTECTED]
>X-OriginalArrivalTime: 20 Oct 2006 20:58:28.0205 (UTC)
>FILETIME=[7DEDF9D0:01C6F48A]
>
>I think we have one application pool per web site as well. However, I am
>working on an upgrade scenario, and do not want to re-configure the
>application pool if it exists because the user may have updated settings
>on it since the original install. The same applies for the web site we
>create, but it happens that the WebSite element has a ConfigureIfExists
>property that we can set to No.
>
>-Tina
>
> ----- Original Message -----
> From: "david adams"
> To: [EMAIL PROTECTED], wix-users@lists.sourceforge.net
> Subject: RE: [WiX-users] Web Application Pool
> Date: Fri, 20 Oct 2006 20:44:24 +0000
>
>
> Tina:
>
> I am not sure the answer to your question, but we create
> application pools for each of our web sites in IIS. Because we
> have a multiple web site / shared server resource environment,
> having dedicated application pools prevent problems in one web site
> from impacting the functionality / performance a "neighbor".
>
> Just my .02.
>
> David Adams
> MSN MessengerID: [EMAIL PROTECTED]
>
>
>
>
>
> > From: "Tina Basinger"
> > To: wix-users@lists.sourceforge.net
> > Subject: [WiX-users] Web Application Pool
> > Date: Fri, 20 Oct 2006 15:21:03 -0500
> > MIME-Version: 1.0
> > X-Originating-IP: 131.107.0.103
> > Received: from lists-outbound.sourceforge.net ([ 66.35.250.225])
> > by bay0-mc8-f3.bay0.hotmail.com with Microsoft
> > SMTPSVC( 6.0.3790.2444); Fri, 20 Oct 2006 13:23:05 -0700
> > Received: from sc8-sf-list1-new.sourceforge.net (unknown
> > [10.3.1.93])by sc8-sf-spam2.sourceforge.net (Postfix) with
> > ESMTPid 5E14B138AD; Fri, 20 Oct 2006 13:23:05 -0700 (PDT)
> > 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
> > 1Gb0qG-0000zi-9Lfor wix-users@lists.sourceforge.net; Fri, 20 Oct
> > 2006 13:19:44 -0700
> > Received: from webmail-outgoing.us4.outblaze.com
> > ([ 205.158.62.67])by mail.sourceforge.net with esmtp (Exim 4.44)
> > id 1Gb0qE-0006rS-Vkfor wix-users@lists.sourceforge.net; Fri, 20
> > Oct 2006 13:19:44 -0700
> > Received: from unknown (unknown [ 192.168.9.180])by
> > webmail-outgoing.us4.outblaze.com (Postfix) with QMQP
> > id5C2521800D6F for ;Fri, 20 Oct
> > 2006 20:21:10 +0000 (GMT)
> > Received: by ws1-2.us4.outblaze.com (Postfix, from userid 1001)id
> > C45E31F50B2; Fri, 20 Oct 2006 20:21:10 +0000 (GMT)
> > Received: from [ 131.107.0.103] by ws1-2.us4.outblaze.com with
> > http [EMAIL PROTECTED]; Fri, 20 Oct 2006 15:21:03 -0500
> > X-Message-Info: LsUYwwHHNt15I7C92c4C3XSH55aBI0hXvmnVfL57qH4=
> > X-OB-Received: from unknown ( 205.158.62.81)by
> > wfilter.us4.outblaze.com; 20 Oct 2006 20:21:11 -0000
> > X-Originating-Server: ws1-2.us4.outblaze.com
> > X-Spam-Score: 2.4 (++)
> > 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.2
> > HTML_IMAGE_RATIO_04 BODY: HTML has a low ratio of text to
> > imagearea 0.2 HTML_60_70 BODY: Message is 60% to 70%
> > HTML0.0 HTML_MESSAGE BODY: HTML included in message2.0
> > HTML_IMAGE_ONLY_08 BODY: HTML: images with 400-800 bytes of words
> > X-BeenThere: wix-users@lists.sourceforge.net
> > X-Mailman-Version: 2.1.8
> > Precedence: list
> > List-Id: "General discussion for Windows Installer XML
> > toolset."
> > List-Unsubscribe:
> > ,
> > List-Archive:
> > List-Post:
> > List-Help:
> > List-Subscribe:
> > ,
> > Errors-To: [EMAIL PROTECTED]
> > Return-Path: [EMAIL PROTECTED]
> > X-OriginalArrivalTime: 20 Oct 2006 20:23:05.0895 (UTC)
> > FILETIME=[8CEF2B70:01C6F485]
> >
> > Is there any way to keep the Wix custom actions from createing or
> > configure a web application pool (WebAppPool element) if it already
> > exists?
> >
> > Thanks!
> > -Tina
> >
> > --
> >
> > Search for products and services at:
> > http://search.mail.com
> >
>
>
> >
>
>-------------------------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services,
> security?
> > Get stuff done quickly with pre-integrated technology to make your
> job easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>
> _________________________________________________________________
> Get today's hot entertainment gossip
> http://movies.msn.com/movies/hotgossip?icid=T002MSN03A07001
>
>--
>
>Search for products and services at:
> http://search.mail.com
>
>-------------------------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job
>easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>_______________________________________________
>WiX-users mailing list
> WiX-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wix-users
_________________________________________________________________
Use your PC to make calls at very low rates
https://voiceoam.pcs.v2s.live.com/partnerredirect.aspx
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users