I have a web site in IIS6 that use Enterprise Library for logging and
this locks its log file while the application is running. As part of my
uninstall I want to clean up the log file using the RemoveFile element.
The problem is that Windows Installer reports that the file is in use
and won't continue (1603 error is returned). 

Has anyone successfully stopped an application pool to release files
that are in use? I tried writing a simple vbscript custom action but
although the app pool is stopped the file is still in use (manually
stopping the app pool before running the uninstall works ok)? I have
tried scheduling it at various points without any luck.

Does anyone have any tips to solve this?

Thanks

Neil

Neil Sleightholm
X2 Systems Limited
n...@x2systems.com


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to