无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 3998|回复: 9
打印 上一主题 下一主题

如何在PE3.0(2.1)中加入.net framewor2.0k支持

[复制链接]
跳转到指定楼层
1#
发表于 2009-9-11 14:42:11 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
各位兄弟,如何在PE3.0(2.1)中加入.net framewor2.0k支持

pe3.0用的是270979789兄弟的76M

根据网上的各种方法测试后无法正常使用,请大家交流一下。

一、复制原版的NET2.0运行库(C:\WINDOWS\assembly和C:\WINDOWS\Microsoft.NET)到PE的WINDOWS文件夹里

然后再导入以下注册表:
Windows Registry Editor Version 5.00

;X是PE的盘符
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework]
"InstallRoot"="X:\\windows\\Microsoft.NET\\Framework\\"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\Upgrades]
"2.0.50727"="1.0.0-2.0.50727"   

二、NET 2.0 for PE的包
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework]
"InstallRoot"="X:\\WINPE\\Microsoft.NET\\Framework\\"
;注意:这里不能用类似%systemroot%等含环境变量的路径形式
;兼容.net 1.1 的程序
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\Policy\Upgrades]
"2.0.50727"="1.0.0-2.0.50727"
[HKEY_LOCAL_MACHINE\SYSTEM\Setup]
; The magic entry: Without it, VC2005 applications would cause error messages
"SystemSetupInProgress"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{E5CB7A31-7512-11D2-89CE-0080C792E5D8}\InProcServer32]
@="c:\\windows\\system32\\mscoree.dll"
"ThreadingModel"="Both"
;修复 error CS0007: Unexpected common language runtime initialization error -- '没有注册类别 '


另外,使用U盘时,是用grub4dos还是ntldr引导后调用bootmgr?
2#
 楼主| 发表于 2009-9-11 14:50:03 | 只看该作者
各位兄弟,有实力或诚意的联系我,现金报酬。
zh8123@126.com  QQ:99395158
回复

使用道具 举报

3#
发表于 2009-9-11 15:51:12 | 只看该作者
远景的PE区有添加.net的方法,LZ可以去找找···
回复

使用道具 举报

4#
 楼主| 发表于 2009-9-12 09:54:20 | 只看该作者
楼上的兄弟,我没有远景的帐户,要邀请的啊
回复

使用道具 举报

5#
发表于 2009-9-12 10:11:42 | 只看该作者
原帖由 zh8123 于 2009-9-12 09:54 发表
楼上的兄弟,我没有远景的帐户,要邀请的啊



版内"前所未有....."的看看.
回复

使用道具 举报

6#
 楼主| 发表于 2009-9-12 10:47:43 | 只看该作者
刚查到一个令人失望的消息
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=135916
pe3.0的一些限制无新意


以下PE3.0的限制和PE2.1一样,无新意Windows PE LimitationsWindows PE is a subset of Windows 7, and has the following limitations:

To reduce its size, Windows PE includes only a subset of the available Win32 APIs. I/O (disk and network) and core Win32 APIs are included.
To prevent its use as a pirated operating system, Windows PE automatically stops running the shell and reboots after 72 hours of continuous use. This time period is not configurable.
Windows PE cannot act as a file server or Terminal Server. (Remote Desktop is unsupported.)
Distributed File System (DFS) name resolution is supported for standalone roots only. Domain roots are not supported. Standalone DFS roots allow for a DFS root that exists only on the local computer, and thus does not use Active Directory.
The supported methods of connecting to file servers are TCP/IP and NetBIOS over TCP/IP. Other methods, such as the IPX/SPX network protocol, are not supported.
All changes that you make to the Windows PE registry while running Windows PE are lost the next time you restart the computer. To make permanent registry changes, you must edit the registry offline before starting Windows PE.
Drive letters are assigned in consecutive order as you create partitions in Windows PE. However, the driver letters are reset to the default order when you restart Windows PE.
Windows PE does not support the Microsoft .NET framework or the Common Language Runtime (CLR).
Windows PE does not include the Windows on Windows 32 (WOW32), Windows on Windows 64 (WOW64), Virtual DOS Machine (VDM), OS/2 or POSIX subsystems.
To install a 64-bit version of Windows you must use a 64-bit version of Windows PE. Likewise, to install a 32-bit version of Windows, you must use a 32-bit version of Windows PE.
Windows PE can be used to configure and to partition a computer's disks before starting Windows Setup. If any hard disks are converted to dynamic disks with Diskpart.exe before you start Windows Setup, then those hard disks are recognized as foreign when the operating system is installed, and any volumes on those hard disks will not be accessible.
Windows PE does not support applications packaged with Windows Installer (.msi).
Windows PE does not support 802.1x.


Windows PE 限制Windows PE 是 Windows Vista 的子集,它具有以下限制:

为减小大小,Windows PE 仅包括可用的 Win32 API 的一个子集。包括 I/O(磁盘与网络)和核心 Win32 API。
为防止将 Windows PE 作为盗版操作系统使用,在连续使用 72 小时后,Windows PE 将自动停止运行外壳程序并重新启动。无法对此时间段进行配置。
Windows PE 无法作为文件服务器或终端服务器使用。(不支持远程桌面。)
分布式文件系统 (DFS) 名称解析仅支持独立的根。不支持域根。
获得到文件服务器网络连接的已测试方法为 TCP/IP 和基于 TCP/IP 的 NetBIOS。不支持其他方法(例如 IPX/SPX 网络协议)。
在运行 Windows PE 时对 Windows PE 注册表进行的所有更改将在下次重新启动计算机时丢失。若要对注册表进行永久性更改,必须在启动 Windows PE 之前脱机编辑注册表。
在 Windows PE 中创建分区时,分配的驱动器号是连续的;但是,当重新启动 Windows PE 时,所分配的驱动器号就会恢复为默认顺序。
Windows PE 不支持 Microsoft.NET Framework 或公共语言运行时间 (CLR)。
Windows PE 不包括 Windows on Windows 32 (WOW32)、Windows on Windows 64 (WOW64)、虚拟 DOS 机 (VDM)、OS/2 或 POSIX 子系统。
若要安装 64 位版本的 Windows,必须使用 64 位版本的 Windows PE。同样,若要安装 32 位版本的 Windows,必须使用 32 位版本的 Windows PE。
在启动 Windows 安装程序之前,可以使用 Windows PE 对计算机磁盘进行配置和分区。如果在启动 Windows 安装程序之前,已使用 Diskpart.exe 将硬盘转换为动态磁盘,则在安装操作系统时会将这些硬盘识别作为外部磁盘,并且这些硬盘上的任何卷都将无法访问。
Windows PE 不支持使用 Windows Installer (.msi) 打包的应用程序。
Windows PE 不支持 802.1x。

[ 本帖最后由 zh8123 于 2009-9-12 10:49 编辑 ]
回复

使用道具 举报

7#
 楼主| 发表于 2009-9-12 10:50:18 | 只看该作者
那么能不能在 xp pe或2k3的pe里加入.net  Framework2.0支持呢?
回复

使用道具 举报

8#
发表于 2009-9-13 10:09:59 | 只看该作者
这个想法不错啊,支持。。。
回复

使用道具 举报

9#
发表于 2009-9-13 12:28:24 | 只看该作者
你试试飞信的那个.net framewor2.0虚拟机VMDotNet行不。。
回复

使用道具 举报

10#
 楼主| 发表于 2009-9-18 15:08:54 | 只看该作者
原帖由 liquanyi 于 2009-9-13 12:28 发表
你试试飞信的那个.net framewor2.0虚拟机VMDotNet行不。。


按照楼上的提示,把原来的在pe中加入.net的思路
换成将C#程序脱离.net运行
使用VMDotnet确实可以运行了。

不过,程序的运行速度和执行效率明显低了很多。。。。

有同样问题的吗
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2025-8-22 04:10

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表