Re: Problem with VS 2008 Setup project



Steven,

That solved the problem perfectly.

Many thanks,

Alan

"Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:o5CW6xebIHA.5204@xxxxxxxxxxxxxxxxxxxxxxxxx
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: .NET versions conflict in setup projects
    ... I think the corresponding setup project is created by Visual Studio 2003. ... I suggest you can add the .NET Framework 2.0's version number to its ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vsnet.general)
  • =?Windows-1252?Q?Re:_=28Microsoft_.NET_Framework_3.5_=96_Beta_1=29_to_=28?= =?Windows-1252?Q
    ... True, just a small warning though, installing Orcas (V3.5 of the Framework)installs SP1 for the V2 of the framework, that means that your V2 Framework has an updated version of the CLR and compilers and some tools. ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.languages.csharp)
  • 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: (Microsoft .NET Framework 3.5 – Beta 1) to (Visual Studio Code Name "Orcas" Beta 1)
    ... framework, that means that your V2 Framework has an updated version of the ... where it's impossible to uninstall V2 of .NET..... ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.languages.csharp)
  • 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)