Solved

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

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
no14 challenge 14 66
Sed question 2 83
Need more details 5 148
How to LOAD up a .NET Framework website with data? 2 54
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…

813 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

14 Experts available now in Live!

Get 1:1 Help Now