Re: path to aspnet_regiis



Hi Dave,

The GetCORSystemDirectory function is not a managed function, it's in
mscoree.dll; you could call it from C++ code.

There's no registry key to tell you which path is .NET 2.0 framework
installed to, but you can use following registry key to detect if .NET 2.0
framework is installed:

=========

#.NET Framework 2.0 Redistributable Package Reference (.NET Framework
Deployment)
http://msdn.microsoft.com/library/en-us/dnnetdep/html/ndp2_refer.asp?frame=t
rue
Detecting Installed .NET Framework 2.0
The Setup.exe bootstrapper should use the following registry key to detect
the .NET Framework version 2.0.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727
It then verifies the existence of the entry value:

Install (DWORD value = 1)

==========


Actually you could just hardcode the path to
%windir%\Microsoft.NET\Framework\V2.0.50727; it's pretty safe, even for
current 3.0 version:

#Deploying Microsoft .NET Framework Version 3.0 ("Longhorn" Technical
Articles)
http://msdn.microsoft.com/library/en-us/dnlong/html/netfx30.asp?frame=true


Regards,
Walter Wang (wawang@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • Re: userName="machine" didnt work
    ... to unregister my 1.1 framework do you? ... ASP.NET and .Net Framework versions installed? ... Neither of them have a user specified in their processModel. ... Did you install ASP.NET from SBS disks? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: building my .exe can it run anywhere?
    ... Then there are those who have a very fast ADSL connection ... I agree that it is probably safe to target framework 2.0 these days. ... At the end of the day, the question is: What is the .Net Framework ... if it is not installed download and install this from the MS website ...
    (microsoft.public.dotnet.languages.vb)
  • Re: building my .exe can it run anywhere?
    ... a 20 mbit connection and have constantly 3 computers running ... europe we investigated at that time the penetration of the .Net framework ... if it is not installed download and install this from the MS website ...
    (microsoft.public.dotnet.languages.vb)
  • Re: 76 updates that I cant install - SOLVED!
    ... I have .NET Framework 3 presumably because Windows Update identified it ... Microsoft.NET Framework version 1.1 SP1. ... doesn't install. ... all is well with my Windows Update. ...
    (microsoft.public.windowsupdate)
  • Re: Fatal execution error FIXED
    ... Service pack 1.1 update after download. ... the Microsoft framework 1.1 redistributable package, ... get it to install even after running the Netframework cleanup tool. ... reinstalled that the Net Framework files were on the HP disc and were ...
    (microsoft.public.windowsxp.general)