You could look at Restart Manager and have your exe integrate with that, then the install will shut your app down and restart it with the new version.
http://msdn.microsoft.com/en-us/library/aa373524(v=vs.85).aspx Phil Wilson -----Original Message----- From: Mark Turek [mailto:turekm...@hotmail.com] Sent: Friday, February 04, 2011 2:45 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] bypass fileinuse Thanks Andreas! Yes, this would be a solution. One of my components is also a plug-in. I heard though that there is a way to setup some kind of a bit flag and the installation engine would do just what I need but I went through all possible docs I found absolutely nothing. If any this will be probably at the msi level anyway since WIX schema does not have anything closely similar. Regards and thanks for your reply! -----Original Message----- From: Andreas Mertens Sent: Friday, February 04, 2011 3:47 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] bypass fileinuse 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 ------------------------------------------------------------------------------ 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 *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). ------------------------------------------------------------------------------ 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