Re: [WiX-users] Closing program on uninstall
CloseApplication/ feature is available with onlu Wix v3.0 right? How do we implement the same functionality using WiX v2.0? Mike Dimmick-2 wrote: 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/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- View this message in context: http://www.nabble.com/Closing-program-on-uninstall-tp14878508p15710287.html Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
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. Thanks for the help, Nic -Original Message- From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: 17 January 2008 06:14 To: Nic Bedford Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Closing program on uninstall [EMAIL PROTECTED] wrote: Can anyone please help me, I need to close a program before uninstall. WiX v3 includes an extension with a custom action to detect running applications and optionally close them. See http://www.nabble.com/How-to-use-CloseApps-custom-action-td14095635.html . -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
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/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Closing program on uninstall
I'm researching something ( new to me )... deploying VSTO add-ins. The project that I'm working on involves several addins targeting both Office 2003 ( vsto 2005se) and Office 2007 ( vsto 3.0 ). There are also components outside of office that ressemble a more traditional windows application. We want to bundle all of his together so ClickOnce doesn't seem approriate. ( Correct/Wrong? ) So the articles I've read point to using MSI to copy the files to the target FS and calling %CommonProgramFiles%\Microsoft Shared\VSTO\9.0\VSTOInstaller.exe to install the vsto packages. Has anyone seen an alternative to this EXE CA pattern? Are there any automation interfaces, WiXExtensions, etc to make this a better story?It seems like another case of devenv /setup to me. - Looking for last minute shopping deals? Find them fast with Yahoo! Search.- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Closing program on uninstall
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/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Closing program on uninstall
[EMAIL PROTECTED] wrote: Can anyone please help me, I need to close a program before uninstall. WiX v3 includes an extension with a custom action to detect running applications and optionally close them. See http://www.nabble.com/How-to-use-CloseApps-custom-action-td14095635.html. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users