Hi Sandeep,

Probably the simplest approach is to set a property in your CA, and use the
property to condition your WIX code.

For example, on the CA:

if (sky != blue)
{
      session["CA_SKY_PROP"] = "red";
}
on WIX
<Condition>Not CA_SKY_PROP</Condition>

Note that in this case you are only checking whether the property exists
(was created by the CA) and not its value. Read below for more on Conditions
http://blogs.technet.com/alexshev/archive/2008/02/10/from-msi-to-wix-part-3.aspx

Enjoy,

Eitan



On Thu, Oct 23, 2008 at 8:22 PM, Sandeep Gautam (HCL Technologies Ltd) <
[EMAIL PROTECTED]> wrote:

> Hi ,
>
> I want to write some c# custom actions. These custom action will return
> some values and based on that I will add some condition in my wix code.
> Please help me out how can I write or what reference and all i need to add.
>
> Regards
> Sandeep
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to