msi: Improve support for advertized shortcuts.

Hans Leidekker hans at codeweavers.com
Fri Sep 12 05:07:43 CDT 2014


---
 dlls/msi/action.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 1fe6226..e310ba3 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -3925,7 +3925,9 @@ static UINT ITERATE_CreateShortcuts(MSIRECORD *row, LPVOID param)
     else
     {
         FIXME("poorly handled shortcut format, advertised shortcut\n");
-        IShellLinkW_SetPath(sl,comp->FullKeypath);
+        path = resolve_keypath( package, comp );
+        IShellLinkW_SetPath( sl, path );
+        msi_free( path );
     }
 
     if (!MSI_RecordIsNull(row,6))
-- 
2.1.0





More information about the wine-patches mailing list