wixtoolset / issues

WiX Toolset Issues Tracker
http://wixtoolset.org/
129 stars 36 forks source link

Create ConfigureIfExists attribute on WebAppPool #954

Open wixbot opened 18 years ago

wixbot commented 18 years ago

A ConfigureIfExists attribute should be added to the WebAppPool element. This will be a Yes/No item which will allow the app pool to not be configured/created if it already exists.

There is a similar attribute on the WebSite element.

A scenario of when this would be useful is as follows: An existing install is creating a WebAppPool for use by a Web Application / Web Site that the install also creates. The next version of the product comes along, and the upgrade now wants to support reusing the existing WebAppPool if it exists. If it already exists, the upgrade should not change it or reconfigure it at all, because the end user may have customized settings on it that we should leave as is. Currently to support this scenario, one custom action will have to be run before the WebAppPool gets upgraded to save off all of the settings on it, and then another custom action will have to run after the WebAppPool to set all of the properties back to how they were before the upgrade. This is a lot of work, where as the Wix Custom action already checks if the pool exists, and could simply skip recreating it in an upgrade if the ConfigureIfExists = "yes".

bq. Originally opened by @iachoabod@ from "http://sourceforge.net/p/wix/feature-requests/248/":http://sourceforge.net/p/wix/feature-requests/248/

wixbot commented 12 years ago

Note: The last part of the scenario should read: the Wix Custom action already checks if the pool exists, and could simply skip recreating it in an upgrade if the ConfigureIfExists = "no".

I've made a similar feature request for the WebVirtualDir element as well.

wixbot commented 10 years ago

This is another instance of config/repair-v-install.

Originally posted by barnson Area set to extensions Release set to v3.x

jannislmml commented 10 months ago

Hello Wixtoolset team, is there already a possibility to provide the WebAppPool with the attribute ConfigureIfExists = "no"?