I've done something similar for an IE plug-in that gets updates on the fly.  
But it does require a bit of an architecture change.

I use a directory with the original images (which is where my assemblies get 
installed, could be .exes also).  I have a core app that loads/launches what I 
need by copying the original to a temp directory and execute from there.  Then 
when the update runs, the original image can get updated.

The next time the core app needs to load/launch your component, it can check to 
see if the original image is more up to date - if it is it makes a new copy and 
runs that.

Of course you still need a core launcher app to deal with, but overall I find 
this works reasonably well.

Andreas Mertens
NVision Ideas Inc.

----- Original Message -----
From: Mark Turek <turekm...@hotmail.com>
Date: Friday, February 4, 2011 1:28 pm
Subject: [WiX-users] bypass fileinuse

> I have a requirement where installation needs to proceed even if 
> the exe (actually any installable component) is running and loaded 
> in the memory. The installation should be silent and whenever 
> currently running executable is closed the next startup should 
> proceed with the newly installed one.
> The questions here are 
>  a.. Is this possible? 
>  b.. how to bypass default interruptions coming from the msi 
> engine like fileInUse etc... and allow the upgrade/install to 
> proceed while running (reboot action is not a solution)
> -------------------------------------------------------------------
> -----------
> The modern datacenter depends on network connectivity to access 
> resourcesand provide services. The best practices for maximizing a 
> physical server's
> connectivity to a physical network are well understood - see how these
> rules translate into the virtual world? 
> http://p.sf.net/sfu/oracle-sfdevnlfb
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to