Solved

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

Posted on 2009-05-14
4
2,085 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
noX challenge 17 129
String manipulation in Visual Basic 7 73
how to split multiple lines delimiter : 8 109
Not needed 13 119
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
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…

860 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