[Bug 5139] Americas Army will not install properly

Wine Bugs wine-bugs at winehq.org
Fri May 19 01:38:06 CDT 2006


http://bugs.winehq.org/show_bug.cgi?id=5139





------- Additional Comments From mike at codeweavers.com  2006-19-05 01:38 -------
The easy way to fix this would be to just return success and keep going.
The harder way would be to realize that we don't need to copy any files from
that cabinet and not try and open it in the first place.

Does something like this work?

diff --git a/dlls/msi/files.c b/dlls/msi/files.c
index b2ddfc9..dba729f 100644
--- a/dlls/msi/files.c
+++ b/dlls/msi/files.c
@@ -484,7 +484,7 @@ static UINT ready_media_for_file( MSIPAC
                     GetTempPathW(MAX_PATH,mi->last_path);
             }
         }
-        rc = !extract_cabinet_file(package, mi->source, mi->last_path);
+        extract_cabinet_file(package, mi->source, mi->last_path);
     }
     else
     {


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list