title: Conditions within custom actions
body: <p>I recently separated our company installers in to two features (one enabled and one absent), to allow the user to select both, I've used UI_Mondo GUI to allow selection.</p>
  
  <p>I've managed to get our custom action to work if the feature is selected:</p>
  
  <pre><code>&lt;Custom Action="RestartIISForASPNet4" After="AspnetRegIIS"&gt;&lt;![CDATA[(NOT INSTALLED) AND (&amp;WebServiceFeature=3) AND NOT (!WebServiceFeature=3)]]&gt;&lt;/Custom
  </code></pre>
  
  <p>I tried but for some reason it's coming up with false (IMO, it can't as in the log the WixUI_InstallMode is set to InstallComplete.</p>
  
  <pre><code>&lt;Custom Action="RestartIISForASPNet4" After="AspnetRegIIS"&gt;&lt;![CDATA[((NOT INSTALLED) AND (&amp;WebServiceFeature=3) AND NOT (!WebServiceFeature=3)) OR WixUI_InstallMode = "InstallComplete"]]&gt;&lt;/Custom&gt;
  </code></pre>
  
  <p>Anybody have any ideas what I'm missing, it's probably really obvious.</p>