[wix-users] Issue with IIS Application Pool Settings

Hoover, Jacob Jacob.Hoover at greenheck.com
Wed Mar 6 09:32:46 PST 2019


Just a few questions...  When is remove existing products scheduled? What do the MSI logs show about the component during upgrade? Never done IIS, but wondering what the Keypath is for the component, or if the behavior would change if there was a reg key for it.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Bevan Weiss via wix-users
Sent: Wednesday, March 6, 2019 2:10 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Bevan Weiss <bevan.weiss at gmail.com>
Subject: Re: [wix-users] Issue with IIS Application Pool Settings

I suspect that this is a deficiency in the IIS Extension from the WiX Toolset.
You may have to modify the underlying code for the IIS Extension https://github.com/wixtoolset/Iis.wixext/blob/master/src/wixext/IIsCompiler.cs

I'm sure the WiXToolset project would appreciate any such enhancements that you would provide.

Your other options are to call some custom actions, or just call iismgr to do the changes that you want.


Regards,
Bevan

On Wed, 6 Mar 2019 at 18:15, Ven H via wix-users < wix-users at lists.wixtoolset.org> wrote:

> Does anyone have any idea about this? Please advise.
>
> On Mon, Mar 4, 2019 at 4:13 PM Ven H <venh.123 at gmail.com> wrote:
>
> > I have an MSI with the following component.
> >
> >  <Component Id="cmpAppPool" Guid="08B7E196-5F24-453A-9B28-9A9C9A2FC441"
> > NeverOverwrite="yes" Directory="INSTALLFOLDER">
> >         <CreateFolder />
> >         <iis:WebAppPool Id="MyAppPool" Name="My App Pool"
> > MaxWorkerProcesses="5" ManagedPipelineMode="Integrated"
> > ManagedRuntimeVersion="v4.0" PrivateMemory="1800000" IdleTimeout="10" />
> >       </Component>
> >
> > After installing this MSI, the app pool gets created successfully. 
> > Then I am manually modifying the MaxWorkerProcesses to 10 and the 
> > IdleTimeout=20 in IIS.
> >
> > Then I build an upgrade MSI with the following component.
> >
> > <Component Id="cmpAppPool" Guid="08B7E196-5F24-453A-9B28-9A9C9A2FC441"
> > NeverOverwrite="yes" Directory="INSTALLFOLDER">
> >         <CreateFolder />
> >         <iis:WebAppPool Id="MyAppPool" Name="My App Pool"
> > MaxWorkerProcesses="6" ManagedPipelineMode="Integrated"
> > ManagedRuntimeVersion="v4.0" PrivateMemory="1800000" 
> > IdleTimeout="11" /> </Component>
> >
> > Even though I am using NeverOverwrite="yes" on the component, I can 
> > see that the values set manually by the user are getting 
> > overwritten. Also, there is a strange observation. Some settings 
> > which are manually updated retain their values after upgrade. So, 
> > some of the settings are always overwritten, irrespective of whether 
> > NeverOverwrite is set or not, while some settings are never 
> > overwritten. Is this a bug or I am missing something. Please help.
> >
> > This is a really critical business requirement wherein settings 
> > which are manually updated should not be overwritten during upgrade. 
> > Is this
> possible
> > with the WiX elements?
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/
>

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.



More information about the wix-users mailing list