Trouble with VS2005 Deployment Project not installing Prerequisites

Posted on 2011-10-26
Last Modified: 2012-08-14
I have simplified things a bit to help understand the problem..  My 32bit target machine does not have .NET Framework 2.0.  I have a project on my developement machine including a solution with both a Windows Application and a Setup Project. I have chosen one prerequisite: .NET Framework 2.0.  After building the application and moving the .msi to the target machine, I'm confronted with the following message when I try to run the install..  "This setup requires the .NET Framework version 2.0.50727". Please install it and run the setup again etc..  I'm aware its not there which is why it's included as a prerequites installation.  Any thoughts on what needs changed?  If I run the NetFx20SP2_x86.exe thats included it installs fine.
Question by:tegronakron
    1 Comment
    LVL 83

    Accepted Solution

    >After building the application and moving the .msi to the target machine

    Setup project generates a setup.exe file which is actually the bootstraper tasked with checking and installing the prerequisites. Do you copy and run this file?

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
    This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    746 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

    15 Experts available now in Live!

    Get 1:1 Help Now