[wix-users] IIS App Pool Properties

Christopher Painter chrpai at iswix.com
Sat Apr 14 09:09:12 PDT 2018


Thank you kindly for pointing that out.  I skimmed the element doco and it didn't jump out at my old eyes.  Maybe if I fired up an editor intellisense would have gotten my attention.


It's hard to say without knowing how many properties you need to set and how often you need to resuse this code.  You could do anything from a hard coded custom action to a   table driven  cost/install  type pattern or even take it all the way to an custom namespace XML based extension.


________________________________
From: Ven H <venh.123 at gmail.com>
Sent: Saturday, April 14, 2018 10:50 AM
To: WiX Toolset Users Mailing List
Cc: Christopher Painter
Subject: Re: [wix-users] IIS App Pool Properties

For setting Integrated or Classic, I think you can use ManagedPipelineMode property of WebAppPool element, but again, as per the documentation, this will work in IIS 7 and above but will be ignored in IIS 6.

Also, in my case, I am thinking of having a config or xml file with those properties and use a C# Custom Action to apply them on the app pool. Will it be Ok or is that what you are also suggesting?


On Sat, Apr 14, 2018 at 8:08 PM, Christopher Painter via wix-users <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>> wrote:
I suppose if the IIS Extension custom actions were written in (ECMA) JavaScript instead of C++ (not possible I know)  you'd have scores of volunteers.


A client just asked if I could set an Application pool to be Integrated instead of Classic.  I found an email thread from 10 years ago asking for it.  AFAIK it's still not there.   Even if someone contributed it today it wouldn't make it into 3.x  so you'd end up waiting for 4.0 to be finished



So what can you do today?  Use web.config as much as possible to simplify your wix code and  use QuiteExecuteCA to call appcmd.exe  to patch up the rest after the IIS custom actions fire.


https://docs.microsoft.com/en-us/iis/get-started/getting-started-with-iis/getting-started-with-appcmdexe


________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org>> on behalf of Rob Mensching via wix-users <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Sent: Friday, April 13, 2018 12:10 PM
To: WiX Toolset Users Mailing List
Cc: Rob Mensching
Subject: Re: [wix-users] IIS App Pool Properties

Contribute code to the WiX IIS CustomAction so it covers more of the properties.

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/


-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org>> On Behalf Of Ven H via wix-users
Sent: Friday, April 13, 2018 8:38 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Cc: Ven H <venh.123 at gmail.com<mailto:venh.123 at gmail.com>>
Subject: [wix-users] IIS App Pool Properties

IIS Application pool has a lot of properties, whereas the WebAppPool element in WiX has very few of them. So, how can we set the other properties on an App pool using WiX? Please advise.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/




More information about the wix-users mailing list