Thanks Mike, that did the trick :) -----Original Message----- From: Mike Dimmick [mailto:[EMAIL PROTECTED] Sent: 17 January 2008 13:24 To: Nic Bedford; [EMAIL PROTECTED] Cc: wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Closing program on uninstall
Right now the CloseApplication feature can optionally do the following: - Send a WM_CLOSE message to the process's main window(s); - Set a property if the process is running; - Prompt to reboot if the process is still running. A custom 'files in use' dialog is yet to be implemented. The defaults are to prompt for a reboot but not do anything else. If you want the application to actually be closed, set CloseMessage to 'yes'. -- Mike Dimmick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 17 January 2008 12:38 To: [EMAIL PROTECTED] Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Closing program on uninstall Hi Bob, thanks for the nabble link. I have taken a look at the Wix.chm also, I have the following in my Product section <CloseApplication xmlns="http://schemas.microsoft.com/wix/UtilExtension" Id="CloseTrayApp" Target="TrayApp.exe" /> Currently it doesn't appear to be doing anything (although it does compile and link) I'm guessing I need to specify when/how it runs. I only want it to run on uninstall (i.e. before I attempt to remove TrayApp.exe, but I don't know how I can schedule this. I'm also experimenting with a VBScript CustomAction to achieve the same thing, but currently I haven't got that working either. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users