?
Solved

VS2005 Setup and Deployment Project

Posted on 2011-03-22
1
Medium Priority
?
545 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
[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
1 Comment
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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…

762 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