I don't think Windows installer does any re-mapping. It just moves the
locked files to config.msi folder. There is nothing specific with installer
infact we can do it ourselves using MoveFileEx.

My take would be that whenever windows installer moves a file it should let
user know of a pending reboot because user machine is now in an
inconsistent state. Think of what will happen when this locked DLL tries to
load another DLL which is now deleted by uninstaller. There will be errors
or even crashes. For applications  files in use dialog works however if
DLLs are loaded in explorer then a reboot becomes necessary. Windows
installer decision to not prompt user to reboot seems like a wrong choice.

On Wed, May 6, 2015 at 12:37 AM, Phil Wilson <phildgwil...@gmail.com> wrote:

> Windows Installer goes to a lot of trouble to make sure that you can
> avoid a reboot at uninstall time by re-mapping in-use Dlls etc. In
> general, a running app can continue running after uninstall, and some
> cleanup will occur when the app shuts down, the rest after the next
> reboot. The point is that if Windows Installer can remap the in-use
> Dlls to another location, keep any apps running, and replace the ones
> that were in use (but remapped) and all that's required is deleting a
> bit of non-essential junk at the next reboot then why force a reboot?
> ---------------
> Phil Wilson
>
>
> On Tue, May 5, 2015 at 9:17 AM, Rob Mensching <r...@firegiant.com> wrote:
> > Why do you want to force a restart? Your application is safely gone.
> Those files will be cleaned up whenever the users chooses to restart again.
> >
> > _____________________________________________________________
> >  Short replies here. Complete answers over there:
> http://www.firegiant.com/
> >
> >
> > -----Original Message-----
> > From: Akshat Goel [mailto:aksg...@adobe.com]
> > Sent: Tuesday, May 5, 2015 5:03 AM
> > To: wix-users@lists.sourceforge.net
> > Subject: [WiX-users] No reboot for locked files during uninstallation.
> >
> > Hi,
> >
> >
> > Our product installs DLLs as part of installation. Most of the DLLs are
> used by our application but couple of these are also used by other
> processes and applications. When we uninstall the product, our main
> application is closed and DLLs are freed. However, other processes may
> still be running and thus, some DLLs may be locked.
> >
> >
> > During uninstallation, Windows installer copies these files to
> C:\Config.msi. When uninstallation completes, there is no message for
> reboot or cleanup. However MSI log shows the entry  Info 1903. Scheduling
> reboot operation: Deleting file C:\Config.Msi\3f6c9d1.rbf. Must reboot to
> complete operation.
> >
> >
> > My problem is how to show the user that a reboot is required to cleanup
> the files. Currently uninstallation finish screen doesn't show any message
> that a reboot maybe required.
> >
> >
> > I have a sample package which demonstrates the issue, if anyone needs.
> >
> >
> > Thanks & hoping for a reply.
> >
> >
> > Regards,
> >
> > Akshat
> >
> >
> ------------------------------------------------------------------------------
> > One dashboard for servers and applications across Physical-Virtual-Cloud
> > Widest out-of-the-box monitoring support with 50+ applications
> > Performance metrics, stats and reports that give you Actionable Insights
> > Deep dive visibility with transaction tracing using APM Insight.
> > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to