Re: [WiX-users] FilesInUse Dialog is not working properly...

2007-09-24 Thread Bob Arnson
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 () implenting the > functionality to tackle with the running executable issue. It becomes > interesting when it comes to deploying the application to 64 bit > platform

Re: [WiX-users] FilesInUse Dialog is not working properly...

2007-09-24 Thread Bob Arnson
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 ti

Re: [WiX-users] FilesInUse Dialog is not working properly...

2007-09-24 Thread Rob Hamflett
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

Re: [WiX-users] FilesInUse Dialog is not working properly...

2007-09-24 Thread János Brezniczky
Hi, According to this topic I'd like to ask whether it is a good or bad choice if I use an embedded DLL () 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

Re: [WiX-users] FilesInUse Dialog is not working properly...

2007-09-24 Thread Rob Hamflett
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 pro

Re: [WiX-users] FilesInUse Dialog is not working properly...

2007-09-24 Thread Veerendra
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

Re: [WiX-users] FilesInUse Dialog is not working properly...

2007-09-24 Thread Rob Hamflett
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 n

[WiX-users] FilesInUse Dialog is not working properly...

2007-09-22 Thread V K Gangwar
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 displa