Hi Neil, thanks for your suggestion. In my case there is an Outlook add-in installed together with our application. We cannot just close Outlook without asking the user and I don't see a possibility to show just a single internal MSI dialog for prompting the user to close Outlook. Am I missing something here?
Regards, Georg -----Ursprüngliche Nachricht----- Von: Neil Sleightholm [mailto:n...@x2systems.com] Gesendet: Dienstag, 23. Oktober 2012 08:09 An: General discussion for Windows Installer XML toolset. Betreff: Re: [WiX-users] Burn and Files in Use / Restart Manager What I do in this scenario is scan the logs to find out what files are in use and causing the reboot - look for a return code of 3010 from one of your MSIs - burn will only do a reboot if one of the packages (MSI or EXE) requests it. Once you know that you can decide how to handle it more effectively. For example, if a service is running you can stop it, if it is an application you can use the WiX CloseApplication element. Hope this helps. Neil -----Original Message----- From: Georg von Kries [mailto:g...@creativbox.net] Sent: 22 October 2012 21:15 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Burn and Files in Use / Restart Manager Hi all, I've been successfully using WiX for a long time now and I'm very happy with it. Many thanks for all the effort you are putting into this project. Currently I'm using WiX together with a standard Visual Studio bootstrapper for .NET and other prerequisites. I want to replace this with Burn which seems to be a very nice solution. All is working very good and using Burn is mostly straightforward. But one thing bothers me: There seems to be no standard way for dealing with files in use and especially together with the restart manager. Burn will by default always trigger a restart/ask for restarting if something is in use. For normal applications this is very annoying for users. Additionally if I remember correctly there was a Windows logo requirement which disallows this practice. Therefore I'm currently trying to extend the standard bootstrapper application (unmanaged) with "files in use" and restart manager capabilities. My current understanding is that this is not possible for an bootstrapper application without changing the engine. E.g. it seems OnExecuteFilesInUse() is never called for MSI packages; not even thinking about the Windows installer message INSTALLMESSAGE_RMFILESINUSE for using restart manager. I'm no windows installer or WiX guru, but when looking at the Burn source there is no message filter added for either INSTALLLOG_FILESINUSE or (if supported by the installer version) INSTALLLOGMODE_RMFILESINUSE when the external UI is initialized. But I might be missing something here. I've started playing around with the Burn 3.7 source (because it's using MSBuild only) and got the messages working, but there are other side effects. E.g. the engine will always suppress results from the UI trying to pass only expected values back to the installer; but in case of the restart manager there are more possibilities which are not included into the message. I just wanted to ask what the plans are for supporting this functionality or if I'm totally going into the wrong direction and there is an obvious solution I'm not aware of. Thanks for reading! Yours sincerely, Georg von Kries ---------------------------------------------------------------------------- -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ---------------------------------------------------------------------------- -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users