Re: [WiX-users] Is there a WiX element that will perform a "FindWindow"?
I don't know if there's a better way than this, but you could certainly make a custom action to do it using WMI. The Win32_Process class lets you see if there's a process running of a certain name, command line, etc. ('Win32_Product', http://msdn2.microsoft.com/en-us/library/aa394372.aspx) There's plenty of examples available for VBScript, e.g. Microsoft's Scripting Guy articles (http://blogs.msdn.com/gstemp/archive/2004/02/13/72505.aspx). There's not so many examples for C++ and I found using it for WMI had a fair learning curve at first, whereas with VBScript it's quite easy. Having mentioned the VBScript temptation, now would be an appropriate time to insert a reminder of all the experts' warnings to avoid VBScript and use C++ DLLs for custom actions. ('VBScript (and Jscript) MSI CustomActions suck' http://blogs.msdn.com/robmen/archive/2004/05/20/136530.aspx) Daryn _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Gurney Sent: Monday, May 21, 2007 2:33 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Is there a WiX element that will perform a "FindWindow"? I'd like to find out if an application is running. I don't want to close the application. This is more of a boolean action that I am looking for. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Is there a WiX element that will perform a "FindWindow" ?
Daniel Gurney wrote: > Thanks for the quick reply Bob. Now hurry up and put that new element > into WiX! :-) I'd be happy to review your code contribution... -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Is there a WiX element that will perform a "FindWindow" ?
Thanks for the quick reply Bob. Now hurry up and put that new element into WiX! :-) On 5/21/07, Bob Arnson <[EMAIL PROTECTED]> wrote: Daniel Gurney wrote: > I'd like to find out if an application is running. I don't want to > close the application. This is more of a boolean action that I am > looking for. Not at the moment. There's the beginnings of one in the CloseApplications CA; it'd be easy enough to expose the find functionality. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Is there a WiX element that will perform a "FindWindow"?
Has anyone else noticed a pattern of emails getting marked as spam by Windows Mail on vista. Does gmail always look like spam to source forge? This message was one of the messages marked as spam, presumably due to these headers: X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=21 0.0 RCVD_BY_IP Received by mail server with no name 0.0 HTML_MESSAGE BODY: HTML included in message 0.5 HTML_20_30 BODY: Message is 20% to 30% HTML - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Is there a WiX element that will perform a "FindWindow" ?
Daniel Gurney wrote: > I'd like to find out if an application is running. I don't want to > close the application. This is more of a boolean action that I am > looking for. Not at the moment. There's the beginnings of one in the CloseApplications CA; it'd be easy enough to expose the find functionality. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Is there a WiX element that will perform a "FindWindow" ?
I'd like to find out if an application is running. I don't want to close the application. This is more of a boolean action that I am looking for. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users