On Wed Jun 11 17:01:35 2025 +0000, Hans Leidekker wrote:
You're right that disabling redirection works around missing installer service and it would be nice to solve this some day. We also have msi property bugs related to this architecture difference. Copying the file as a workaround isn't very pretty IMO and I think a local copy of version info parsing is a cleaner workaround.
I think I found a better way, substituting 'c:\windows\sysnative' in place of "c:\windows\system32". This is a sure way to bypass system32 redirection which works through out the loader and GetFileVersionInfo. Copying the code from kernelbase looks rather unfortunate, it is some amount of not entirely trivial code with its own FIXMEs. Then, that probably obviates the need in "msi: Allocate buffer in msi_get_file_version_info()." but it seems to me it is mildly better this way so I kept the patch.