Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

setup project for windows application - .net framework 2

Posted on 2007-12-06
9
Medium Priority
?
983 Views
Last Modified: 2013-11-26
Hello,
I created a setup project for a windows form application in visual studio.net 2005.
When installing the application on a computer which doesn't have the .net framework 2, a message box appears in which there is a suggestion to download the framework from the Microsoft web site by pressing a button.

How do I avoid this option? I want only to display a message that tells the user to install the .net framework without referring him to the web site.

Thanks
 
0
Comment
Question by:hagitsh
[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
  • 5
  • 3
9 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 20419009
you can include the .net framework in your  installation disk if you want.
Project -> Properties -> Prerequisites....
0
 

Author Comment

by:hagitsh
ID: 20419108
I am not allowed to  include the .net framework  in may installation,
And also I need to avoid referring to the internet.
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 20419152
ok, just go to the Project Properties, and remove (uncheck) the .net framework as a pre-requisite.
0
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 

Author Comment

by:hagitsh
ID: 20419208
it is already unchecked.
i don't understand because it is a pre-requisite any way

0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 20419245
In the prerequisites window also uncheck: Create install program for prerequisites components
0
 

Author Comment

by:hagitsh
ID: 20419281
I tried it now, but the same message appears
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 20419508
you can avoid to install the .net framework, with the options described. But you cannot avoid to the Warning Message to appear. If framework is not installed and you try to run a .net application, it always will show you a warning. It won't silently terminate. If you want to avoid this, you have to create a C++ application that checks if .net is installed first, if not it terminates, if yes it launch the .net application.
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 750 total points
ID: 20419513
C++ application should be unmanaged.
0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

722 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