May CTP install fails on Vista
I'm trying to install the May CTP on Vista RTM running VS 2005 SP1. The install fails immediately with the following error message:
"The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2738."
If I run "msiexec /i "LINQ Preview (May 2006).msi" /log log.txt" and log the MSI install, here is the start of the log, with the errors:
=== Logging started: 1/13/2007 0:55:38 ===
Action 0:55:38: INSTALL.
Action start 0:55:38: INSTALL.
Action 0:55:38: ProgramMenuFolder.492C141007D74A398E35467AE6109B0C.
Action start 0:55:38: ProgramMenuFolder.492C141007D74A398E35467AE6109B0C.
Action ended 0:55:38: ProgramMenuFolder.492C141007D74A398E35467AE6109B0C. Return value 1.
Action 0:55:38: ProgramMenuFolder.D2FF0048DE394E4D8287E063EC3A086B.
Action start 0:55:38: ProgramMenuFolder.D2FF0048DE394E4D8287E063EC3A086B.
Action ended 0:55:38: ProgramMenuFolder.D2FF0048DE394E4D8287E063EC3A086B. Return value 1.
Action 0:55:38: ProgramMenuFolder.92D1EB66EA714CFE9C88A25F2388CD0F.
Action start 0:55:38: ProgramMenuFolder.92D1EB66EA714CFE9C88A25F2388CD0F.
Action ended 0:55:38: ProgramMenuFolder.92D1EB66EA714CFE9C88A25F2388CD0F. Return value 1.
Action 0:55:38: ProgramMenuFolder.C7A0C9D96EB648548BD084A2A4C688EB.
Action start 0:55:38: ProgramMenuFolder.C7A0C9D96EB648548BD084A2A4C688EB.
Action ended 0:55:38: ProgramMenuFolder.C7A0C9D96EB648548BD084A2A4C688EB. Return value 1.
Action 0:55:38: DIRCA_CheckFX.
Action start 0:55:38: DIRCA_CheckFX.
Action ended 0:55:38: DIRCA_CheckFX. Return value 1.
Action 0:55:38: CheckSKUs.
Action start 0:55:38: CheckSKUs.
DEBUG: Error 2738: Could not access VBScript runtime for custom action
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2738. The arguments are: , ,
Action ended 0:55:38: CheckSKUs. Return value 1.It almost seems like the MSI installer doesn't think that I has WSH installed? Also, I am running the install as an Admin.
-Matt
Answers
- Hi, found the problem. Vista for some reason dosnt register VBScript. What you have to do is first of all find where vbscript.dll is, mine was in C:\Windows\System32, but I think it changes dependant on your version. Next you need to go to start -> accessories and the right click on command prompt and click "run as administrator", next type "cd C:\Windows\System32" (replace the dir if its differnt for you) and then type "regsvr32 vbscript.dll". It should then confirm that vbscript has been registered and everything should work. This will fix a few installs, i found the same problem with itunes as well.
Hope this helps,
Cheers,
James
All Replies
I have the same problem. Did you find any solution?
BR
Ralf
- So am I

- Hi, found the problem. Vista for some reason dosnt register VBScript. What you have to do is first of all find where vbscript.dll is, mine was in C:\Windows\System32, but I think it changes dependant on your version. Next you need to go to start -> accessories and the right click on command prompt and click "run as administrator", next type "cd C:\Windows\System32" (replace the dir if its differnt for you) and then type "regsvr32 vbscript.dll". It should then confirm that vbscript has been registered and everything should work. This will fix a few installs, i found the same problem with itunes as well.
Hope this helps,
Cheers,
James - Perfect. Worked lika a charm, thanks Jamie
- I just saw your post and have the same problem with my new computer with Vista. Try to install ITunes and I get this message:
ITunes could not be installed becasue 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, re-register VBcript, and then install ITunes.
I have been trying to find the cd C:\Windows\System32 and had to go to C drive. then to Windows, then to System, then to System32 on my computer. My search could not find it and I am not sure they are the correct files, I have two that seem to be what you said but unsure, in my Windows System32 I have two files with the names: regsvc.dll (says it is a Application Extension) and regsvr32 (says it is a Application).
When I type the "regsvr32 vbscript.ll into the Run command on my start menu this is the message that comes up - Can you help me figure out what to do, I am lost and tech. support said they cannot help me.
The module "vbscript.dll" was loaded but the call to DllRegisterServer failed with error code 0x80004005.
For more information about this problem, search online using the error code as a search term.
Thanks for any info
Darlene
Hi Jamie, You're genius thanks. I couldn't get the c command to run as administrator but the second download option you gave did the trick and I've now installed my i tunes update perfectly, thanks so much.
- i am using windos xp and ive already trying to download the latest vbscript sngine but it still doesnt work. im also getting the message that says "itunes could not be installed because visual basic script is not installed or has been disabled. make sure vbscript is installed, turn off script blocking in anti-virus and personal firewall software, re-register vbscript and then install itunes." When i run the installation for the new VBscript engine everything goes fine but then i get a message that says "error registering the OCX C:\WINDOWS\system32\vbscript.dll." what is causing this problem with the VBscript on my PC? it just seems as if it is refusing to cooperate with any vbscript programs or engines!
Jamie,
I can't thank you enough for your spot on information. I have been trying to figure out the VB problem for HOURS!!! I did everything under the sun to figure it out and FINALLY I came across your incredibly helpful information and it worked like a charm. How the heck did you ever figure that out? And if it is such a problem, why doesn't Apple make it easier to figure out for us laymen? Anyways, thank you, thank you, thank you. I was fixing to freak!!!!!
- Thank you. This fixed 2 days of problems I was having with iTunes, Roxio/Sonic programs and some live gallery search plugins.
- thank you thank you....after i figured out the paths...UGH... it worked perfectly.
way to go jamie!! Thanks for posting this - it fixed the problem for me as well. You're the best!
-Don
Thank you very much. It was a life saver. I was dealling with it for weeks. I was also having troubles with Adobe Indesign Scripting
Best Marcos
- Hey thanks. What a price we pay for being early adopters, but at least we get a round start button.
- THANK YOU SO MUCH. Does it surprise anyone that microsoft has failed to notice this easy to fix but essential fault? I really wish there was a mainstream alternative that could actually rival Windows in compatibility and convenience. Anyways, cheers for being better than the products own team, I now have iTunes and a working Ipod. Still hate Vista though, doesn't even work with Microsoft products like messenger and Windows media player, poor....
Thanks for the info Jamie
I tried registering mine and even though it said it registered successfully it still crashed the Itunes set-up with the VB error. Any other ideas? I also tried installing VB 5.6 for XP but still no go. Wonder if it is because I runt he 64bit version?
Thanks for any help
- If you are running 64-bit version of Windows you have to make sure that both versions of VBScript.DLL are registered. So, you should:
1. run cmd.exe as an Administrator (it's important 'cause of privilefes)
2. cd C:\Windows\System32\
3. regsvr32.exe vbscript.dll
4. cd C:\Windows\SysWOW64\ (to get closer to 32-bit files)
5. repeat the step 3 Neither of these, or any of the previous fixes are working for me. When I try to use the iTunes link, I receive the 0X80004005 error that a few of the others receive. I also receive this error when trying to register the .dll file in the command prompt. Did you find any other fixes?
- I had the same problem trying to install my Palm Software. I searched for weeks for an answer. Everything I found was for XP and didn't work. This finally solved the problem. Thank you!
- Wow, thank you thank you thank you! My god, the joy I felt when itunes' installer actually functioned........
For what it's worth, Vista users out there, don't be scared by the the fact the download is for XP. Also, it asked if I wanted to overwrite newer files and at first I said 'no,' which did NOT solve the problem (itunes wouldn't install). Then I reinstalled the update and this time said 'yes' to overwriting newer files and voila it worked. My computer will probably self-combust now, but at least there will be a soundtrack playing from itunes when it happens.
So, Jamie, whoever you are, you helped a longhaired dude in North Carolina feel very happy. Thanks. - I'm wondering why you guys are installing May CTP instead of the newer March CTP. Is it because the latter does not work with Vista? I'm itching to try some linq, but I'm somewhat scared the ctp install might mess up my VS2005 on my new Vista Home Premium laptop. Do you have any suggestion for me? Thanks
Well I tried everything jamie said and i still get the error code 0x80004005. And I run vista trying to install itunes and it isn't working at all
- I love you! This ended three weeks of hassles!
- It worked like a charm! Thanks a bunch man! You're my savior!

all this info worked from me thanks, I was having trouble with quicktime and now I was able to dowload it
Thanks again
James: If by chance you come across this post; I am a novice at typing in command prompt, and don't want to screw anything up.
1) When you say type "cdC:\Windows\System32", for example, do you actually mean I should type the quotation marks?
2) After typing the first part, am I supposed to hit enter?
3) Or do I hit enter after typing the second part?
Thanks much,
Allen
- Hi Allen,
first off, its quite hard to screw anything up with the command prompt, as long as you don't type rmdir (it deletes things!). you don't have to add the quotation marks, so you just type cd C:\Windows\System32, then you press enter and then type regsvr32 vbscript.dll and press enter again (if your using the 64bit version of vista, you have to do a bit more but thats already been explained somewhere on the thread). here is an article that explains how to use the command line, http://www.pcstats.com/articleview.cfm?articleID=1723 (maybe a bit overkill for what you need to know). if your still stuck don't hesitate to ask,
hope this helps,
cheers,
James Hi, i am trying to download sky anytime but i keep getting this error. I know i its the VBScript and i have Vista but when i do this it says :
'The System cannot find the path specified'
Please help,
Email me at wen_duz_the_weekend_start@hotmail.com
amit
i face similer problem
thanks it solved my problem
Hi Jamie,
I'm still having a problem with getting the iTunes istalltion to work. I'm runnung Windows XP and I've tried downloading the latest scipting engines from microsoft but I get this message "Error registering the OCX C:\Windows\System32\vbscript.dll". I've also tried going into run and typing "cmd.exe" and then typing "cd C:Windows\System32" and then pressing enter and typing "regsvr32 vbscript.dll" but then i get a message that says "DllRegisterServer in vbscript.dll failed. Return code was 0x80004005". I am pretty knowledgeable about computers but I'm absolutely stuck right now. Please help me out, this problem has been killing me for months now!

thanks a lot. you star
- Dear Jamie -
I am writing in hope that you may be as helpful to me as a PC user as you were in your last reply regarding this error message.
I, too, am receiving the error codes, but in my case it is in loading MS Outlook as part of Office 2003 (with Service Packs 1 & 2). All of the other Office components installed just fine, and I was able to download and install an additional 18 updates to help Office work with Windows Vista.
When Outlook tries to launch, I get "Failed to register a VBScriptDLL. Reinstall or run Regsvr32.exe Vbscript.dll to self register. An error occurred while creating a form."
I moved to the command prompt, and ran the command. In response, I got another error message: "Module vbscript.dll was loaded but the call to DllRegisterServer failed with error code 0x80004005."
I found this very error message here in the forum, and followed your sage advice to the MS Download page. Tho I'm on Vista, I optimistically downloaded and installed Windows Script 5.6 for Windows XP and Windows 2000. As you might expect, no help.
Can you offer any more words of wisdom on how to overcome this? I have had little success finding help, and am loathe to send an email to MS Support which incurs a $49 fee just to inquire.
Thanks in advance - Christi Jamie,
I have done everything in this thread with a new Vista Machine out of the box and the latest version of itunes. Nonetheless, the itunes installer still stops and hours of web surfering has not provide anything new to try.
Any suggestions on getting itunes installer to execute fully?
Thanks!
Alma
I came across this thread when the same error message kept coming up as I was trying to open Outlook 2007 on my new HP laptop (Presario V6000 with Vista for Business). I tried what you recommended, and the computer said I had done so successfully, but the problem remains. Any other ideas? Apologies if this is the wrong forum for an Outlook question.
Thanks for any advice you may have.
- Thanks for the info as it worked great. The only question I have is does this action cause any security risks?
- Thank you Jamie, it really helps!
Thank you, thank you. Thought I'd never solve this one. You're brilliant!
- Thanx, someone should inform apple about this issue. That was way more difficult then it had to be!
- Oh my god thank you so much. I have been scratching my head trying to figure out this whole vbscript thing so i went to the ipod website and someone one linked it here. it worked like a charm. thank you.
- Awesome! Thanks
- Thanks ALOT!!! After using ur method. The problem was solved...

Hi
I'm having trouble installing Itunes to windows vista as it says an error message about the vbscript
I tried what you said above an it keeps saying it doesnt work

can you help I'm desperate!!
Thanks
Em x x
- hi buddy, thanks for the very helpful information about this vbscript. i've been searching all over the net and thankfully i stumbled upon on this helpful site. i hope people from itunes can do this thing more simplier for everybody to enjoy their products. THANKS AGAIN, GOOD JOB....
- Thanks.....its work.....
This worked like a charm! I think we might have even been holding up a release because of this. So, THANKS A BUNCH! Now, I have another question...any ideas on how this may have happened and why the work around you gave fixed it?

One weird thing was, someone else was able to RDC into my computer (user had admin priveledges) and was able to install the program just fine! Too weird!
Hi Jamie,
That was the best advice. I have a new notebook from Dell and downloaded itunes and fell into the problem you had above. I spoke with the guys at Dell and they couldn't fix it but thanks to your information above everything is working great now.
Take care,
Liam.
Thanks Jamie, you're an angel sent by heaven, your solution really solve my biggest headache. I hope this helps the others as well. Thanks again.
Cheerio,
Steven
One more thing to do in this case, when you're trying to install itunes on vista or any other apple product, is first of all, download the installer into an easy access folder for yourself, after you have to register the VBScript.dll as detailed before, then go to the folder where the installer program is, and then execute it, keep in mind, this procedure is when you have opened a prompt with the "Runas /user:administrator cmd" rights, this must solve any "package error" and let you install any apple software on vista.
Best regards to all.
StBC
- I have tried everything suggested in this thread but I'm still getting the same error message, Anyone got any ideas please?
- thank you - this worked great
- This solution also worked when I received the 2738 error upon trying to install an HP Total Care Advisor update. Thank you.
- After trying 1000 different things, I finally tinkered enough to make this vbscript thing work. Here's what I did using 64 bit Vista Ultimate....
1. Start... type "cmd" in the search box (Windows finds the cmd.exe in your system32 folder instead of the syswow64 folder, but it doesn't matter which one you run.)
2. Right click cmd and choose "Run as Administrator..."
3. The default directory should be "C:\Windows\System32"
4. type "cd C:/windows/syswow64" (The new directory should be "c:/windows/syswow64")
5. type "regsvr32 vbscript.dll" (notice you're still running regsvr32 from the syswow64 folder)
After reading everyone else's ideas, I pretty much had to put them together to get something that worked. It's confusing to figure out which permissions and which folders these need to run from, but just keep trying and eventually you'll figure it out.
Thanks for all the help!
JB - I got the same thing using Vista. Then it hit me: Right-click the iTunessetup.exe file and select Run as administrator. It installed without a hitch. Gotta love a new OS: Everything you know is wrong!

Thank you very much JoshBeagley !
That what I was looking for, I tried sevral ideas with no solution because it's works for vista 32.
thanks you again , you just resolved a 2 days problem!
- thanks James,it worked out
Hey Jamie...
Thanks for the little fix right there..i was trying to install the HPAdvisor from Dell on my Vista Home basic and i was getting the same error, but this solution fixed it.
Thankyou!! This is a very nice explanation with step-by-step procedure - which actually worked. I'm forever in your debt - my 14 yr old daughter will finally be pacified and will be able to update iTunes on our Vista machine. This will also leave me pacified.
Thanks again.
Thanks very much
hi , i'm sho.
i am using windows vista, but some many program can't be open. i'm able to install it, but it just doesn't open. when i try to open itunes, it says "a problem caused the the program to stop working correctly. windows will close the program and notify you if a solution is available." i've check and tried to solve the problem but it just still doesn't work. i wonder would know how to solve the problem?
Thank You!
ditto same problem here, any solutions?
- OK. Thanks Jamie

Hi Josh,
You saved me buddy, for ages now i have been without itunes, thanks to this genius of a man, i have no problems with VBscript. I even phoned up Itunes and there DUMB tech support with the error messages i was getting I even said about the VBscript error messages I was getting and they quite dumbly recommended me to delete my itunes and back ALL I had bought and reload it, I couldn't even unistall it cos of VBscript errors. Sadly with my messed up Vista I could not do the search for the "cmd" so through "My Computer" found the "System32" folder and did the "Run as Administrator but could not create the folder as you described by typing "cd C:/windows/syswow64 I even tried manually creating the folder through "My Computer" which i did. So in the end I bypassed some of your steps and when I was in the CMD instead of creating the folder syswow64 I went straight into typing from C:/windows/System32 :- regsvr32 vbscript.dll and it said "Succesfull" so i went beack to Itunes and downloaded the new version of Itunes no problem, all thanks to this genius man Josh Beagley!!!!!!!!!!!!!!. So if any of you have problems with josh's way try my way.
- Thanks for this solution....:)

