Solved

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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…

760 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

19 Experts available now in Live!

Get 1:1 Help Now