Avast WEBforum

Other => General Topics => Topic started by: Charyb-0 on June 18, 2012, 01:51:05 AM

Title: Microsoft Visual C++ Clean up?
Post by: Charyb-0 on June 18, 2012, 01:51:05 AM
I know that there was talk of Microsoft Visual C++ and the number of instances in previous discussions.

Has anyone figured out how to know which version is used by which program?

I would like to trim the fat here but don't want to do this by trial and error.

The attached image is what is found in my programs and features.
Title: Re: Microsoft Visual C++ Clean up?
Post by: bob3160 on June 18, 2012, 02:34:32 AM
This is all I have:
(http://my.jetscreenshot.com/2701/m_20120618-2hee-9kb.jpg) (http://my.jetscreenshot.com/2701/20120618-2hee-9kb)


Remember, I'm running windows 8. :) (Not that that should make any difference except I'm not carrying any old baggage.)


Strange that you have a later version than I since I just installed the latest version of Windows 8 ???
Title: Re: Microsoft Visual C++ Clean up?
Post by: Charyb-0 on June 18, 2012, 02:41:07 AM
So, do you think both of those are used by avast? If so, this takes care of two.  ;D
No 64bit version on yours??

I'm also wondering if the version of c++ that is installed with a particular program is uninstalled when the program is uninstalled?

Thanks

Title: Re: Microsoft Visual C++ Clean up?
Post by: true indian on June 18, 2012, 07:05:31 AM
here is what is on mine ;)
Title: Re: Microsoft Visual C++ Clean up?
Post by: Asyn on June 18, 2012, 07:35:54 AM
I'm also wondering if the version of c++ that is installed with a particular program is uninstalled when the program is uninstalled?

Usually not.
Title: Re: Microsoft Visual C++ Clean up?
Post by: CraigB on June 18, 2012, 08:00:18 AM
Outpost 7.5.3 installs the c++2010 x64 on your 64 bit system, not sure what program you have that may need the x86 version though ??? best to leave well enough alone if your not sure :)
Title: Re: Microsoft Visual C++ Clean up?
Post by: DavidR on June 18, 2012, 12:19:36 PM
The problem with C++ versions it doesn't tell you what program uses it and programs aren't usually too forthcoming about their dependencies. The last thing you want to do is have to trawl through the windows services looking for C++ version dependencies.

The only way you are likely to find out about it, is if you uninstall the oldest C++ 2005 and one of your programs falls over; even then the error message us unlikely to be clear that it is a C++ dependency that is the problem. For example the 'Side-By-Side Configuration is Incorrect' Error in avast, which we now know related to no C++ 2008 installed or broken.

So with miscellaneous error messages like this it would be pard to pin down that this was a C++ error or what version it related to.

C++ is a damn minefield only bettered in the pain in the rear state by .net framework.
Title: Re: Microsoft Visual C++ Clean up?
Post by: Asyn on June 18, 2012, 12:23:58 PM
C++ is a damn minefield only bettered in the pain in the rear state by .net framework.

100% agree with this statement..!!!
Title: Re: Microsoft Visual C++ Clean up?
Post by: Charyb-0 on June 19, 2012, 01:19:16 AM
I don't understand why it has to be so sloppy. Thanks for the input everyone. Like I said, I'm not going the trial and error route.
I don't want to create extra work when things are going good.

If I ever discover the solution to which is which I will definitely post it.
Title: Re: Microsoft Visual C++ Clean up?
Post by: keloo05 on June 19, 2012, 02:40:22 AM
- If you have 2005, 2008 and 2010 installed, it means that all of them are needed.

- Every new version of a branch is cumulative, so you can remove everything except the latest version.

- In your case, I can see that you're runing a 64-bit Windows, so both 32-bit and 64-bit versions of each VC++ need to be installed.

- So, 2005 and 2010 are fine. For 2008, remove everything except x86 9.0.30729.6161 and x64 9.0.30729.6161.
Title: Re: Microsoft Visual C++ Clean up?
Post by: DavidR on June 19, 2012, 08:56:56 AM
Thanks for the branch cumulative comment on each version if you have more than one version (excluding x86/x64 versions).
Title: Re: Microsoft Visual C++ Clean up?
Post by: Charyb-0 on June 19, 2012, 03:47:38 PM
Thanks for the info keloo05.

I went ahead and removed what you mentioned and haven't had any problems.

I am still searching for a way to know which program uses which version of c++.

If you know how, please let me know.
Title: Re: Microsoft Visual C++ Clean up?
Post by: DJBone on June 19, 2012, 09:48:07 PM
Maybe you could look for same installation dates...?

DJBone
Title: Re: Microsoft Visual C++ Clean up?
Post by: Charyb-0 on June 19, 2012, 10:00:19 PM
Probably, if it was a fresh install.

What if the following occurs?
1. windows update.
2. if a new software installation uses a version of c++ that was installed previously.
3. a re-installation of the software that is dependent upon c++.
Title: Re: Microsoft Visual C++ Clean up?
Post by: DJBone on June 19, 2012, 10:32:45 PM
That's bad and unlucky.  :(

DJBone
Title: Re: Microsoft Visual C++ Clean up?
Post by: keloo05 on June 20, 2012, 12:03:33 AM
Thanks for the branch cumulative comment on each version if you have more than one version (excluding x86/x64 versions).

You're welcome.

Thanks for the info keloo05.

I went ahead and removed what you mentioned and haven't had any problems.

I am still searching for a way to know which program uses which version of c++.

If you know how, please let me know.

I could tell if I would see a list of all you installed programs, but believe me it doesn't worth the trouble, because in every 90-99% cases you would have to install all 3 branches of VC++ runtimes.

Probably, if it was a fresh install.

What if the following occurs?
1. windows update.
2. if a new software installation uses a version of c++ that was installed previously.
3. a re-installation of the software that is dependent upon c++.

2 & 3. if the VC++ version that is packed with the program you are installing is the same version as the one you are having it will skip installing or overwrite, but if it's a lower or higher version, it will be installed.