Re: [WiX-users] How to set property with return value from custom actionFrom: 
Bob Arnson <b...@jo...> - 2010-03-10 14:27 

On 3/10/2010 3:44 AM, Christian Kraut wrote:
> How can I get the return value of the above query?
>    

Custom actions only return success or failure. If you need more control, 
you need to wrap the code in a DLL custom action.

-- 
sig://boB
http://joyofsetup.com/






From: Bob Arnson <b...@jo...> - 2010-03-10 14:27 

On 3/10/2010 3:44 AM, Christian Kraut wrote:
> How can I get the return value of the above query?
>    

Custom actions only return success or failure. If you need more control, 
you need to wrap the code in a DLL custom action.

-- 
sig://boB
http://joyofsetup.com/

So, is there a way to get this success or failure result into a property? 

 

I'm looking for a way to execute a custome action with a shell command, which 
attempts to open a port in the firewall, or runs httpcfg. But if it fails, 
which it often does, I would like to proceed with installation (using 
Return="ignore" attribute) and give users some indication to perform the failed 
operations manually. 

 

 

> From: Bob Arnson <b...@jo...> - 2010-03-10 14:27 

 

> On 3/10/2010 3:44 AM, Christian Kraut wrote:
> > How can I get the return value of the above query?
> >    

> Custom actions only return success or failure. If you need more control, 
> you need to wrap the code in a DLL custom action.
>
> -- 
> sig://boB
> http://joyofsetup.com/

                                          
------------------------------------------------------------------------------
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