Is there a primary on how to author conditions.  I've seen some examples
of conditions, but don't understand the syntax and overall concepts.

 

Ultimately I'm trying to author a custom action inside the
InstallExecuteSequence that will turn on the SKIPCONFIGUREIIS property
so that the IIS configure error won't occur if IIS is not installed
(using WiX v2.0 still).

 

Trying to do something like ...

 

  <CustomAction Id="SkipIISCA" Property="SKIPCONFIGUREIIS" Value="1"/>

  <InstallExecuteSequence>

   <Custom Action="SkipIISCA" After="CostFinalize">

    <![CDATA[NOT &MainComponent=3 AND NOT !MainComponent=3]]>

   </Custom>

  </InstallExecuteSequence>

 

>From an example I found on the web
(http://n2.nabble.com/How-to-skip-a-custom-action-when-feature-not-selec
ted-td2344357.html).  What is MainComponent?  What does the ampersand in
front of the first MainComponent mean?  What does =3 mean?  What's the
significance of the value "3"?  What does the exclamation mark in front
of the second MainComponent mean?  Can someone explain how I'm supposed
to read this condition, conceptually?  Is there some documentation on
this somewhere?

 

Thank you.

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to