Solved

vc++ 2008 redistributable

Posted on 2015-01-11
6
250 Views
Last Modified: 2015-01-16
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.
0
Comment
Question by:TongZ
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 70

Expert Comment

by:Qlemo
ID: 40543373
You certainly know the redist does not contain your application? It won't get installed that way ;-)
0
 

Author Comment

by:TongZ
ID: 40543431
@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?
0
 
LVL 70

Expert Comment

by:Qlemo
ID: 40543474
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.
0
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 

Author Comment

by:TongZ
ID: 40543492
@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?
0
 

Accepted Solution

by:
TongZ earned 0 total points
ID: 40543711
@Olemo:

After repeated trial and error, I finally got the installer to work. The VC++ runtime libraries are all in the Microsoft Visual C++ 2008 Redistributable Package (x86) at Microsoft Web site:

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

The installer includes this vcredist_x86.exe and install it first, then copy my console app into its target folder, then it worked.
0
 

Author Closing Comment

by:TongZ
ID: 40553089
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.
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Suggested Courses

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question