title: Passing command line args to MSI from WiX bundle
body: <p>I’m on Wix 3.7. I have an MSI that I would like to set a registry key (perhaps via a Custom Action, as he will have to check if the key already exists).</p>
  
  <p>I understand that a Bundle in a bootstrapper project can't change the machine state (such as setting the registry). Therefore, I'm attempting to pass a command line argument via <code>&lt;MsiProperty&gt;</code>, but doesn't appear to show up as a command line argument in my log file for the bootstrapper.</p>
  
  <ol>
  <li>Is it possible to set a registry key up in a Bundle? </li>
  <li>If not, how can I add a command line argument (or some other piece of custom data)
  to be passed to the MSI. </li>
  <li>How can the MSI read whatever it is I pass to it (whether It ends up being a command line arg or something
  else).</li>
  </ol>
  
  <p>Bundle:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"&gt;
    &lt;Bundle 
            Name="MyInstallerBootstrapperLocalDb" 
            Version="1.0.0.0" 
            Manufacturer="some company" 
            UpgradeCode="PUT-GUID-HERE"&gt;
      &lt;BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" /&gt;
      &lt;Chain&gt;
        &lt;MsiPackage Id="MyInstallerInstaller" 
                    SourceFile="$(var.MyInstallerInstaller.TargetPath)" 
                    Compressed="no"&gt;
          &lt;!-- TODO - if this is being set correctly, the MSI needs to 
                      interpret it and set up the key--&gt;
          &lt;MsiProperty Name="SetLocalDb" Value="yes"/&gt;
        &lt;/MsiPackage&gt;
      &lt;/Chain&gt;
    &lt;/Bundle&gt;
  &lt;/Wix&gt;
  </code></pre>