<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 11/12/2013 03:46 AM, Daiwei Li
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAN0jFd1x7X1OtH5pvJB66OkrurL6CHLzpvPD44n8V34eGCp=8w@mail.gmail.com"
      type="cite">
      <div dir="ltr"><span
          style="font-family:arial,sans-serif;font-size:13px">Hello,</span>
        <div style="font-family:arial,sans-serif;font-size:13px"><br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">I'm
          having trouble adding a FirewallException (<a
            moz-do-not-send="true"
href="http://wixtoolset.org/documentation/manual/v3/xsd%5Cfirewall%5Cfirewallexception.html"
            target="_blank">http://wixtoolset.org/documentation/manual/v3/xsd%5Cfirewall%5Cfirewallexception.html</a>)&nbsp;element
          for my main executable. The documentation says that it must
          have a File or Component parent, both of which are generated
          by the CPack WIX generator. It doesn't seem like I can add a
          FirewallException by using a custom WIX template file, because
          of the previously mentioned restriction.</div>
        <div style="font-family:arial,sans-serif;font-size:13px"><br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">Any
          suggestions on how I can get this element added? Am I missing
          something?</div>
        <div style="font-family:arial,sans-serif;font-size:13px">
          <br>
        </div>
      </div>
    </blockquote>
    One more problem with that would probably be that in the current
    release you can not pass the command line options to the WiX tools
    to load the required extension (though it will probably be in 3.0).<br>
    <br>
    I don't yet know how to allow customization of the generated code to
    allow integration of extension elements like this and would be open
    for suggestions or opinions in that regard as well.<br>
    <br>
    One random though would be an optional extra XML input file (or
    other format with XML snippets) that I interleave into the generated
    code based on some sort of insertion point specification.<br>
    And/Or a CMake list variable with key, value pairs consisting of
    insertion points and XML snippets.<br>
    <br>
    Nils<br>
  </body>
</html>