msi: Improve support for advertized shortcuts.

This commit is contained in:
Hans Leidekker 2014-09-12 12:07:43 +02:00 committed by Alexandre Julliard
parent 2b2a3338ee
commit 29baed1bc2
1 changed files with 3 additions and 1 deletions

View File

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