[QBS] How to use WIX module

Denis Shienkov denis.shienkov at gmail.com
Sat Apr 5 21:16:44 CEST 2014


Ah, sorry.. I am too inattentive..

Heed to use:


WindowsInstallerPackage{
...
...
}

instead of:

Product {
...
...
}

into my "Installer" project..

Best regards,
Denis


05.04.2014 23:09, Denis Shienkov пишет:
> Hi all.
>
> I know, that current QBS version (at least from v 1.2.0) contains the 
> new module "WixModule.qbs".
> So, for me is very interest:
>
> - how to, using this module, build an MSI installer?
> - what common use case?
>
> For example, my project has following configuration:
>
> [ project.qbs ]
>
> importqbs1.0
> Project  {
>
>      references:  [
>          "library/library.qbs",
>          "application/application.qbs",
>          "installer/installer.qbs",
>      ]
> }
> [ /project.qbs ]
>
> [ installer.qbs ]
>
> importqbs1.0
> Product  {
>      name:  "myinstaller"
>      Depends  {  name:  "wix"  }
>      Depends  {  name:  "library"  }
>      Depends  {  name:  "application"  }
>      files:  [
>          "foo.wxs",
>          "bar.wxs",
>
>      ]
> }
>
> [ /installer.qbs ]
>
> 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.
>
> 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...
>
> PS: To build my Project, I use the QtCreator v 3.1 beta, where the QBS 
> with the WiX support is available.
>
> So, say please, what I do wrong? Whether there are any examples of use 
> of the WiX module?
>
> Best regards,
> Denis
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20140405/4e6672a3/attachment.html>


More information about the Qbs mailing list