Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

setup project for windows application - .net framework 2

Posted on 2007-12-06
9
Medium Priority
?
984 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
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Suggested Courses

972 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