Solved

VS2005 Setup and Deployment Project

Posted on 2011-03-22
1
526 Views
Last Modified: 2012-05-11
I have a VS2005 solution that contains a setup & deployment project....as part of my setup & deploy project, I have the VC++ redistributable package selected as a pre-requisite. The install wizard works fine, but the only annoyance I have is, every time I run the setup wizard, the VC++ redistributable is also installed.  

Is there a custom action or launch condition that I can set in my project to check and see if the VC++ redistributable is already installed on the machine, if so skip it?

Thanks
0
Comment
Question by:arunykand
1 Comment
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 500 total points
ID: 35190063
That's exactly how prerequisite should work by definition - only install if it's not yet installed.

1. try it on a clean machine (such as clean virtual machine that can be easily reset to pristine state).
if the same, then
2. create new trivial project with the same prerequisite, and see if it behaves the same.
if the same, then
3. try to find the log of the installation and figure out why it thinks that it's not installed, when it is.  

If clean machine or sample installation does not exhibit the problem, then review how the prerequisite is specified in the real package, there must be something wrong.
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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

914 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

21 Experts available now in Live!

Get 1:1 Help Now