By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,369 Members | 1,616 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,369 IT Pros & Developers. It's quick & easy.

Detect version of .Net (not in a Setup project)

P: n/a
To detect if .net framework is installed or not on client's computer,
and if yes, what is its version, I found an article:
http://support.microsoft.com/default...5BLN%5D;315291

But it can be done in a Setup and Deployment project, my program doesn't
needs setup and deployment, it runs just on CD-ROM and for simplicity I
don't want to add Setup, Shortcuts, etc.

I want after inserting CD-ROM that contains my program, appear a welcome
screen with a button.
If .net framework 2 is not installed, the button label should be:
"Install .net framework 2" and links to dotnetfx.exe on the CD-ROM
If .net framework 2 is installed, the button label should be:
"Run Application" , or simply Application starts automatically.

I can create such welcome page using VB.Net, but I think this welcome page
also needs .net framework to run. :~D

I have to use another programming language to do so (Delphi, VC,...) or
there
is a simpler way?
--
Saber S.
http://maghalat.com
Feb 1 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Saber" <saber[.AT.]oxin.ir> schrieb:
To detect if .net framework is installed or not on client's computer,
and if yes, what is its version, I found an article:
http://support.microsoft.com/default...5BLN%5D;315291
[...]
I can create such welcome page using VB.Net, but I think this welcome page
also needs .net framework to run. :~D

I have to use another programming language to do so (Delphi, VC,...) or
there
is a simpler way?


<URL:http://www.codeproject.com/dotnet/DetectDotNet.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Feb 1 '06 #2

P: n/a
Many Thanks,
Exactly it is what I was looking for :)

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:un**************@TK2MSFTNGP14.phx.gbl...
"Saber" <saber[.AT.]oxin.ir> schrieb:
To detect if .net framework is installed or not on client's computer,
and if yes, what is its version, I found an article:
http://support.microsoft.com/default...5BLN%5D;315291
[...]
I can create such welcome page using VB.Net, but I think this welcome
page
also needs .net framework to run. :~D

I have to use another programming language to do so (Delphi, VC,...) or
there
is a simpler way?


<URL:http://www.codeproject.com/dotnet/DetectDotNet.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Feb 1 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.