[QBS] How to use WIX module

Denis Shienkov denis.shienkov at gmail.com
Sun Apr 6 12:11:28 CEST 2014


Hi Jake,

many thanks for your help.

Denis

05.04.2014 23:48, Jake Petroules пишет:
> Hi Denis,
>
> You can find an example of using the WiX module in the Qbs sources: 
> tests/manual/WiXInstallers/ (which really should become an autotest).
>
> 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.
> -- 
> *Jake Petroules*
> Chief Technology Officer
> Petroules Corporation · www.petroules.com <http://www.petroules.com>
> Email: jake.petroules at petroules.com <mailto:jake.petroules at petroules.com>
>
> On 2014-04-05, at 03:16 PM, Denis Shienkov <denis.shienkov at gmail.com 
> <mailto:denis.shienkov at gmail.com>> wrote:
>
>> 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
>>>
>>>
>>>
>>
>> _______________________________________________
>> QBS mailing list
>> QBS at qt-project.org <mailto:QBS at qt-project.org>
>> http://lists.qt-project.org/mailman/listinfo/qbs
>

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


More information about the Qbs mailing list