[Bug 9809] Autodesk Revit Architecture 2008 install fails

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 28 13:38:56 CDT 2007


--- Comment #3 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk>  2007-09-28 13:38:55 ---
With the hack below it gets around this bug. 
I'm pretty sure the bug is somewhere in SHFileOperationW, the hack however is
probably wrong. The installer tries to find setup files in strange looking
directory names like
"C:\\Program Files\\Revit Architecture 2008\\Download\\\5355\0445\0001"

The directory C:\\Program Files\\Revit Architecture 2008\\Download\\ is where
all the files are located. Maybe it reads one byte beyond a boundary? Maybe
someone  who understands the shell code better than me could have a look...

P.S. should i file another bug for the unimplemented msi-stuff?


diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c
index 4f89c4c..699fede 100644
--- a/dlls/shell32/shlfileop.c
+++ b/dlls/shell32/shlfileop.c
@@ -1054,7 +1054,7 @@ static HRESULT parse_file_list(FILE_LIST *flList, LPCWSTR

         /* advance to the next string */
-        ptr += lstrlenW(ptr) + 1;
+        ptr += lstrlenW(ptr) ;//+ 1;
     flList->dwNumFiles = i;

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list