• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 369
  • Last Modified:

winform when no framework

i have a winform app.
When trying to run the exe file at a computer with no framework installed at all,  windows error
message apear.
I would like that my winform app will send another message indicating to the user that he has to install the framework.
Is it possible?
0
yaron89
Asked:
yaron89
  • 2
  • 2
2 Solutions
 
AndyAinscowFreelance programmer / ConsultantCommented:
Not so easily.
You could start a non .NET based app (which will run without .net being installed) and have that check if the required .NET is already installed.  If it isn't give your error message.  If it is then it starts your real app and exits.
0
 
AndyAinscowFreelance programmer / ConsultantCommented:
You could also have it as a prerequisite for your installer - so your app isn't installed if .NET isn't available.
0
 
Fernando SotoRetiredCommented:
This is not possible because if no framwork is install the program does not execute and therefore can't display a message. The message that is displayed is from the operating system.

Fernando
0
 
yaron89Author Commented:
Since the installation is from the internet is it possible to check in the server if the conncted computer has the Framwork ?
0
 
yaron89Author Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now