Hugh Williams
2013-09-05 11:08:44 UTC
I have an installer that sets up a web site in IIS. All is well on the install side.
But when I go to uninstall it, I get a "reboot required" message:
MSI (s) (28:6C) [11:03:45:694]: RESTART MANAGER: Detected that application with id 14848, friendly name 'w3wp.exe', of type RmCritical and status 1 holds file[s] in use.
If I go into the IIS manager and shut down the application pool for my app, then I don't get this message.
Obviously, I'd like to avoid the "reboot required" situation here...
So my question is: is there a standard WiX-ish way to shut down the web app pool that is about to be uninstalled?
But when I go to uninstall it, I get a "reboot required" message:
MSI (s) (28:6C) [11:03:45:694]: RESTART MANAGER: Detected that application with id 14848, friendly name 'w3wp.exe', of type RmCritical and status 1 holds file[s] in use.
If I go into the IIS manager and shut down the application pool for my app, then I don't get this message.
Obviously, I'd like to avoid the "reboot required" situation here...
So my question is: is there a standard WiX-ish way to shut down the web app pool that is about to be uninstalled?