Click here to Skip to main content
15,887,434 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a machine where I do not have administrative rights (including local) and I want to run an application to be developed in c#.
The OS is Windows 7.

I would like to check if the application would run on it, that means if the .NET environment is installed.

I can not see any directories that could give me a clue.

Any help will be welcome.

Thank you in advance.

David


PS: I would like to find something easier than developing and running the application and see what happens.
Posted
Comments
Mike Meinz 18-Nov-13 9:20am    
This System Registry key lists the Frameworks that have been installed:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP

The Frameworks are stored in C:\Windows\Microsoft.NET.

See MSDN: How to: Determine Which .NET Framework Versions Are Installed
NeueStudium2012 18-Nov-13 9:26am    
Thank you, with without local rights I cannot see the register.
Mehdi Gholam 18-Nov-13 9:22am    
You can't write a .net application to check if .net is installed.

You will have to write it in something other than .net
NeueStudium2012 18-Nov-13 9:26am    
Thank you, but I could try, and if it does not work, means that I do not have .net installed.

you can check it in My Computer -> Program And Feature. search for "Microsoft .Net Framework 3.5".
And to develop an application and installation you need rights by admin.
 
Share this answer
 
I have found it in another forum:
in cmd:

dir /b /ad /o-n %systemroot%\Microsoft.NET\Framework\v?.*
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900