[Bug 5139] Americas Army will not install properly

Wine Bugs wine-bugs at winehq.org
Thu Jul 27 06:52:28 CDT 2006


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





------- Additional Comments From mike at codeweavers.com  2006-27-07 06:52 -------

Maybe something like this will avoid the crash?

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index f7454c2..ccdb3c4 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -2926,7 +2926,8 @@ static UINT ITERATE_CreateShortcuts(MSIR
         LPWSTR Path;
         buffer = MSI_RecordGetString(row,12);
         Path = resolve_folder(package, buffer, FALSE, FALSE, NULL);
-        IShellLinkW_SetWorkingDirectory(sl,Path);
+        if (Path)
+            IShellLinkW_SetWorkingDirectory(sl,Path);
         msi_free(Path);
     }
 


-- 
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