Article ID: 320251 - Last Review: April 13, 2006 - Revision: 4.0

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

This article was previously published under Q320251
Expand all | Collapse all

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:
Windows Installer 2.0 Redistributable for Windows 95, 98, and ME
http://www.microsoft.com/downloads/details.aspx?FamilyID=cebbacd8-c094-4255-b702-de3bb768148f%20&displaylang=en (http://www.microsoft.com/downloads/details.aspx?FamilyID=cebbacd8-c094-4255-b702-de3bb768148f%20&displaylang=en)

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:
Platform SDK Update
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/ (http://www.microsoft.com/msdownload/platformsdk/sdkupdate/)
For more information about the MsiGetShortcutTarget function, see the Windows Installer 2.0 SDK Help documentation.

APPLIES TO
  • Microsoft Windows Installer 2.0, when used with:
    • Microsoft Windows Millennium Edition
    • Microsoft Windows 98 Standard Edition
    • Microsoft Windows 95
Keywords: 
kbbug kbfix KB320251
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations