Chat LIVE With Programming Experts! There Are 23 Online Right Now...

Welcome to Dream.In.Code
Become a C# Expert!

Join 244,181 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 1,367 people online right now. Registration is fast and FREE... Join Now!




Is dotnet installed?

 
Reply to this topicStart new topic

Is dotnet installed?

hannesbez
17 May, 2008 - 03:00 AM
Post #1

New D.I.C Head
*

Joined: 27 Apr, 2008
Posts: 3


My Contributions
When my C# program starts to run and dotnet is not installed, I get the message that mscoree.dll is not found, obviously because dotnet is not installed. Without resorting to an installation program, is there a way that my program can check if dotnet framework is installed and give a message to that effect? The latter will be on the distribution CD.

User is offlineProfile CardPM
+Quote Post


Jayman
RE: Is Dotnet Installed?
17 May, 2008 - 08:32 AM
Post #2

Student of Life
Group Icon

Joined: 26 Dec, 2005
Posts: 8,062



Thanked: 159 times
Dream Kudos: 500
Expert In: Everything

My Contributions
Are you using Setup and Deployment to create your release version?
User is offlineProfile CardPM
+Quote Post

hannesbez
RE: Is Dotnet Installed?
17 May, 2008 - 10:22 AM
Post #3

New D.I.C Head
*

Joined: 27 Apr, 2008
Posts: 3


My Contributions
Thkx for reply. Did not use Setup and Deploym, still getting around to learning how that works. Is that the only way to check that the Framework is installed?

User is offlineProfile CardPM
+Quote Post

eclipsed4utoo
RE: Is Dotnet Installed?
17 May, 2008 - 01:22 PM
Post #4

D.I.C Lover
Group Icon

Joined: 21 Mar, 2008
Posts: 1,165



Thanked: 117 times
Dream Kudos: 125
My Contributions
QUOTE(hannesbez @ 17 May, 2008 - 11:22 AM) *

Thkx for reply. Did not use Setup and Deploym, still getting around to learning how that works. Is that the only way to check that the Framework is installed?


using Setup and Deployment allows you to give the install "requirements". so if .Net is not installed, it will install it automatically.
User is offlineProfile CardPM
+Quote Post

Jayman
RE: Is Dotnet Installed?
17 May, 2008 - 02:59 PM
Post #5

Student of Life
Group Icon

Joined: 26 Dec, 2005
Posts: 8,062



Thanked: 159 times
Dream Kudos: 500
Expert In: Everything

My Contributions
QUOTE(hannesbez @ 17 May, 2008 - 11:22 AM) *

Thkx for reply. Did not use Setup and Deploym, still getting around to learning how that works. Is that the only way to check that the Framework is installed?

That is the most typical way to check for the .NET framework during install.

How are you deploying your applications?
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 7/4/09 06:00AM

Live C# Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

C# Tutorials

Reference Sheets

C# Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month