<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Jake,<br>
    <br>
    many thanks for your help.<br>
    <br>
    Denis<br>
    <br>
    <div class="moz-cite-prefix">05.04.2014 23:48, Jake Petroules пишет:<br>
    </div>
    <blockquote
      cite="mid:186EFFF2-66DF-4ACF-A6F6-AD126343C565@petroules.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      Hi Denis,
      <div><br>
      </div>
      <div>You can find an example of using the WiX module in the Qbs
        sources: tests/manual/WiXInstallers/ (which really should become
        an autotest).</div>
      <div><br>
      </div>
      <div>Note that WiX support (and packaging support in general, such
        as with NSIS, etc.) is not yet fully supported by Qbs. For
        example you'll need to manually `qbs install` your application
        and library product(s) before building your WiX installer
        product, since there is currently no way to properly specify
        such a dependency. We will fix this eventually, though I don't
        know exactly when.</div>
      <div>
        <div apple-content-edited="true">
          <div style="color: rgb(0, 0, 0); font-family: Helvetica;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height: normal;
            orphans: 2; text-align: -webkit-auto; text-indent: 0px;
            text-transform: none; white-space: normal; widows: 2;
            word-spacing: 0px; -webkit-text-size-adjust: auto;
            -webkit-text-stroke-width: 0px; word-wrap: break-word;
            -webkit-nbsp-mode: space; -webkit-line-break:
            after-white-space; ">
            <div style="color: rgb(0, 0, 0); font-family: Helvetica;
              font-style: normal; font-variant: normal; letter-spacing:
              normal; line-height: normal; orphans: 2; text-align:
              -webkit-auto; text-indent: 0px; text-transform: none;
              white-space: normal; widows: 2; word-spacing: 0px;
              -webkit-text-size-adjust: auto; -webkit-text-stroke-width:
              0px; word-wrap: break-word; -webkit-nbsp-mode: space;
              -webkit-line-break: after-white-space; ">
              <div style="color: rgb(0, 0, 0); font-family: Helvetica;
                font-style: normal; font-variant: normal;
                letter-spacing: normal; line-height: normal; orphans: 2;
                text-align: -webkit-auto; text-indent: 0px;
                text-transform: none; white-space: normal; widows: 2;
                word-spacing: 0px; -webkit-text-size-adjust: auto;
                -webkit-text-stroke-width: 0px; word-wrap: break-word;
                -webkit-nbsp-mode: space; -webkit-line-break:
                after-white-space; "><span class="Apple-style-span"
                  style="border-collapse: separate; color: rgb(0, 0, 0);
                  font-family: Helvetica; font-style: normal;
                  font-variant: normal; letter-spacing: normal;
                  line-height: normal; orphans: 2; text-indent: 0px;
                  text-transform: none; white-space: normal; widows: 2;
                  word-spacing: 0px; border-spacing: 0px;
                  -webkit-text-decorations-in-effect: none;
                  -webkit-text-size-adjust: auto;
                  -webkit-text-stroke-width: 0px; ">
                  <div style="word-wrap: break-word; -webkit-nbsp-mode:
                    space; -webkit-line-break: after-white-space; "><span
                      class="Apple-style-span" style="border-collapse:
                      separate; color: rgb(0, 0, 0); font-family:
                      Helvetica; font-style: normal; font-variant:
                      normal; letter-spacing: normal; line-height:
                      normal; orphans: 2; text-indent: 0px;
                      text-transform: none; white-space: normal; widows:
                      2; word-spacing: 0px; border-spacing: 0px;
                      -webkit-text-decorations-in-effect: none;
                      -webkit-text-size-adjust: auto;
                      -webkit-text-stroke-width: 0px; ">
                      <div style="word-wrap: break-word;
                        -webkit-nbsp-mode: space; -webkit-line-break:
                        after-white-space; ">
                        <div style="font-weight: normal; ">-- </div>
                        <div style="font-weight: normal; "><b>Jake
                            Petroules</b></div>
                        <div style="font-weight: normal; ">Chief
                          Technology Officer</div>
                        <div style="font-weight: normal; ">Petroules
                          Corporation · <a moz-do-not-send="true"
                            href="http://www.petroules.com">www.petroules.com</a></div>
                        <div style="font-weight: normal; ">Email: <a
                            moz-do-not-send="true"
                            href="mailto:jake.petroules@petroules.com">jake.petroules@petroules.com</a></div>
                      </div>
                    </span></div>
                </span></div>
            </div>
          </div>
        </div>
        <br>
        <div>
          <div>On 2014-04-05, at 03:16 PM, Denis Shienkov <<a
              moz-do-not-send="true"
              href="mailto:denis.shienkov@gmail.com">denis.shienkov@gmail.com</a>>
            wrote:</div>
          <br class="Apple-interchange-newline">
          <blockquote type="cite">
            <meta content="text/html; charset=UTF-8"
              http-equiv="Content-Type">
            <div text="#000000" bgcolor="#FFFFFF"> Ah, sorry.. I am too
              inattentive..<br>
              <br>
              Heed to use:<br>
              <br>
              <br>
              WindowsInstallerPackage<span style=" color:#c0c0c0;"> </span>{<br>
              ...<br>
              ...<br>
              }<br>
              <br>
              instead of:<br>
              <br>
              Product {<br>
              ...<br>
              ...<br>
              }<br>
              <br>
              into my "Installer" project..<br>
              <br>
              Best regards,<br>
              Denis<br>
              <br>
              <br>
              <div class="moz-cite-prefix">05.04.2014 23:09, Denis
                Shienkov пишет:<br>
              </div>
              <blockquote cite="mid:534054F1.7030603@gmail.com"
                type="cite">
                <meta http-equiv="content-type" content="text/html;
                  charset=UTF-8">
                Hi all.<br>
                <br>
                I know, that current QBS version (at least from v 1.2.0)
                contains the new module "WixModule.qbs".<br>
                So, for me is very interest: <br>
                <br>
                - how to, using this module, build an MSI installer?<br>
                - what common use case?<br>
                <br>
                For example, my project has following configuration:<br>
                <br>
                [ project.qbs ]<br>
                <br>
                <span style=" color:#808000;">import</span><span style="
                  color:#c0c0c0;"> </span>qbs<span style="
                  color:#c0c0c0;"> </span>1.0
                <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Project<span style=" color:#c0c0c0;"> </span>{</pre>
                <span style=" color:#c0c0c0;"> </span><br>
                <span style=" color:#008000;"></span>
                <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span><span style=" color:#800000;">references</span>:<span style=" color:#c0c0c0;"> </span>[</pre>
                <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">        </span><span style=" color:#008000;">"library/</span><span style=" color:#008000;"><span style=" color:#008000;">library</span>.qbs"</span>,
<span style=" color:#c0c0c0;">        </span><span style=" color:#008000;">"application/application.qbs"</span>,
</pre>
                <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">        </span><span style=" color:#008000;">"installer/installer.qbs"</span>,</pre>
                <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span>]</pre>
                <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">}</pre>
                [ /project.qbs ]<br>
                <br>
                [ installer.qbs ]<br>
                <br>
                <span style=" color:#808000;">import</span><span style="
                  color:#c0c0c0;"> </span>qbs<span style="
                  color:#c0c0c0;"> </span>1.0
                <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Product<span style=" color:#c0c0c0;"> </span>{</pre>
                <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span><span style=" color:#800000;">name</span>:<span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">"myinstaller"</span></pre>
                <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span>Depends<span style=" color:#c0c0c0;"> </span>{<span style=" color:#c0c0c0;"> </span><span style=" color:#800000;">name</span>:<span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">"wix"</span><span style=" color:#c0c0c0;"> </span>}</pre>
                <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span>Depends<span style=" color:#c0c0c0;"> </span>{<span style=" color:#c0c0c0;"> </span><span style=" color:#800000;">name</span>:<span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">"library"</span><span style=" color:#c0c0c0;"> </span>}</pre>
                <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span>Depends<span style=" color:#c0c0c0;"> </span>{<span style=" color:#c0c0c0;"> </span><span style=" color:#800000;">name</span>:<span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">"application"</span><span style=" color:#c0c0c0;"> </span>}</pre>
                <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span><span style=" color:#800000;">files</span>:<span style=" color:#c0c0c0;"> </span>[</pre>
                <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">        </span><span style=" color:#008000;">"foo.wxs"</span>,</pre>
                <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">        </span><span style=" color:#008000;">"bar.wxs"</span>,</pre>
                <br>
                <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span>]</pre>
                <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">}</pre>
                <br>
                [ /installer.qbs ]<br>
                <br>
                I imply so that the product "Installer" depends on
                "Library" and "Application" products, i.e. shall be
                executed only after "Library" and "Application" will be
                build.<br>
                <br>
                But in my case the project "Installer" does not running
                at all. Even if I execute purpose "build/deploy". I.e.
                no errors, no any output...<br>
                <br>
                PS: To build my Project, I use the QtCreator v 3.1 beta,
                where the QBS with the WiX support is available.<br>
                <br>
                So, say please, what I do wrong? Whether there are any
                examples of use of the WiX module?<br>
                <br>
                Best regards,<br>
                Denis<br>
                <br>
                <br>
                <br>
              </blockquote>
              <br>
            </div>
            _______________________________________________<br>
            QBS mailing list<br>
            <a moz-do-not-send="true" href="mailto:QBS@qt-project.org">QBS@qt-project.org</a><br>
            <a class="moz-txt-link-freetext" href="http://lists.qt-project.org/mailman/listinfo/qbs">http://lists.qt-project.org/mailman/listinfo/qbs</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>