title: Condition property failure in WIX failing entire MSI job
body: <p>I am using WIX to create MSI installers for C# services. The MSI does 3 jobs :</p>
  
  <p>a) Copy solution file from bin to a particular location.</p>
  
  <p>b) Create a folder where the service writes it's logs.</p>
  
  <p>c) install the service on the machine if it previously does not exist.</p>
  
  <p>The want these to execute in the similar order. But, when the condition to check if the service is installed fails the previous step does not seem to be executing, i.e, copying and creating steps fail too. </p>
  
  <p>Here is the snippet of the code.</p>
  
  <pre><code>&lt;Directory Id="TARGETDIR" Name="SourceDir"&gt;      
    &lt;!--Creating folder hierarchy for storing project solution files;  reference defined in fragments--&gt;
    &lt;Directory Id="ProgramFilesFolder" Name="PFiles"/&gt;
  
    &lt;!--Creating folder hierarchy for storing logs; reference defined in fragments--&gt;
    &lt;Directory Id="LOGS" Name="Logs"/&gt;
  &lt;/Directory&gt;
  
  &lt;InstallExecuteSequence&gt;
    &lt;LaunchConditions After='AppSearch' /&gt;
    &lt;Custom Action='CMDInstallService' Before='InstallFinalize'&gt;&lt;/Custom&gt;
  &lt;/InstallExecuteSequence&gt;
  </code></pre>
  
  <p>
    </p>
  
  <pre><code>&lt;Property Id="MYSERVICE"&gt;
    &lt;RegistrySearch Id="SERVICE_CHECK" Root="HKLM" Name="Install" Type="raw"
                        Key="SYSTEM\CurrentControlSet\services\Service"/&gt;
  &lt;/Property&gt;
  
  &lt;Condition Message="Service is already installed on your system"&gt;
    &lt;![CDATA[Installed OR MYSERVICE]]&gt;
  &lt;/Condition&gt;
  
  &lt;CustomAction
    Id='CMDInstallService' Directory='PROJECT_INSTALL' Execute='deferred' Impersonate='no'
    ExeCommand='[SystemFolder]cmd.exe /K &amp;quot;C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil.exe Service.exe&amp;quot;'
    Return ='check'/&gt;
  </code></pre>
  
  <p></p>