Old 17th January 2008, 16:05   #1
suranasaurabh
Junior Member
 
Join Date: Jul 2007
Posts: 1
.Net Framework 2.0

In NSIS How do I check if .Net 2.0 is installed on the machine?
I want to show user error if .Net is not installed at all.
If any earlier .Net framework is installed I want to show some error 1 saying "Please Install .Net 2.0".
If any newer versions are installed then I want to show some error 2 saying "Current product is supported on .Net 2.0 only. You have higher version of .Net Framework installed."

I have one script which checks the registery to see if .Net is installed. But it doen't see if any higher or lower versions are installed.

Can somebody help me out here?

-Saurabh
suranasaurabh is offline   Reply With Quote
Old 17th January 2008, 16:27   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
http://nsis.sourceforge.net/Get_.NET_Version

Stu
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump