RE: Problem with VS 2008 Setup project



Hi Alan,

As for the vs 2008 setup project always prompt for .NET 3.5 issue, based on
my experience, the following things could be the cause:

1. by default, the "Prerequisites" will include ".NET framework 3.5",
you've modified it as you mentioned

2. When you add file content into the setup project(e.g through another
..net project's output), the setup project will add a "Launch Condition" in
the "Detected Dependencies"(that launch condition also checks for .NET
framework 3.5). Therefore, you need to remove this launch condition(or
change its checking version to .net framework 2.0)

You can go to the Launch Condition view through the following means:

right click setup project node in solution explorer-->view ---> Launch
conditions

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: "Alan Lambert" <AlanLambert@xxxxxxxxxxxxx>
Subject: Problem with VS 2008 Setup project
Date: Tue, 12 Feb 2008 10:16:28 -0000


I've created a new Windows Forms Project in Visual Studio 2008 targeting
the
2.0 framework (this is going to be running on Windows 2000 machines).

I've added a setup project to the solution and under project properties |
prerequisites I've ensured that only Windows Installer 3.1 and .Net
framework 2.0 are ticked.

However, when a user tries to run the msi they are given the message "This
setup requires the .Net framework version 3.5. Please install the .Net
Framework and run this setup again."

Any ideas what I'm doing wrong or how to fix this?

Thanks in advance for any help,

Alan




.



Relevant Pages

  • Re: Problem with VS 2008 Setup project
    ... change its checking version to .net framework 2.0) ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ... Problem with VS 2008 Setup project ...
    (microsoft.public.vsnet.general)
  • RE: Setup package Primary output
    ... is the setup project a standard setup or websetup or is ... Microsoft MSDN Online Support Lead ... Both my Debug and Release config use the bin folder for out put... ...
    (microsoft.public.vsnet.setup)
  • Re: Program Failing to Run
    ... and you needn't install .net 1.1 in this case. ... using the same setup file. ... Create a Setup project in the solution which contains your project. ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.framework)
  • RE: .NET versions conflict in setup projects
    ... I think the corresponding setup project is created by Visual Studio 2003. ... Then in the upcoming Properties window, ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vsnet.general)
  • RE: Question about TARGETSITE property of web setup
    ... As for the Visual Studio setup project, so far its default interface only ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ... project analysis and dump analysis issues. ...
    (microsoft.public.dotnet.framework.aspnet)

Loading