Microsoft KB Archive/305701

= PRB: InstallColorProfile Function Does Not Replace Existing Files =

Article ID: 305701

Article Last Modified on 2/12/2007

-

APPLIES TO


 * Microsoft Platform Software Development Kit-January 2000 Edition
 * Microsoft Windows XP Professional
 * Microsoft Windows XP Professional for Itanium-based systems

-



This article was previously published under Q305701



SYMPTOMS
The InstallColorProfile function does not copy the specified source profile into the system color directory if a file of the same name already exists in the system color directory, even if the existing profile was first uninstalled. InstallColorProfile returns an indication of success in this case, even though the new profile was not copied.

The behavior occurs on Microsoft Windows 98, Microsoft Windows Millennium Edition (Me), Microsoft Windows 2000, and Microsoft Windows XP-based systems.



RESOLUTION
To work around this issue, delete, move, or rename the old profile before you install the new profile.

To successfully delete the old profile, specify TRUE as the last parameter to the UninstallColorProfile function when you uninstall the old profile.



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

Microsoft is researching this bug and will post new information as it becomes available.

Keywords: kbdswgdi2003swept kbprb KB305701

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.