title: tabctl32.msm installed by WiX does not register the ocx
body: <p>I'm moving an old VB6 app from InstallShield to WiX installer driven by a Visual Studio WiX project. It's all good except that I need the Microsoft tab control from tabctl32.msm. When I include this in my WiX project, the OCX installs but does not work until I run regsvr32 on it.</p>
  
  <p>Using either InstallShield or the Visual Studio Installer, the msm correctly registers its component. I <em>assume</em> that it's the msm's job to do that.</p>
  
  <p>I am installing per-machine and the msi runs as administrator. Here's some simplified WiX code that illustrates the problem:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"&gt;
      &lt;Product Id="*" Name="TabCtlTest" Language="1033" Version="1.0.0.0" Manufacturer="A Company" UpgradeCode="bd70911b-976f-462d-b381-26bc4dc0758e"&gt;
          &lt;Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" /&gt;
  
          &lt;MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /&gt;
          &lt;MediaTemplate EmbedCab="yes" /&gt;
  
          &lt;Feature Id="ProductFeature" Title="TabCtlTest" Level="1"&gt;
              &lt;ComponentGroupRef Id="ProductComponents" /&gt;
              &lt;MergeRef Id="TABCTL32"/&gt;
              &lt;MergeRef Id="COMCAT"/&gt;
              &lt;MergeRef Id="OLEAUT32"/&gt;
          &lt;/Feature&gt;
      &lt;/Product&gt;
  
      &lt;Fragment&gt;
          &lt;Directory Id="TARGETDIR" Name="SourceDir"&gt;
              &lt;Merge Id="TABCTL32" SourceFile="$(env.ProgramFiles)\Common Files\Merge Modules\TABCTL32.MSM" Language="1033" DiskId="1" /&gt;
              &lt;Merge Id="COMCAT" SourceFile="$(env.ProgramFiles)\Common Files\Merge Modules\COMCAT.MSM" Language="1033" DiskId="1" /&gt;
              &lt;Merge Id="OLEAUT32" SourceFile="$(env.ProgramFiles)\Common Files\Merge Modules\OLEAUT32.MSM" Language="1033" DiskId="1" /&gt;
              &lt;Directory Id="ProgramFilesFolder"&gt;
                  &lt;Directory Id="INSTALLFOLDER" Name="TabCtlTest" /&gt;
              &lt;/Directory&gt;
          &lt;/Directory&gt;
      &lt;/Fragment&gt;
  
      &lt;Fragment&gt;
          &lt;ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"&gt;
              &lt;Component Id="cmp59A149A53D5CFB2D09E03E213D57D2E4" Guid="{BA66D5C5-0813-4822-9F40-8E5C9B242E8B}"&gt;
                  &lt;File Id="fil36DDAE6925146DA614B90C0E87BD68AC" KeyPath="yes" Source="..\vbprog\Project1.exe" /&gt;
              &lt;/Component&gt;
          &lt;/ComponentGroup&gt;
      &lt;/Fragment&gt;
  &lt;/Wix&gt;
  </code></pre>
  
  <p>I'm using Visual Studio 2015 and WiX 3.9.</p>