Solved

setup project for windows application - .net framework 2

Posted on 2007-12-06
9
976 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
  • 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
 

Author Comment

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

0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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 250 total points
ID: 20419513
C++ application should be unmanaged.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Achieve json result 2 65
asp.net mvc input file 2 32
Advice on Xojo as a development tool over VB. 4 36
C#.NET and microsoft certification. 3 31
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

910 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

16 Experts available now in Live!

Get 1:1 Help Now