This seems to be the way, and I assume you'd need to run it as a custom action. There may be APIs underneath that you can call to shut down the pool, I don't know.
http://technet.microsoft.com/en-us/library/cc772200(v=ws.10).aspx Phil Wilson On Thu, Sep 5, 2013 at 4:08 AM, Hugh Williams <[email protected]> wrote: > 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? > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk > _______________________________________________ > WiX-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

