http://bugs.winehq.org/show_bug.cgi?id=13838
--- Comment #7 from max@veneto.com 2008-06-16 17:22:39 --- Created an attachment (id=14115) --> (http://bugs.winehq.org/attachment.cgi?id=14115) Append a backslash to retval of SHExpandEnvironmentString
Well, this patch solves the problem, but I'm not sure it's the right way... should be checked on windows.
I think that Autocad installer expects a path from SHExpandEnvironmentString() with a trailing backslash, and appends just "Autodesk" to it without checking. That's a bug, but on windows works... so I guess it's a windows bug which covers autocad installers one.
So, with this patch, SHExpandEnvironmentString() returns a path with a trailing backslash.
Max