Hey everyone

My installed IIS application locks a log file that doesn't release until the
application/and or the pool has been stopped.  I'm finding that during
uninstall that I get prompted for a reboot because of this I suspect - IIS
website still running when it tries to remove all the files.  If I stop the
website and app pool and run again then it goes through no problem, no
prompt for a reboot, which is what I want to get to.

I created a CA to stop IIS and sequenced this to before RemoveFiles:

<InstallExecuteSequence>
      <Custom Action="StopIIS" Before="RemoveFiles">REMOVE="ALL"</Custom>
...

But it doesn't seem to stop IIS in time and I still get the prompt that
setup needs to restart.  I tried it as a deferred action and immediate and
it doesn't work either way.

Is there any way I can run a deferred (elevated) CA before RemoveFiles and
shut that sucka down?

Thanks
Richard
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to