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

S

Saber

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.aspx?scid=kb;[LN];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?
 
H

Herfried K. Wagner [MVP]

S

Saber

Many Thanks,
Exactly it is what I was looking for :)

Herfried K. Wagner said:
Saber said:
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.aspx?scid=kb;[LN];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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top