Visual Studio Development Bookmark and Share   
 index > Visual Studio Setup and Installation > Visual C++ 2008 install problems
 

Visual C++ 2008 install problems

I'm having a real problem that I don't know how to solve. I went to microsoft's website to download Microsoft Visual C++ 2008 and after downloading it I went to install it and eventually left the location I was at (that had internet) therefore halting the installation process. I returned home and went back to the setup and it caught up to where it was at before but then went to an error message that said it could not complete the installation process.

Taken aback, I clicked the hyperlink that showed me more about the problem and it said it was likely caused by leaving the network, there were 3 solutions they recommended to fix this problem (The problem is believed to be with the BITS) and I went through each step for every reason of the problem and NONE of them worked! If someone could please help me I can give more information about it if you need more.
potatrix  Wednesday, October 07, 2009 7:28 PM
Hi Potatrix,

Thank you for your reply.

I opened the link that I posted: http://www.microsoft.com/express/download/ . I could find “Offline Install” at the button of the Web Page. Could you please check that?

Best regards,
Yichun Chen
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Marked As Answer bypotatrix Thursday, October 15, 2009 2:56 PM
  •  
YiChun Chen  Thursday, October 15, 2009 3:34 AM
I'm having a real problem that I don't know how to solve. I went to microsoft's website to download Microsoft Visual C++ 2008 and after downloading it I went to install it and eventually left the location I was at (that had internet) therefore halting the installation process. I returned home and went back to the setup and it caught up to where it was at before but then went to an error message that said it could not complete the installation process.

Taken aback, I clicked the hyperlink that showed me more about the problem and it said it was likely caused by leaving the network, there were 3 solutions they recommended to fix this problem (The problem is believed to be with the BITS) and I went through each step for every reason of the problem and NONE of them worked! If someone could please help me I can give more information about it if you need more.
potatrix  Wednesday, October 07, 2009 4:44 AM
Try the Visual Studio Setup and Install forum instead. Most Visual C++ programmers do not install/uninstall Visual Studio every day.



The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
Visual C++ MVP
Sheng Jiang 蒋晟  Wednesday, October 07, 2009 5:25 PM
Hi Potatrix,

Thank you for your post.

Some clarification with you:
What's your OS?

During the installation of Visual C++ 2008 Express Edition installation, we should keep network connecting since it will determine what needs to be installed and attempts to download these required components from the web.

Could you please connect your PC to network and run the installer again?

If any problem during the installation, please try to use collect tool to collect the log files from your "%temp%" folder?
http://blogs.msdn.com/heaths/archive/2008/05/09/visual-studio-and-net-log-collection-utility.aspx

You can upload your log files to SkyDrive and post the link back here.

Steps:
- Try to clean your "%temp%" folder
- Install Visual C++ 2008 Express 
  (For Vista or later, the installer must be run with administrator privileges - Right-click the installer >> "Run as Administrator")
- Collect the logs from "%temp%" folder
- Upload vslogs.cab file

Hope this helps. If you have any concern, please feel free to let me know.

Best regards,
Yichun Chen
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
YiChun Chen  Thursday, October 08, 2009 7:47 AM
I am currently using Windows XP Home Edition, I went to the link you provided but failed to find the 'latest' collect.exe program download link. I, instead, found a link to 'the old collect.exe' and downloaded that and am currently running it. I'll update this post when it finishes.

Thank you! Definitely a start!
potatrix  Friday, October 09, 2009 6:41 PM
Hi Potatrix,

I've tried downloading new Collect Tool from http://go.microsoft.com/?LinkId=8967043. It works on my machine. To download it, you might try downloading it again or other web browser to help downloading. :)

Before the installation, I would suggest you to try Auto-Uninstall Tool to remove the previous failure installation of Visual C++ 2008 to start from scratch.

Thank you for your clarification and help. Look forward to your reply. If it doesn't work, please feel free to let me know.

Best regards,
Yichun Chen
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
YiChun Chen  Sunday, October 11, 2009 10:32 AM
I tried using the un-install program like you suggested but it didn't remove the already downloaded files. (When i go to download it after wards, it still skips through steps that have already been completed, going to the fifth step, and then says there's a problem). It's also important to note that I had also tried the manual uninstall process, and none of the files it said to remove were actually there for me to remove (removing files through add/remove files).

However, I did use your collect program you suggested (the new one, thanks for the link!) and uploaded them to my SkyDrive. You can find it with this link: http://cid-1cfb506927353d5d.skydrive.live.com/browse.aspx/logs?uc=1&lc=1033

It took a little bit, but I'm certain the files are available to anyone now :).

Thank you so much for looking into this problem for me.

I'm 100% certain that this all wouldn't have happened if i hadn't halted the installation process like I did (leaving the wi-fi zone). :p

Just for the record, or if it helps at all, the exact problem I get when it stops installing is this:

"Setup cancelled automatically because a component could not be downloaded. To
try again, click Exit and then restart setup. For more information, see the Download Troubleshooting Guide."

I try at least once everyday and can't get it to install, I'm convinced if I could just somehow remove the files, or any trace that I had actually started installing the files, I might be able to get rid of whatever is corrupted that causes me to be unable to install the program and then just re-install every file completely without error (because this time I wont disconnect from the internet). But really whatever works, as long as in the end I get this program on my computer I will be happy.

Once again Thank You!

-Charles
  • Edited bypotatrix Wednesday, October 14, 2009 12:36 AMadded details
  •  
potatrix  Wednesday, October 14, 2009 12:31 AM
Hi Potatrix,

Thank you for your reply. I can understand your worries on this problem. I hope that I can help you to solve it.

I downloaded and looked into the log files and found the following error snippet:

[10/13/09,16:56:59] Microsoft Visual C++ 2008 Express Edition with SP1 - ENU: dlmgr: CDownloadJobBITSImpl::GetState(): Error
[10/13/09,16:56:59] Microsoft Visual C++ 2008 Express Edition with SP1 - ENU: dlmgr: BITS Error
Context: 4    Error code:
-2147024809     Description: The parameter is incorrect.

[10/13/09,16:56:59] Setup.exe: AddGlobalCustomProperty
[10/13/09,16:56:59] Microsoft Visual C++ 2008 Express Edition with SP1 - ENU: ***ERRORLOG EVENT*** : dlmgr: CDownloadJobBITSImpl::RunToFinish() : BITS job in BG_JOB_STATE_ERROR state.
Context: 4    Error code: -2147024809    Description: The parameter is incorrect.


For error code "-2147024809", it means "The parameter is incorrect.". It seems that there is some problem with BITS on your machine.

It needs the BITS service running to download the product.
Check if the background intelligent transfer system service is enabled on your machine. Open Control panel-->Administrative tools--> Services.

Check if it is disabled in services, if so, enabled it.

If it doesn't work, you can try:

Upgrade to BITS 2.0 from http://www.microsoft.com/downloads/details.aspx?FamilyId=B93356B1-BA43-480F-983D-EB19368F9047&displaylang=en

-or-

- Repair the BITS service by running the Bitsadmin tool at the command prompt, as follows: bitsadmin /util /repairservice /force

You also can try the workarounds of BITS mentioned here: Visual Studio 2008 Express Editions Readme
(Please check "2.1.1.2. Download of Visual Studio Express failed. ")

If no avail, another option for you:
You also can try Offline install of Visual Studio 2008 Express Edition.
See: http://www.microsoft.com/express/download/  (Go to "Offline Install")
This contains all the Express products as well as optional components in a single image (ISO) file. You can extract ISO file and just install Visual C++ 2008 products.

Hope this helps. If you have any concern, please feel free to let me know.

Best regards,
Yichun Chen

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
YiChun Chen  Wednesday, October 14, 2009 4:28 AM
I had tried the whole BITS thing before where I tried to restart BITS and made sure it was enabled. I tried downloading the 2.0 BITS and it says that the Service pack one I have already is newer than the one I am currently trying to install and that the update is useless (so it wont let me install it pretty much).

I have yet to try downloading the ISO (I'm afraid if I try downloading it while jumping from internet to internet it will cause the same problem so I'm going to wait until i have my laptop sitting in one place for a while, Don't trust Microsoft much anymore with downloads :p)

I must be doing something wrong when it comes to the BITS problem but I went to the download troubleshooting guide and had tried the step already to make sure it was enabled. Then they had me install mod tools to fix the BITS which I ran, and the install STILL didn't work. I don't know if it's because I didn't do it right or that the installation/setup is in a state of permanent belief that my BITS is corrupted.

Just for reference purposes here are the exact instructions I am referring to

--------------------------------------------------------------------------------------------------------------------------------------------

Description:
This error occurs when BITS interfaces are not registered or the registry settings are corrupted.

To fix this error:
Upgrade to BITS 2.0 from http://www.microsoft.com/downloads/details.aspx?FamilyId=B93356B1-BA43-480F-983D-EB19368F9047&displaylang=en

OR

Repair the BITS service by running the bitsadmin tool from the command prompt:
Bitsadmin /util /repairservice /force

You can download the Bitsadmin tool from: http://www.microsoft.com/downloads/details.aspx?amp;displaylang=en&familyid=49AE8576-9BB9-4126-9761-BA8011FABF38&displaylang=en

------------------------------------------------------------------------------------------------------------------------
When downloading the bitsadmin tool it has me go to command prompt and type in: Bitsadmin /util /repairservice /force
when this resolved, the problem still is not solved.
potatrix  Wednesday, October 14, 2009 5:10 PM
I just tried the link you sent me, the only files I seem to be able to download the ISO of is Microsoft Visual Studio 2008 trial versions. Im just trying to download visual C++ 2008, for the sole purpose that its free, so I was told anyway.

I dont see why Microsoft has to make this so difficult for me, all I had to do was leave the internet site and now its becoming impossible for me to even get the program. I guess I learned my lesson not to download from Microsoft. I guess that would belong in an email to microsoft. Anyways, thank you so much for the help. I really cant stress enough how rediculous this is.
potatrix  Thursday, October 15, 2009 2:45 AM
Hi Potatrix,

Thank you for your reply.

I opened the link that I posted: http://www.microsoft.com/express/download/ . I could find “Offline Install” at the button of the Web Page. Could you please check that?

Best regards,
Yichun Chen
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Marked As Answer bypotatrix Thursday, October 15, 2009 2:56 PM
  •  
YiChun Chen  Thursday, October 15, 2009 3:34 AM
Oh! Sweet I'll definitely give this a shot
I didn't scroll down past MSDN Library download. <_<
Still, this is rediculous.

This is exactly what I'm looking for thank you!

potatrix  Thursday, October 15, 2009 2:59 PM
Hi Potatrix,

It's my pleasure!

I'm so glad to hear that. Cheer!

Have a good weekend.

Best regards,
Yichun Chen
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
YiChun Chen  Friday, October 16, 2009 4:17 AM

You can use google to search for other answers

Custom Search

More Threads

• Visual Studio 2005 Team Suite doesn't start on Vista
• Help with x64 Install Setup Priject
• Error installing VS 2008 SP1 on Vista Ultimate
• cant install or run much at all
• Visual Basic 6.0 error
• Visual Studio 2008 SP1 Fails to Install
• SQL Express in Visual Studio 2005 Team Edition
• External DLL wrapper - MFC
• How to setup Keyboard handling of Alt keys
• Visual Studio 2008 hangs and displays a Delay Notification icon