Visual Studio 2010 fails to install with "Error occurred during setup"

8

1

I'm trying to install Visual Studio 2010 on Windows 7 64-bit and I keep getting following screen:

Error occurred during setup - Setup could not install the following component: Microsoft Visual Studio 2010 Express Prerequisites x64 etc.

I tried to install also Visual Studio 2008 with similar result. I'm starting to think it might be caused by some problems with my Windows Installer. Any idea what could it be?

Ondrej Slinták

Posted 2010-05-18T18:22:10.180

Reputation: 1 423

1Is your Windows 7 a 64-bit edition? – Ƭᴇcʜιᴇ007 – 2010-05-18T18:24:19.567

Yes, it is. Will edit the question. – Ondrej Slinták – 2010-05-18T18:25:27.830

Are there any errors in the event viewer? – Glennular – 2010-05-18T19:04:55.490

There's following error: Product: Microsoft Visual C# 2010 Express - ENU -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2329. The arguments are: 32, C:\Config.Msi\ad9b7d.rbf, – Ondrej Slinták – 2010-05-18T19:28:48.263

Have you tried using Microsoft's Log Collection Tool

– heavyd – 2010-05-21T15:00:00.557

I ran it now, but got the very same error again. – Ondrej Slinták – 2010-05-21T23:32:08.777

The log collection tool is to help you to find the install log to get more information. The zip file it generates should provide more information. – heavyd – 2010-05-22T19:49:56.840

Answers

5

We had same problem. And we found the reason. The .iso we downloaded from MS site was downloaded with errors.

We downloaded it again with different downloading tool. New .iso installed correctly. And these .iso files appeared to have different checksums.

The info you got from log seems to confirm my thoughts: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package.

Try to download the VS2010 .iso image again.

Vasyl Boroviak

Posted 2010-05-18T18:22:10.180

Reputation: 617

This is a right answer. Unfortunately, I couldn't check it sooner, so I cannot mark it as correct anymore :( – Ondrej Slinták – 2010-05-30T08:27:43.963

I'm happy enough. :) Have a good coding. – Vasyl Boroviak – 2010-05-30T11:26:03.127

1

Going off your error code of 2329, and googling it with "visual studio 2010", I get the following link:

and looking up that error code:

2329 Error deleting file: 3. GetLastError: 2.

Another link says to uninstall Windows Installer, reboot, and reinstall it.

  1. Control Panel > Programs > Uninstall windows installer
  2. Reboot
  3. Download and install it:

Link to Windows Installer 4.5:

spong

Posted 2010-05-18T18:22:10.180

Reputation: 1 929

Yep, found those too. I cannot find this "Uninstall windows installer" anywhere. I also tried to download and install all of the files from Windows Installer link you've provided, but none of them seem to work on Win7. Afaik, Win7 uses Windows Installer 5, which I cannot find anywhere for download. – Ondrej Slinták – 2010-05-18T20:48:11.940

What version of Windows 7 are you using? And, did you install/upgrade Win7 yourself, or is this from an OEM (Dell, HP, Lenovo, etc)? – spong – 2010-05-18T21:32:02.117

I had originally Win Vista Ultimate, which I upgraded to Win7 Ultimate. All done by myself. – Ondrej Slinták – 2010-05-19T05:49:31.643

Have you had trouble installing any other programs besides VS2010/VS2008? I've upgraded my PC from Vista Ult to Win7 Ult 64-bit without a hitch, but I did a fresh install, not an upgrade. I do some development on it too with VS2008/VS2010. When it's something as important as a new OS, I always do fresh install over upgrade. – spong – 2010-05-19T14:35:43.107

I hadn't problems with anything until now. I even had installed VS2008 before, uninstalled it and when I tried to install VS2010, this happened. Only other weird thing that keeps happening from this point is crashing of AdAware, but don't know if it has something to do with it. – Ondrej Slinták – 2010-05-20T10:36:28.473

1

If you are using a home brew disk that you created from an ISO file, then redo it. It took me three times to create an install disk before I could finally install it without errors. Unfortunately, there is no indication that the burned disk had errors or problems other then not installing.

Processorman

Posted 2010-05-18T18:22:10.180

Reputation: 11