AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can AHK detect if MS .NET is installed?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
HelpAHK
Guest





PostPosted: Sun May 18, 2008 7:09 pm    Post subject: Can AHK detect if MS .NET is installed? Reply with quote

Can AHK from the script level tell me if Microsoft .NET framework is installed? @ which version it is please? Smile Have a very nice day.
Back to top
Oberon



Joined: 18 Feb 2008
Posts: 458

PostPosted: Sun May 18, 2008 7:28 pm    Post subject: Reply with quote

You can check the registry under HKLM\SOFTWARE\Microsoft\.NETFramework
Back to top
View user's profile Send private message
interiot



Joined: 06 Nov 2005
Posts: 64

PostPosted: Sun May 18, 2008 7:29 pm    Post subject: Reply with quote

You can check for specific versions by checking for the existence of a folder underneath %windir%\Microsoft.NET\Framework\.
Back to top
View user's profile Send private message
HelpAHK
Guest





PostPosted: Sun May 18, 2008 8:41 pm    Post subject: Reply with quote

Oberon wrote:
You can check the registry under HKLM\SOFTWARE\Microsoft\.NETFramework


thank you both... I am most intrigued by this above method to get right down to the version #. but, how would i correctly script something to return the version folder i see at this point? inside the registry under that tree, I find a v1.0.40131 folder instance, but also another folder named 'policy' Shocked
Back to top
sinkfaze



Joined: 19 Mar 2008
Posts: 140

PostPosted: Mon May 19, 2008 5:36 am    Post subject: Reply with quote

Did you try using RegRead to get the names of the subfolders in .NETFramework? If that works the rest should be easy I would think.
_________________
Have trouble searching the site for information? Try Quick Search for Autohotkey.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group