[QBS] Fwd: Function to enumerate all files in desired directory

Denis Shienkov denis.shienkov at gmail.com
Tue Jun 3 09:08:53 CEST 2014


Guys, many thanks for yours help.

BR,
Denis


2014-06-02 19:34 GMT+04:00 Jake Petroules <jake.petroules at petroules.com>:

> On 2014-06-02, at 11:12 AM, <Johannes.Matokic at microchip.com> <
> Johannes.Matokic at microchip.com> wrote:
>
> Hi Denis,
>
> If you only need the files for use with WiX there might be a workaround.
>
> WiX provides the tool head.exe which can create wxs files with a component
> containing all files found in one directory.
> This tool could be easily used in special rule or transform which requires
> only one file as the root of the directory structure as input.
>
> This rule would then call “heat.exe dir sourceDir -out output.wxs” with
> extra arguments as required and would produce output.wxs which when tagged
> as “wxs” should be used by the wix module like any normal wxs-file.
>
> You then don’t have a list of all files inside qbs but they will still be
> included in the installer.
> However I don’t think that heat is able to filter for specific files. You
> have to make sure that only the files you really want are inside the
> directory.
>
> Best Regards,
> Johannes
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
>
>
> This is a good point. The task for implementing WiX support in Qbs
> (QBS-413) is still incomplete; there's a lot of functionality to add and it
> will be a while before I'll be able to get to it all. heat is the perfect
> tool for a 'WixFileCollection' product type or something of the sort.
> Perhaps it could even collect output artifacts of dependent products
> allowing for a clean, smooth way of getting your EXEs and DLLs into your
> MSI.
> --
> Jake Petroules - jake.petroules at petroules.com
> Chief Technology Officer - Petroules Corporation
>
> _______________________________________________
> QBS mailing list
> 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/20140603/4a5b40f8/attachment.html>


More information about the Qbs mailing list