https://bugs.winehq.org/show_bug.cgi?id=35539
--- Comment #6 from Zebediah Figura z.figura12@gmail.com --- This call:
010c:trace:msi:ITERATE_WriteEnvironmentString name L"=-*LXKSERVER" value L"[KEY_SERVER]"
fails because KEY_SERVER isn't defined, which causes deformat_string() to correctly return an empty string and 0 length, which ITERATE_WriteEnvironmentString() interprets as failure.
It's possible KEY_SERVER should be defined, though, but definitely WriteEnvironmentStrings is broken.
I've sent https://source.winehq.org/patches/data/204974.
leslie@terabithia:~/Downloads$ sha1sum prodemo.exe f2782cdfe3aac2d31e80e57815395d36b5b83d46 prodemo.exe