On Mon Jan 26 09:37:44 2026 +0000, Hans Leidekker wrote:
I doubt that native msiexec handles the command line like this. To avoid bash moving quotes you can pipe the command to cmd: ``` $ echo 'msiexec /i some.msi INSTALLDIR="C:\Path with spaces\data"' | wine cmd ``` I re-checked behavior on Windows and Wine and agree that current Wine-msiexec implementation (not in my branch) is better in emulating the original program.
The solution proposed is actually good, I didn't know that stdin could be used in that way. One small, but sometimes critical, issue that you cannot receive exit code other than "0" from `cmd msiexec` because, as far as I understand, `cmd` ends immediately, without waiting for the spawned subprocess. Should I close this merge request? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9943#note_127993