EXEs are loaded into memory by pages. If all pages are loaded into memory, then no pages need fetched from disk (the EXE, and perhaps some other depedency DLL if yo uhave any of those too are completely in memory at this point). So Windows Installer can safely remove it.
yixie wrote: > Hi, > > I met something weird. > > I've an exe, which could be deleted by uninstalling the corresponding msi > while it's still running. > After uninstall, I can still perform some actions on it. (It's a wpf windows > app) > The exe is missing, but the folder contained the exe, which was created by > the msi, remained. > > (Environment: Vista SP1, .Net 3.5, WPF windows app) > > This really conflicts with my understanding. > My first reaction is, it may be related to Vista Virtualization. > So I tried with procexp/procmon, and search throughout the disk for the copy > of the exe, but nothing useful was found. > I tried to delete the exe manually with elevated privilege, and get error > "Access is denied". > > I feel really confused, could someone shed some light? > Both "popup before deleting the exe", and "delete the folder as well", are > ok for me. > > Many thanks! > Yixie > -- Heath Stewart Deployment Technology Group, Microsoft http://blogs.msdn.com/heaths ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users