The potential issue with closing down a COM server is what the clients
do. If you terminate it forcibly and there are (say) 10 clients using
it, what will these clients do? Crash? Lose data? 

IMO it's more usual to replace COM servers in place rather than to a
different folder. Then you can take advantage of any files in use
dialogs that can be shown, and if the server cannot be shut down then
Windows will prompt for a reboot to update it with the new version. 

Phil Wilson 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dong Fang
Xie (Excell Data Corporation)
Sent: Friday, September 21, 2007 2:34 PM
To: [email protected]
Subject: [WiX-users] How to detect a running process which is not part
of the installing files ???

I checked CloseApps.cpp in WiX 3, it can not provide any help at all.

The process that I want the user to terminate is different, it is the
old version installed in a different folder. It is a COM server, and it
must be terminated and unregistered, or the new version (will be
installed to another folder) will never take effect.

Why WiX has no such simple (and vital) function built in ?
Can anybody provide any help ?
Thanks in advance



------------------------------------------------------------------------
-
From: Rob Mensching
Sent: Friday, September 21, 2007 12:36 PM
To: Prasanta Ghosal; Windows Installer Xml Virtual Team
Subject: RE: How to identify if a process is running using Wix

Look at the CloseApps custom action.

From: Prasanta Ghosal
Sent: Friday, September 21, 2007 12:34
To: Windows Installer Xml Virtual Team
Subject: How to identify if a process is running using Wix

Hello,
We are trying to come up with an installer using wix. We need to detect
if a specific process is running in the system or not. Could anyone
please help us about how to detect if a process is running or not in the
system from the wix installer?

Thanks


------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
[email protected]
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/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to