Solved

vc++ 2008 redistributable

Posted on 2015-01-11
6
239 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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
crm 2010 on premise 5 116
Having a different time zone on your task bar 3 81
Windows ICD FFU Issue 4 105
Excel Web Add-in Where is Visual Basic used 9 76
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
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…

732 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