Commit graph

6 commits

Author SHA1 Message Date
Simon Tatham
f0cdcb370e My own CAB-maker, which compresses.
lcab produces uncompressed CAB files, which is a bit low-quality for
my taste - especially when it turns out CAB files have Deflate as one
of their compression options, so I can write a compressed CAB-builder
in only about 100 lines of Python using the zlib module! I'd expected
to have to faff about finding an implementation of LZX, but there's
really no need to bother.
2017-05-16 19:06:05 +01:00
Simon Tatham
0985b382d3 Create the cab with the files in the right order.
In my test MSI, the files are supposed to be in alphabetical order,
not in 'whatever order lcab enumerated the Unix directory I pointed it
at' order. The test MSI didn't install, but with this change, it does,
so my guess is that either the real Windows installer system depends
on the alphabetical order for a search algorithm, or else files in the
cab are referred to by a numeric index of some kind.
2017-05-15 21:00:12 +01:00
Simon Tatham
29795aed5b We now get as far as building a non-empty MSI file!
But I haven't tested it yet, so it's probably got a zillion things
wrong inside it.
2017-05-15 20:04:18 +01:00
Simon Tatham
b19fd4ee77 Build cab files using lcab. 2017-05-15 19:19:10 +01:00
Simon Tatham
d6e5f7ae7b All the remaining function stubs I appear to need.
Now I can get an idea of what sequence of calls WiX actually expects
to use to build an MSI.
2017-05-15 18:46:48 +01:00
Simon Tatham
abd0e801c0 Fake implementation of winterop.dll.
If I compile this to Linux native code, and then run WiX under Mono,
it loads this library and gets past the first CabExtract call, so I
can find out what the next problem turns out to be.
2017-02-16 20:33:01 +00:00