[wix-users] App Pool getting removed during uninstallation

Edwin Castro egcastr at gmail.com
Tue Dec 19 09:35:25 PST 2017


When you install a component, you own it. When you install a resource that
already existed (not installed/created by Windows Installer) then you are
taking ownership of that resource because Windows Installer will remove the
resource when the component's refcount drops to zero. This true for all
resources not just AppPools.

--
Edwin G. Castro


On Dec 19, 2017 09:17, "Ven H via wix-users" <wix-users at lists.wixtoolset.org>
wrote:

I have an MSI in which I create an Application Pool in IIS and set some
properties. During testing, I had a strange observation. There is an
existing application pool. The MSI also installs the same app pool with
some properties. But during uninstall, the MSI uninstalls the whole app
pool rather than just revert the properties. Is this expected? Is there a
way to fix this? Please help.

Regards,
Venkatesh

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


More information about the wix-users mailing list