Link to home
Start Free TrialLog in
Avatar of TongZ
TongZ

asked on

vc++ 2008 redistributable

I have a win32 console app that I compiled under 'Release' mode in visual studio VC++ 2008.

I followed the MS setup tutorial using the iexpress.exe and try to include the correct version of vcredist_x86.exe to my installation package.

On my machine there are the following versions for this:


 C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\vcredist_x86
07/18/2009  01:13 AM         1,843,544 vcredist_x86.exe
               1 File(s)      1,843,544 bytes

C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\vcredist_x86
02/20/2011  01:14 PM         4,995,416 vcredist_x86.exe
               1 File(s)      4,995,416 bytes

C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\vcredist_x86
07/12/2009  02:12 AM         2,705,744 vcredist_x86.exe
               1 File(s)      2,705,744 bytes

I tried the one in v7.0A, and upon install, it says something for 2010, so I take that it is for VS2010?
I then tried the one in v6.0A, and upon installation, it didn't say anything and run through install very fast (but my main C++ application exe is not installed...)

So, one question, which version of these correspond to VC++ 2008? Or could I go online to download from MS website? I thought using local copy of this redist where I did the development would stand most likely to work on client computers, right? Please help.
Avatar of Qlemo
Qlemo
Flag of Germany image

You certainly know the redist does not contain your application? It won't get installed that way ;-)
Avatar of TongZ
TongZ

ASKER

@Olemo:
Yes, I know that. My own application is already the first entry in the iexpress file inclusion list. This same install package actually installed on a window 7 machine, but it didn't install the application on a window 8 machine.

Anyway, i would like to know the differences among those different version of vcredist_x86.exe(s). Help?
The internal version numbers for VS are confusing. You can see an overview at http://www.mztools.com/articles/2011/MZ2011011.aspx, and that tells us VS2008 is 9.0, so none of those vcredist files fit.
Avatar of TongZ

ASKER

@Olemo:
So, do you think the Microsoft Visual C++ 2008 Redistributable Package (x86) at Microsoft Web site:

http://www.microsoft.com/en-us/download/details.aspx?id=5582

is the one?
ASKER CERTIFIED SOLUTION
Avatar of TongZ
TongZ

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TongZ

ASKER

This question is related to the installation package that I have been building, the process of including runtime libraries indeed involved quite a bit of trial-n-error (not intentionally of course). In the end, it is proven that Microsoft's online version of the VC++2008 SP1 redistributable should be used for VC++ 2008 programs. It would be logical to deduce that for VC++2010, one would get Microsoft online version of the VC++2010 SP1 redistributable.

@Olemo also provided supportive information that help steer me towards the online version, I felt he/she should obtain partial  points, but not sure how to do that or if that's possible. Nonetheless, the actual trial-n-error on multiple windows OS using multiple versions of the redist ultimately led to the definitive answer.