Microsoft KB Archive/254166

= BUG: Distribution of Microsoft Scripting Runtime Library Fails =

Article ID: 254166

Article Last Modified on 10/26/2007

-

APPLIES TO


 * Microsoft Internet Explorer 3.0
 * Microsoft Internet Explorer 3.01
 * Microsoft Internet Explorer 3.02
 * Microsoft Internet Explorer 4.0 128-Bit Edition
 * Microsoft Internet Explorer 4.01 Service Pack 2
 * Microsoft Internet Explorer 4.01 Service Pack 1
 * Microsoft Internet Explorer 4.01 Service Pack 2
 * Microsoft Internet Explorer 5.0
 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer 5.5
 * Microsoft Visual Basic, Scripting Edition 4.0
 * Microsoft Visual Basic, Scripting Edition 5.0
 * Microsoft JScript 4.0
 * Microsoft JScript 5.0
 * Microsoft Visual Basic 6.0 Learning Edition
 * Microsoft Visual Basic 6.0 Professional Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition Service Pack 3

-



This article was previously published under Q254166



SYMPTOMS
If your Microsoft Visual Basic application uses Microsoft Scripting Runtime Library (Scrrun.dll), the Package and Deployment Wizard (PDW) automatically picks up the dependency from Scrrun.dep, which points to http://activex.microsoft.com/controls/vb6/ScrRun.cab. However, this .cab file does not actually exist. Any component that tries to download the Scripting Runtime Library from this site will fail.

The following error message may appear in your Code Download Error log for this problem:

Code Download Error: (hr = 800c0007) No data is available for the requested

.........

ERR: INF Processing: Failed (80004004) processing: scrobj.dll. Cannot get primary/default language!

LOG: URL Download Complete: hrStatus:0, hrOSB:80004004, hrResponseHdr:0, URL:(URL to your CAB File)



CAUSE
There is a bug in the Scrrun.dep file that is included with Visual Basic. The Scripting Runtime Library is no longer available in the form of a .cab file. Instead, the Scripting Runtime Library is now available in the form of an .exe file that is located at:

http://www.microsoft.com/downloads/details.aspx?FamilyID=0a8a18f6-249c-4a72-bfcf-fc6af26dc390&DisplayLang=en



RESOLUTION
Microsoft Scripting Runtime must be installed through the use of a self-extracting .exe file. For versions of Scripting Runtime mentioned at the beginning of this article, the only way to distribute it is to use the complete self extracting .exe file located at the following locations:

Microsoft Windows 98, Microsoft Windows Millennium Edition, and Microsoft Windows NT 4.0

http://www.microsoft.com/downloads/details.aspx?FamilyID=01592C48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en

Microsoft Windows 2000 and Microsoft Windows XP

http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.



MORE INFORMATION
Microsoft Scripting Runtime Library Version 3.1 is no longer available. Users should obtain the latest runtime from the links in the "Resolution" section.

For more information about Microsoft Windows script downloads, visit the following Microsoft Developer Network (MSDN) Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en

