hagitsh
asked on
setup project for windows application - .net framework 2
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
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
ASKER
I am not allowed to include the .net framework in may installation,
And also I need to avoid referring to the internet.
And also I need to avoid referring to the internet.
ok, just go to the Project Properties, and remove (uncheck) the .net framework as a pre-requisite.
ASKER
it is already unchecked.
i don't understand because it is a pre-requisite any way
i don't understand because it is a pre-requisite any way
In the prerequisites window also uncheck: Create install program for prerequisites components
ASKER
I tried it now, but the same message appears
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Project -> Properties -> Prerequisites....