Article ID: 254166 - Last Review: May 24, 2012 - Revision: 1.0

BUG: Distribution of Microsoft Scripting Runtime Library Fails

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
This article was previously published under Q254166
Expand all | Collapse all

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 (http://www.microsoft.com/downloads/details.aspx?FamilyID=01592C48-207D-4BE1-8A76-1C4099D7BBB9&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 (http://www.microsoft.com/downloads/details.aspx?FamilyID=01592C48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en)
Microsoft Windows 2000

http://www.microsoft.com/en-us/download/details.aspx?id=20240 (http://www.microsoft.com/en-us/download/details.aspx?id=20240)
Microsoft Windows XP

http://www.microsoft.com/en-us/download/details.aspx?id=8247 (http://www.microsoft.com/en-us/download/details.aspx?id=8247)

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://msdn.microsoft.com/en-us/library/ms950396.aspx (http://msdn.microsoft.com/en-us/library/ms950396.aspx)

REFERENCES

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
252937  (http://support.microsoft.com/kb/252937/ ) How to find more information about why code download failed
For more information on how internet component download works, see the following Microsoft Webcast:
How Does Internet Component Download Work? (http://support.microsoft.com/servicedesks/webcasts/wc042500/WC042500.asp)
For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
http://msdn.microsoft.com/ie/ (http://msdn.microsoft.com/ie/)

http://support.microsoft.com/iep (http://support.microsoft.com/iep)
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use (http://go.microsoft.com/fwlink/?LinkId=151500) for other considerations.

APPLIES TO
  • Microsoft Internet Explorer 4.01 Service Pack 1
  • Microsoft Visual Basic 6.0 Professional Edition
Keywords: 
kbbug kbcode kbdownload kbfaq kbnofix kbscript KB254166