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

  • Last Modified: September 10, 2009
  • Article: TS1331
  • Old Article: 304405

Symptoms

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."

Products Affected

QuickTime for Windows, iTunes 7 for Windows, iTunes 8 for Windows, Microsoft Windows 2000, Windows XP, Windows Vista

Resolution

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 VBScript version 5.6 for Windows 2000 from Microsoft, and then try installing iTunes or QuickTime again.
Windows XP Download and install VBScript version 5.7 for Windows XP from Microsoft, and then try installing iTunes or QuickTime again.
Windows Vista No download necessary. The latest VBScripting engine (version 5.7) is already included with Vista. Follow the steps below to register the VBSScript again if you still have this issue in Vista.

 

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:

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. Type 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: 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.

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.

Not helpful Somewhat helpful Helpful Very helpful Solved my problem