Re: [WiX-users] FilesInUse Dialog is not working properly...
One of the things required for Windows Installer to put an entry in the FilesInUse dialog is that it needs to be able to find a window handle. This is why the program doesn't appear in the list if it is in the tray. I think this might have been sorted out in Windows Installer v4. You'll need a custom action to get round the problem. Rob V K Gangwar wrote: Hello All, While my application is running an ICON is displayed in system tray. When I uninstall my application FilesInUse dialog doesn't tell that application is currently running. But if click the ICON (maximized condition) and then Uninstall the application. that time FilesInUse dialog displays properly. How I fix this problem. Regards, Veerendra Yahoo! oneSearch: Finally, mobile search that gives answers http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC, not web links. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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] FilesInUse Dialog is not working properly...
Rob, Could you give some example code (custom action) to workaround for this problem. Thanks a lot! Veerendra Rob Hamflett wrote: One of the things required for Windows Installer to put an entry in the FilesInUse dialog is that it needs to be able to find a window handle. This is why the program doesn't appear in the list if it is in the tray. I think this might have been sorted out in Windows Installer v4. You'll need a custom action to get round the problem. Rob V K Gangwar wrote: Hello All, While my application is running an ICON is displayed in system tray. When I uninstall my application FilesInUse dialog doesn't tell that application is currently running. But if click the ICON (maximized condition) and then Uninstall the application. that time FilesInUse dialog displays properly. How I fix this problem. Regards, Veerendra Yahoo! oneSearch: Finally, mobile search that gives answers http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC, not web links. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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/FilesInUse-Dialog-is-not-working-properly...-tf4500452.html#a12860185 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 2005. 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] FilesInUse Dialog is not working properly...
This page has a good example of enumerating processes and getting the executable file names. http://msdn2.microsoft.com/en-us/library/ms682623.aspx You would need your Custom Action to read a property from the MSI which contained the names to look for, and then compare that list against the processes as you go through them. You can then do whatever it is that needs doing to populate the FilesInUse dialog, or show a dialog asking the user to close the program. Rob Veerendra wrote: Rob, Could you give some example code (custom action) to workaround for this problem. Thanks a lot! Veerendra Rob Hamflett wrote: One of the things required for Windows Installer to put an entry in the FilesInUse dialog is that it needs to be able to find a window handle. This is why the program doesn't appear in the list if it is in the tray. I think this might have been sorted out in Windows Installer v4. You'll need a custom action to get round the problem. Rob V K Gangwar wrote: Hello All, While my application is running an ICON is displayed in system tray. When I uninstall my application FilesInUse dialog doesn't tell that application is currently running. But if click the ICON (maximized condition) and then Uninstall the application. that time FilesInUse dialog displays properly. How I fix this problem. Regards, Veerendra Yahoo! oneSearch: Finally, mobile search that gives answers http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC, not web links. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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] FilesInUse Dialog is not working properly...
Hi, According to this topic I'd like to ask whether it is a good or bad choice if I use an embedded DLL (Binary) implenting the functionality to tackle with the running executable issue. It becomes interesting when it comes to deploying the application to 64 bit platforms. I mean in this case, would it be a must to provide a 64 bit version of the DLL, too? 2007/9/24, Rob Hamflett [EMAIL PROTECTED]: This page has a good example of enumerating processes and getting the executable file names. http://msdn2.microsoft.com/en-us/library/ms682623.aspx You would need your Custom Action to read a property from the MSI which contained the names to look for, and then compare that list against the processes as you go through them. You can then do whatever it is that needs doing to populate the FilesInUse dialog, or show a dialog asking the user to close the program. Rob Veerendra wrote: Rob, Could you give some example code (custom action) to workaround for this problem. Thanks a lot! Veerendra Rob Hamflett wrote: One of the things required for Windows Installer to put an entry in the FilesInUse dialog is that it needs to be able to find a window handle. This is why the program doesn't appear in the list if it is in the tray. I think this might have been sorted out in Windows Installer v4. You'll need a custom action to get round the problem. Rob V K Gangwar wrote: Hello All, While my application is running an ICON is displayed in system tray. When I uninstall my application FilesInUse dialog doesn't tell that application is currently running. But if click the ICON (maximized condition) and then Uninstall the application. that time FilesInUse dialog displays properly. How I fix this problem. Regards, Veerendra Yahoo! oneSearch: Finally, mobile search that gives answers http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC , not web links. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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] FilesInUse Dialog is not working properly...
I think a DLL is probably the best way to handle most custom actions. I'm fairly sure the 32-bit version would work fine under Win64. You could always create a DLL that does nothing too difficult and give it a quick test. Rob János Brezniczky wrote: Hi, According to this topic I'd like to ask whether it is a good or bad choice if I use an embedded DLL (Binary) implenting the functionality to tackle with the running executable issue. It becomes interesting when it comes to deploying the application to 64 bit platforms. I mean in this case, would it be a must to provide a 64 bit version of the DLL, too? 2007/9/24, Rob Hamflett [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: This page has a good example of enumerating processes and getting the executable file names. http://msdn2.microsoft.com/en-us/library/ms682623.aspx You would need your Custom Action to read a property from the MSI which contained the names to look for, and then compare that list against the processes as you go through them. You can then do whatever it is that needs doing to populate the FilesInUse dialog, or show a dialog asking the user to close the program. Rob Veerendra wrote: Rob, Could you give some example code (custom action) to workaround for this problem. Thanks a lot! Veerendra Rob Hamflett wrote: One of the things required for Windows Installer to put an entry in the FilesInUse dialog is that it needs to be able to find a window handle. This is why the program doesn't appear in the list if it is in the tray. I think this might have been sorted out in Windows Installer v4. You'll need a custom action to get round the problem. Rob V K Gangwar wrote: Hello All, While my application is running an ICON is displayed in system tray. When I uninstall my application FilesInUse dialog doesn't tell that application is currently running. But if click the ICON (maximized condition) and then Uninstall the application. that time FilesInUse dialog displays properly. How I fix this problem. Regards, Veerendra Yahoo! oneSearch: Finally, mobile search that gives answers http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC, not web links. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net mailto:WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net mailto:WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net mailto:WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
Re: [WiX-users] FilesInUse Dialog is not working properly...
Rob Hamflett wrote: One of the things required for Windows Installer to put an entry in the FilesInUse dialog is that it needs to be able to find a window handle. This is why the program doesn't appear in the list if it is in the tray. It's looking for a top-level window with a title. See System Reboots for a complete list. I think this might have been sorted out in Windows Installer v4. You'll need a custom action to get round the problem. WiX v3 ships the CloseApplication custom action that lets you close apps and/or detect whether they're running. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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] FilesInUse Dialog is not working properly...
János Brezniczky wrote: According to this topic I'd like to ask whether it is a good or bad choice if I use an embedded DLL (Binary) implenting the functionality to tackle with the running executable issue. It becomes interesting when it comes to deploying the application to 64 bit platforms. I mean in this case, would it be a must to provide a 64 bit version of the DLL, too? No, because MSI automatically detects the bitness of a DLL and runs an appropriate custom action server. Therefore it's safe to use 32-bit CA DLLs unless you need to provide a 64-bit version for specific functionality. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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
[WiX-users] FilesInUse Dialog is not working properly...
Hello All, While my application is running an ICON is displayed in system tray. When I uninstall my application FilesInUse dialog doesn't tell that application is currently running. But if click the ICON (maximized condition) and then Uninstall the application. that time FilesInUse dialog displays properly. How I fix this problem. Regards, Veerendra - Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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