http://bugs.winehq.org/show_bug.cgi?id=13838
--- Comment #26 from James Hawkins truiken@gmail.com 2008-07-02 17:51:48 --- (In reply to comment #25)
Another finding... The problem arises from the case-sensitivity of properties. In dlls/msi/package.c, the properties 'LocalAppDataFolder' and 'AppDataFolder' are initialized to corresponding register values WITH the trailing backslash.
There are tons of tests to prove that property names are case sensitive. What needs to be tested is if LOCALAPPDATAFOLDER and APPDATAFOLDER are also set as well as their counterparts.
AutoCAD installer OTOH looks for the properties CAPITALIZED, so 'LOCALAPPDATAFOLDER' and 'APPDATAFOLDER' which are initialized (don't know where yet) as corresponding registry values WITHOUT trailing backslash.
Shouldn't be too hard to find...
I guess it's a bug in Acad installer, but I guess M% returns the capitalized properties with backslash too, as uncapitalized ones, so the installer just appends 'Autodesk' to returned path. In wine, the resulting path misses the backslash between the returned property and the word 'Autodesk'.
I think it's a little too early to say it's a bug in the acad installer.