Solved

What's the best way to redistribute vcredist_x86.exe in my wix installer?

Posted on 2009-05-14
4
2,049 Views
Last Modified: 2013-12-03
I have a wix installer that installs a visual C application via MSI.   On a clean install of vista I get some side by side errors in the event log and my executable service won't start.   Installing vcredist_x86.exe solves this problem but leaves me with the question of how to properly redistribute the contents of vcredist_x86.exe.

Do I use merge modules?  Do I try and use a custom application to launch the file?  What's best practice for this?  I'd assume I'd find clear instructions some where since it must be a very common case but so far I'm still stumped.
0
Comment
Question by:Drachs
4 Comments
 

Expert Comment

by:UdiRaz
ID: 24429165
A simple solution I'm using is to always install following DLLs on the same folder of your exe:
Microsoft.VC80.CRT.manifest
Microsoft.VC80.MFC.manifest
msvcp71.dll
msvcp80.dll
msvcr71.dll
msvcr80.dll
0
 

Author Comment

by:Drachs
ID: 24454416
Is that what everybody is doing?  I was looking for a best practice, I'm surprised there is no guidance on this.
0
 
LVL 1

Accepted Solution

by:
bharath_r earned 500 total points
ID: 25571327
It is possible to install applications without having to install the redistributable. Check the link below for more information..
http://blog.kalmbach-software.de/2009/05/27/deployment-of-vc2008-apps-without-installing-anything/
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Line meaning 9 82
What the difference between blend and Visual Studio 3 80
Is there a simple front-end menu system. 9 72
Problem to open text file 11 75
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

863 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

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now