Solved

setup project for windows application - .net framework 2

Posted on 2007-12-06
9
975 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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
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 tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

744 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

13 Experts available now in Live!

Get 1:1 Help Now