Hi Community, I have defined the following custom action

<CustomAction Id="QueryStateNetTcpPortSharingService"
                  Directory="SystemFolder"
                  ExeCommand="sc query NetTcpPortSharing"
                  Return="check"></CustomAction>

With this custom action I want to check if the "Net.Tcp Port Sharing Service" 
is running or not. If it is stopped than the state=1, and if the service is 
running than the state=4.

How can I get the return value of the above query?

Kind regards, Christian
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to