[PATCH 2/13] msidb: Add support for importing database tables.

Erich E. Hoover erich.e.hoover at gmail.com
Mon Mar 18 09:23:30 CDT 2019


On Mon, Mar 18, 2019, 2:00 AM Hans Leidekker <hans at codeweavers.com> wrote:
> ...
> Yes, it would be nice if we didn't have to shorten the table names. Can
> you combine the filename extension with a wildcard? I.e. can you do
> this and expect it to work if you have RegisterProduct.idt and
> RegisterFonts.idt:
>
> $ msidb -d package.msi -f . -i *.idt

Yes, though this is equivalent to using the wildcard on its own (if
there are non-idt files in the folder then they are ignored).  Why do
you ask?  Please note that you need to quote the wildcard or the shell
will make things difficult (particularly if you are using the -f flag
to work in another folder), example:
msidb -d package.msi -f . -i '*'

So, you cannot use long filenames like this:
msidb -d package.msi -f . -i RegisterProduct
but you can use long filenames like this:
msidb -d package.msi -f . -i RegisterProduct.idt
and you can also use long filenames with wildcards:
msidb -d package.msi -f . -i 'Register*'

I have prepared a patch for supporting both filename and wildcard
import now, but it wasn't clear to me if you also wanted an explicit
wine-specific "-l" flag for long filenames:
msidb -d package.msi -f . -l -i RegisterProduct
I'm happy to add this if you want, but it might be a good idea to
stick to the filename/wildcard imports for long filenames so that our
scripts work with native msidb.

Best,
Erich



More information about the wine-devel mailing list