title: WiX MSMQ: The Product element contains an unexpected child element 'msmq:MessageQueue'
body: <p>I am using the WiX MSMQ extension to create queues with the following code:</p>
  
  <pre><code>&lt;Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:msmq="http://schemas.microsoft.com/wix/MsmqExtension"&gt;
  
  &lt;Product Id="*" Name="Blah" Language="1033" Version="2.0.0.0" Manufacturer="Blah Inc." UpgradeCode="{7FB782AF-178B-4705-893A-CE9B54EF54C0}"&gt;
  &lt;Package Id ="*" Keywords="Installer" Description="Blah Installer" Manufacturer="Blah Inc." InstallerVersion="200" Compressed="yes" InstallScope="perMachine" InstallPrivileges="elevated" /&gt;
  
  &lt;MajorUpgrade AllowDowngrades="yes" /&gt;   
  
  &lt;Property Id="HASMSMQ"&gt; 
    &lt;RegistrySearch Id="MSMQIsInstalled" Root="HKLM" Key="System\CurrentControlSet\Services\MSMQ" Name="ImagePath" Type="raw" /&gt; 
  &lt;/Property&gt; 
  
  &lt;Condition Message="You must run the installer as administrator to install this product."&gt;Privileged&lt;/Condition&gt;
  &lt;Condition Message="The MSMQ service must be installed to install this product."&gt;&lt;![CDATA[INSTALLED OR HASMSMQ]]&gt;&lt;/Condition&gt;
  
  &lt;msmq:MessageQueue Id="Blah1" Label="Blah 1" Transactional="no" PrivLevel="none" PathName=".\Private$\Blah1" /&gt;
  &lt;msmq:MessageQueue Id="Blah2" Label="Blah 2" Transactional="no" PrivLevel="none" PathName=".\Private$\Blah2" /&gt;
  </code></pre>
  
  <p>However, when I execute candle.exe -ext WixMsmqExtension Blah.wxs I get an error: "CNDL0005: The Product element contains an unexpected child element 'msmq:MessageQueue'"</p>
  
  <p>I don't understand why, I have the reference and namespace. Any help would be appreciated. Thank you in advance.</p>