aboutsummaryrefslogtreecommitdiff
path: root/fake-msi.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move snew/sfree out into their own header+src.Simon Tatham2017-05-181-0/+1
|
* Move MD5 out into its own file.Simon Tatham2017-05-181-39/+0
| | | | | This begins a programme of code reorganisation at the end of which I'd like to end up with something almost legible :-)
* Write terminating strings when MsiGetFileVersion() fails.Simon Tatham2017-05-161-0/+5
| | | | | | | | | I had expected that if you were returning a failure code you didn't have to - perhaps even _shouldn't_ - write through the output pointer arguments. But in fact, now that my implementation of MsiGetFileVersion _knows_ how to fail (i.e. doesn't just return a hardcoded value for every call), the MSI build doesn't work unless I also clear the output strings in the case of failure.
* Implement MsiGetFileHash.Simon Tatham2017-05-161-0/+38
| | | | | | A quick experiment or two with the real Windows version suggests that the hash function in question is just MD5, repackaged as an array of four little-endian 32-bit words instead of 16 bytes.
* Implement MsiGetFileVersion.Simon Tatham2017-05-161-6/+175
| | | | | This is pretty ugly code, but it works well enough to deliver the right versions for the files in my test MSI. I can polish it later.
* Trivial misspelled option.Simon Tatham2017-05-151-1/+1
|
* We now get as far as building a non-empty MSI file!Simon Tatham2017-05-151-32/+158
| | | | | But I haven't tested it yet, so it's probably got a zillion things wrong inside it.
* Build cab files using lcab.Simon Tatham2017-05-151-26/+1
|
* All the remaining function stubs I appear to need.Simon Tatham2017-05-151-1/+109
| | | | | Now I can get an idea of what sequence of calls WiX actually expects to use to build an MSI.
* Start of a fake msi.dll.Simon Tatham2017-02-201-0/+15
This seems to be the next function WiX expects from its native-code DLLs. So far it's just a stub.