Solved

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

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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…

718 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