http://bugs.winehq.org/show_bug.cgi?id=13838
--- Comment #32 from James Hawkins truiken@gmail.com 2008-07-04 14:37:17 --- (In reply to comment #30)
(In reply to comment #29)
If you could write a conformance test to expose and verify the problem first, that would be cool.
Sorry, not able to write the test, my skills on MSI are too limited :-) But it should be logic enough that MSI global path properties as "CommonAppDataFolder" and MSI local path properties (as "LOCALAPPDATAFOLDER") should be returned in a consistent way. As the first where already returned by design WITH a trailing backslash, I made the latter to do so.
It's not logical at all. One property is set by the folder code, and the other is set by the AppSearch action. I'm not saying that the change is wrong, but it has to be backed up by a test. Guessing the behavior of the Win32 API is what causes bugs. If you can't write a test, then I'll whip something up over the weekend.