[wix-users] Issue with IIS Application Pool Settings

Bevan Weiss bevan.weiss at gmail.com
Wed Mar 6 00:10:29 PST 2019


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/
>



More information about the wix-users mailing list