| View previous topic :: View next topic |
| Author |
Message |
HelpAHK Guest
|
Posted: Sun May 18, 2008 7:09 pm Post subject: Can AHK detect if MS .NET is installed? |
|
|
Can AHK from the script level tell me if Microsoft .NET framework is installed? @ which version it is please? Have a very nice day. |
|
| Back to top |
|
 |
Oberon
Joined: 18 Feb 2008 Posts: 458
|
Posted: Sun May 18, 2008 7:28 pm Post subject: |
|
|
| You can check the registry under HKLM\SOFTWARE\Microsoft\.NETFramework |
|
| Back to top |
|
 |
interiot
Joined: 06 Nov 2005 Posts: 64
|
Posted: Sun May 18, 2008 7:29 pm Post subject: |
|
|
| You can check for specific versions by checking for the existence of a folder underneath %windir%\Microsoft.NET\Framework\. |
|
| Back to top |
|
 |
HelpAHK Guest
|
Posted: Sun May 18, 2008 8:41 pm Post subject: |
|
|
| 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'  |
|
| Back to top |
|
 |
sinkfaze
Joined: 19 Mar 2008 Posts: 140
|
Posted: Mon May 19, 2008 5:36 am Post subject: |
|
|
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 |
|
 |
|