Hi All,

I've written a browser plugin and have encountered what seems an intractable
problem with upgrades.  When upgrading on XP, silent installs would handle
in-use files either by doing a rename and replace on reboot, or writing over
them anyway, depending on how they were held.

On Vista though, according to
this<http://msdn.microsoft.com/en-us/library/aa372466(VS.85).aspx> and
from my observation, there is no way to stop the restart manager from
killing any apps that hold any files currently in use during a silent
invocation.  Even if I use a versioned subdirectory for each release, the
IntallInitialize inside the RemoveExistingProducts call will attempt to
remove the existing version and kill the user's session.  This is very
frustrating from their perspective, as they could be writing an email or
have many tabs open, etc.

Is there a way to relax the procedure so that it will attempt to delete the
file later when they are unloaded, or to complete the deletion after a
reboot?  Would skipping execution of removeFiles action during an upgrade
and then cleaning old versions away in a full uninstallation do the trick?
 Is there a best practice for this scenario?

Thanks,
Tim
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to