On Wed Oct 29 19:39:19 2025 +0000, Hans Leidekker wrote:
Sure, CreateFile() behavior should be correct but we're mapping msi flags like MSI_OPEN_READONLY to OLE storage flags like STGM_DIRECT|STGM_READ|STGM_SHARE_DENY_WRITE, which in turn are mapped to CreateFile() flags. Something could be wrong there, so we'd want to verify these mappings. I also mentioned that patching msi files depends on the the local copy being writable. Native may not depend on it, or perhaps it doesn't keep the file open that way.
Hm I see, but how can I verify that mapping? Sorry I currently don't see how