Archived - iTunes and QuickTime for Windows cannot be installed without Visual Basic Script (VBScript)

This article has been archived and is no longer updated by Apple.


In some instances, the iTunes and QuickTime Installers may unexpectedly quit during the "Preparing to Install" stage of the installation with the following message:

"The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2738."

In some cases, the error message may say:

"iTunes could not be installed because Visual Basic Script (VBScript) is not installed or has been disabled. Make sure VBScript is installed, turn off script blocking in anti-virus and personal firewall software, reregister VBScript, and then install iTunes."


Download and install the latest version of iTunes.


Install the latest VBScript engine from Microsoft for your Windows OS platform

Windows 2000 Download and install the latest version of VBScript Windows 2000 from Microsoft, and then try installing iTunes or QuickTime again.
Windows XP Download and install the latest version of VBScript for Windows XP from Microsoft, and then try installing iTunes or QuickTime again.
Windows Vista or Windows 7 No download necessary. The latest VBScripting engine is already included with Windows Vista and Windows 7. Follow the steps below to register the VBSScript again if you still have this issue in Vista or Windows 7.


Register the VBScript engine again

If the latest VBScript engine is already installed, register it again. Note that you must be logged in as administrator or logged in as a user with administrator privileges for the computer to execute these steps.

For Windows 2000 or Windows XP:

1. On the Start menu, click Run.

2. In the "Open" field dialog box, enter the following command and click OK:

regsvr32 vbscript.dll

3. A message should appear stating that the "DllRegisterServer in vbscript.dll succeeded."

4. Click OK and try installing iTunes or QuickTime again.

For Windows Vista or Windows 7:

1. In the Start menu, type cmd in the Start Search field.

2. Right-click on cmd in the list of search results and click Run as administrator in the pop-up menu. If Windows needs your permission to continue, click Continue. (If you are not logged in as an administrator, you will need to authenticate with an administrator login and password.)

3. In the Command Prompt window, enter the following command:

regsvr32 vbscript.dll

4. Press Enter on the keyboard. A message should appear stating: "DllRegisterServer in vbscript.dll succeeded."

Note: If you see a message with "error code 0x80004005", the command window was not opened as an administrator.

5. Click OK and try installing iTunes or QuickTime again.

Important: Mention of third-party websites and products is for informational purposes only and constitutes neither an endorsement nor a recommendation. Apple assumes no responsibility with regard to the selection, performance or use of information or products found at third-party websites. Apple provides this only as a convenience to our users. Apple has not tested the information found on these sites and makes no representations regarding its accuracy or reliability. There are risks inherent in the use of any information or products found on the Internet, and Apple assumes no responsibility in this regard. Please understand that a third-party site is independent from Apple and that Apple has no control over the content on that website. Please contact the vendor for additional information.
Important: Information about products not manufactured by Apple is provided for information purposes only and does not constitute Apple’s recommendation or endorsement. Please contact the vendor for additional information.
Last Modified: Aug 15, 2013
Not helpful Somewhat helpful Helpful Very helpful Solved my problem
Print this page
  • Last Modified: Aug 15, 2013
  • Article: TS1331
  • Views:

  • Rating:
    • 49.0

    (3142 Responses)
Start a Discussion
in Apple Support Communities
See all questions on this article See all questions I have asked