Solved

VS2005 Setup and Deployment Project

Posted on 2011-03-22
1
522 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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This is an explanation of a simple data model to help parse a JSON feed
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
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 …

771 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

11 Experts available now in Live!

Get 1:1 Help Now