tag:blogger.com,1999:blog-24130791.post-1883998940832077432007-03-09T10:34:00.000-06:002007-03-09T11:09:24.862-06:00.NET: Microsoft .NET Framework 2.0 Configuration tool with only the .NET 2.0 RuntimeHave you ever tried to use the Microsoft .NET Framework 2.0 Configuration tool when you have only installed the .NET 2.0 Runtime?<br /><br />Well, Microsoft in their infinite wisdom took this tool out of the runtime.<br /><br />So if you need to modify the .NET 2.0 configuration on a box that only has the runtime, you are out of luck, unless you find a way around it. Keep in mind, this worked for me, and <span style="font-style: italic;">I will not be responsible if you use my methods, and cause an issue with your system</span>.<br /><br />I downloaded the <a style="font-weight: bold;" href="http://www.microsoft.com/downloads/details.aspx?familyid=fe6f2099-b7b4-4f47-a244-c96d69c35dec&displaylang=en">.NET 2.0 SDK</a> (which includes the config tool), and installed it on my machine.<br /><br />I exported the following registry keys to a single .reg file, and made some changes to them.<br /><span style="font-size:85%;"><span style="font-family: courier new;">HKCR\CLSID\{A22B5BA1-D8CF-4db6-BC91-CFC1A04E2469}</span><br /><span style="font-family: courier new;">HKCR\CLSID\{D8FE614D-4851-4a72-998D-D1F2E750A050}</span><br /><span style="font-family: courier new;">HKLM\SOFTWARE\Microsoft\MMC\SnapIns\{A22B5BA1-D8CF-4db6-BC91-CFC1A04E2469}</span><br /></span><br />I updated the paths from "<span style="font-size:85%;"><span style="font-family: courier new;">C:\Program Files\Microsoft.NET\SDK\v2.0\Bin</span></span>" to point to "<span style="font-size:85%;"><span style="font-family: courier new;">C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727</span></span>" instead.<br /><br />I then copied the following files from my <span style="font-size:85%;"><span style="font-family: courier new;">C:\Program Files\Microsoft.NET\SDK\v2.0\Bin</span></span> folder to a Windows 2003 box with only the .NET 2.0 Runtime installed on it.<br /><span style="font-family: courier new;font-size:85%;" >gacutil.exe<br />mscorcfg.dll<br />mscorcfg.msc<br />mscormmc.dll<br />mscormmc11.cfg</span><br />The destination directory on the 2003 box was "<span style="font-size:85%;"><span style="font-family: courier new;">C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727</span></span>"<br /><br />I then imported the modified reg to my Windows 2003 box.<br /><br />And then imported the mscorcfg.dll into the Global Assembly Cache, using this command:<br /><span style="font-size:85%;"><span style="font-family: courier new;">"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\gacutil.exe" /i "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorcfg.dll"</span></span><br /><br />I also copied the .NET Framework 2.0 Configuration shortcut from my "Administrative Tools" to the "Administrative Tools" on the 2003 box, and updated the paths.<br /><br />What do you know, I've now got the .NET Framework 2.0 Configuration tool on my 2003 box without having to install the entire .NET 2.0 SDK.<br /><br />Not sure why Microsoft didn't include this in the redistributable, as it is necessary if you want to make .NET 2.0 config changes.Jase McCartyhttp://www.blogger.com/profile/13978740185976006598noreply@blogger.com