Article ID: 330314 - View products that this article applies to.
This article was previously published under Q330314
After you install the Microsoft Visual Basic 6.0 application that is packaged with the Package and Deployment Wizard, you receive one of the following errors when you start your computer:
You receive an error because your setup package installs a version of the MSVCRT.dll file on your computer that is incompatible with your operating system. This typically occurs because MSVCRT.dll is listed as a dependency in a dependency file (.dep) for one of the components that your Visual Basic application uses, and you include the application on a newer operating system, such as Microsoft Windows XP.
Windows NT 4.0To repair a Windows NT 4.0 operating system that runs the file allocation table (FAT) file system, boot the computer to a command prompt, and then manually replace MSVCRT.dll in the C:\WINNT\System32 folder with a copy of the file from the Windows NT 4.0 CD or with a copy of the file from a computer that is successfully running the Windows NT 4.0 operating system.
To repair a Windows NT 4.0 computer that runs the NTFS file system (NTFS), boot the computer by using an Emergency Repair Disk (ERD). For additional information about this topic, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/103280/ )Using an Emergency Repair Disk Created by Windows NT
Windows 98To repair a Windows 98 operating system, you must boot the computer to a command prompt by using a startup disk. Next, manually replace MSVCRT.dll in the C:\Windows\System folder with a copy of the file from the Windows 98 CD or with a copy of the file from a computer that is successfully running Windows 98.
Prevent Redistribution of MSVCRT.dllTo prevent the problem from occurring in the future, do not redistribute MSVCRT.dll with your setup package. MSVCRT.dll is in the Microsoft C Runtime Library, and MSVCRT.dll is installed with the operating system. Only update MSVCRT.dll by using operating system service packs.
When you use the Package and Deployment Wizard to package your application, remove MSVCRT.dll from the list of files to be included in the package. Alternatively, if you have a setup package that is already assembled and you want to modify the setup package to prevent MSVCRT.dll from being installed, follow these steps:
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Steps to Reproduce the Behavior