FIX: MsiGetShortcutTarget Call May Not Return When You Try to Resolve a Shortcut (320251)



The information in this article applies to:

  • Microsoft Windows Installer 2.0, when used with:
    • the operating system: Microsoft Windows Millennium Edition
    • the operating system: Microsoft Windows 98
    • the operating system: Microsoft Windows 95

This article was previously published under Q320251

SYMPTOMS

When you call the MsiGetShortcutTarget function on a computer that is running Windows Millennium Edition (Me), Windows 98, or Windows 95 to resolve a shortcut path, the MsiGetShortcutTarget call may not return.

CAUSE

This occurs because of a bug in the Windows Installer implementation of the MsiGetShortcutTarget function. If you pass a corrupted shortcut to the MsiGetShortcutTarget function, the function may not return.

RESOLUTION

To resolve this problem, update the Windows Installer 2.0 redistributable package from the following Microsoft Web site:

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

REFERENCES

For information about how to install or how to upgrade Windows Installer, including command-line options, see the "Windows Installer SDK" section of the following Microsoft Web site: For more information about the MsiGetShortcutTarget function, see the Windows Installer 2.0 SDK Help documentation.

Modification Type:MajorLast Reviewed:4/13/2006
Keywords:kbbug kbfix KB320251