无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
楼主: photoshoop
打印 上一主题 下一主题

小巧的组件化Win7 PE,该有的基本都有

[复制链接]
1#
发表于 2012-4-22 17:14:14 | 显示全部楼层
在我的机器上比较成功,成功驱动了三卡(无线网卡是用的自已的,其它两卡用的是自带的)。

感觉应该将三卡需要的文件内置地好(反正整体都不大,没必要重复解压一次),这样就只需安驱动了(驱动单独放在一个文件夹下,方便更换),不用再一个一个地点击。

[ 本帖最后由 2011mking 于 2012-4-22 17:17 编辑 ]
回复

使用道具 举报

2#
发表于 2012-4-23 00:00:48 | 显示全部楼层
已测试把op.7z加载驱动所需DLL和驱动文件放到了Boot.wim中,内核大小为94M,完合可以接受。
但是 NET_PART.7z 中的INF文件夹不能直接放入(还是用了在进入桌面后自解压方案),如放入会在执行pecmd.ini后进桌面时死在此处,不知是何原因。

另外,桌面右键有个Display,点击后提示找不到文件。

加载imdisk失败因为测试不多没遇到,不过,由pemd加载并创建Ram盘 RAMD ImDisk,L192,FAT32,Y:,ImDIsk
完合可以用cmd创建试试,感觉直接创建应该更稳定一些。
imdisk -a -s 192M -m Y: -p "/fs:fat32  /y /q"

系统运行常规软件还是缺了部份DLL(比如QQ2008),这要慢慢加了。感觉再补全点常用DLL更好一点,控制内核在200M下就可以了。

总体来说,这是我见过的最小内核加载三卡的win7PE,确实不错。

[ 本帖最后由 2011mking 于 2012-4-23 00:07 编辑 ]
回复

使用道具 举报

3#
发表于 2012-4-23 13:27:12 | 显示全部楼层
嘿嘿,自已DIY外置吧,很简单的,将OP下*.7z解压到Boot.wim中(NET_PART.7z 中的INF文件夹不要解压,其它解开放到对应目录,INF文件夹单独做成NETINF.7z,放到Program Files下,下面红字部份处解压处理)

改PEcmd.ini为:
-----------------------------------------------------------------------------

TEAM ENVI W=%WinDir%|ENVI WS=%W%\SYSTEM32|ENVI WSD=%WS%\Drivers

INIT IU,3000

EXEC @PECMD.EXE CALL $SHELL32.DLL,DllInstall,#1,U

EXEC !=%WS%\winpeshl.exe

`在独立进程打开Explorer
REGI HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\SeparateProcess=#1

FILE %desktop%\desktop.ini
FILE %public%\desktop\desktop.ini

//RECY *:\,10

//-------------------附加到开始菜单--------------------
ENVI LNK=X:\Program Files\LNK
LINK %startmenu%\命令提示符,%WS%\CMD.EXE
LINK %startmenu%\记事本,%WS%\notepad.exe
PINT %startmenu%\命令提示符.LNK
PINT %startmenu%\记事本.LNK
PINT x:\windows\regedit.exe,附到「开始」菜单(&U)

//LOAD \boot\op.ini  //我没用这个Y盘了。

EXEC !=7z.exe x "%ProgramFiles%\NETINF.7z" -aos -o"%windir%"
File "%ProgramFiles%\NETINF.7z"

EXEC =!netcfg.exe -v -winpe
EXEC =!netcfg.exe -e -c p -i MS_NDISWAN
EXEC =!netcfg.exe -e -c p -i MS_NDISUIO
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinPE" /t REG_DWORD /v SkipWaitForNetwork /d 1 /f

//Load %CurDir%\dll_lst.ini
//NET_PART
Exec REGSVR32 /s %windir%\System32\BFE.DLL
Exec REGSVR32 /s %windir%\System32\dhcpcmonitor.dll
Exec REGSVR32 /s %windir%\System32\dhcpcore.dll
Exec REGSVR32 /s %windir%\System32\dhcpcore6.dll
Exec REGSVR32 /s %windir%\System32\dhcpcsvc.dll
Exec REGSVR32 /s %windir%\System32\dhcpcsvc6.dll
Exec REGSVR32 /s %windir%\System32\DHCPQEC.DLL
Exec REGSVR32 /s %windir%\System32\dhcpsapi.dll
Exec REGSVR32 /s %windir%\System32\dnsrslvr.dll
Exec REGSVR32 /s %windir%\System32\eappcfg.dll
Exec REGSVR32 /s %windir%\System32\eappprxy.dll
Exec REGSVR32 /s %windir%\System32\eapsvc.dll
Exec REGSVR32 /s %windir%\System32\efslsaext.dll
Exec REGSVR32 /s %windir%\System32\framedynos.dll
Exec REGSVR32 /s %windir%\System32\FWPUCLNT.DLL
Exec REGSVR32 /s %windir%\System32\httpapi.dll
Exec REGSVR32 /s %windir%\System32\ipsecsnp.dll
Exec REGSVR32 /s %windir%\System32\mprapi.dll
Exec REGSVR32 /s %windir%\System32\mprmsg.dll
Exec REGSVR32 /s %windir%\System32\msi.dll
Exec REGSVR32 /s %windir%\System32\msoert2.dll
Exec REGSVR32 /s %windir%\System32\msutb.dll
Exec REGSVR32 /s %windir%\System32\msvfw32.dll
Exec REGSVR32 /s %windir%\System32\mswsock.dll
Exec REGSVR32 /s %windir%\System32\ncsi.dll
Exec REGSVR32 /s %windir%\System32\ndfapi.dll
Exec REGSVR32 /s %windir%\System32\netbios.dll
Exec REGSVR32 /s %windir%\System32\netcfgx.dll
Exec REGSVR32 /s %windir%\System32\netid.dll
Exec REGSVR32 /s %windir%\System32\netiohlp.dll
Exec REGSVR32 /s %windir%\System32\netman.dll
Exec REGSVR32 /s %windir%\System32\netshell.dll
Exec REGSVR32 /s %windir%\System32\networkexplorer.dll
Exec REGSVR32 /s %windir%\System32\networkitemfactory.dll
Exec REGSVR32 /s %windir%\System32\nlaapi.dll
Exec REGSVR32 /s %windir%\System32\nshwfp.dll
Exec REGSVR32 /s %windir%\System32\ntshrui.dll
Exec REGSVR32 /s %windir%\System32\sstpsvc.dll
Exec REGSVR32 /s %windir%\System32\stobject.dll
Exec REGSVR32 /s %windir%\System32\tapi.dll
Exec REGSVR32 /s %windir%\System32\tapi32.dll
Exec REGSVR32 /s %windir%\System32\tapiperf.dll
Exec REGSVR32 /s %windir%\System32\tapisrv.dll
Exec REGSVR32 /s %windir%\System32\tapiui.dll
Exec REGSVR32 /s %windir%\System32\tbs.dll
Exec REGSVR32 /s %windir%\System32\tbssvc.dll
Exec REGSVR32 /s %windir%\System32\tcpmib.dll
Exec REGSVR32 /s %windir%\System32\vpnike.dll
Exec REGSVR32 /s %windir%\System32\wbemcomn.dll
Exec REGSVR32 /s %windir%\System32\webio.dll
Exec REGSVR32 /s %windir%\System32\winhttp.dll
Exec REGSVR32 /s %windir%\System32\winipsec.dll
Exec REGSVR32 /s %windir%\System32\wkssvc.dll
Exec REGSVR32 /s %windir%\System32\ws2help.dll
Exec REGSVR32 /s %windir%\System32\wshelper.dll
Exec REGSVR32 /s %windir%\System32\wship6.dll
Exec REGSVR32 /s %windir%\System32\wshnetbs.dll
Exec REGSVR32 /s %windir%\System32\WSHTCPIP.DLL

//Wireless
Exec REGSVR32 /s %windir%\System32\bcmwlcoi.dll
Exec REGSVR32 /s %windir%\System32\brdgcfg.dll
Exec REGSVR32 /s %windir%\System32\bridgeres.dll
Exec REGSVR32 /s %windir%\System32\dot3api.dll
Exec REGSVR32 /s %windir%\System32\dot3cfg.dll
Exec REGSVR32 /s %windir%\System32\dot3dlg.dll
Exec REGSVR32 /s %windir%\System32\dot3gpclnt.dll
Exec REGSVR32 /s %windir%\System32\dot3msm.dll
Exec REGSVR32 /s %windir%\System32\dot3svc.dll
Exec REGSVR32 /s %windir%\System32\eapp3hst.dll
Exec REGSVR32 /s %windir%\System32\eappgnui.dll
Exec REGSVR32 /s %windir%\System32\eapphost.dll
Exec REGSVR32 /s %windir%\System32\EAPQEC.DLL
Exec REGSVR32 /s %windir%\System32\FirewallAPI.dll
Exec REGSVR32 /s %windir%\System32\iologmsg.dll
Exec REGSVR32 /s %windir%\System32\IPSECSVC.DLL
Exec REGSVR32 /s %windir%\System32\keyiso.dll
Exec REGSVR32 /s %windir%\System32\l2gpstore.dll
Exec REGSVR32 /s %windir%\System32\msxml6.dll
Exec REGSVR32 /s %windir%\System32\onex.dll
Exec REGSVR32 /s %windir%\System32\onexui.dll
Exec REGSVR32 /s %windir%\System32\WinSCard.dll
Exec REGSVR32 /s %windir%\System32\wlanapi.dll
Exec REGSVR32 /s %windir%\System32\wlancfg.dll
Exec REGSVR32 /s %windir%\System32\WLanConn.dll
Exec REGSVR32 /s %windir%\System32\wlandlg.dll
Exec REGSVR32 /s %windir%\System32\wlangpui.dll
Exec REGSVR32 /s %windir%\System32\WLanHC.dll
Exec REGSVR32 /s %windir%\System32\wlanhlp.dll
Exec REGSVR32 /s %windir%\System32\wlaninst.dll
Exec REGSVR32 /s %windir%\System32\WlanMM.dll
Exec REGSVR32 /s %windir%\System32\wlanmsm.dll
Exec REGSVR32 /s %windir%\System32\wlanpref.dll
Exec REGSVR32 /s %windir%\System32\wlansec.dll
Exec REGSVR32 /s %windir%\System32\wlansvc.dll
Exec REGSVR32 /s %windir%\System32\wlanui.dll
Exec REGSVR32 /s %windir%\System32\wlanutil.dll
Exec REGSVR32 /s %windir%\System32\wlgpclnt.dll
Exec REGSVR32 /s %windir%\System32\Wwanadvui.dll
Exec REGSVR32 /s %windir%\System32\WWanAPI.dll
Exec REGSVR32 /s %windir%\System32\wwancfg.dll
Exec REGSVR32 /s %windir%\System32\wwanconn.dll
Exec REGSVR32 /s %windir%\System32\WWanHC.dll
Exec REGSVR32 /s %windir%\System32\wwaninst.dll
Exec REGSVR32 /s %windir%\System32\wwanmm.dll
Exec REGSVR32 /s %windir%\System32\Wwanpref.dll
Exec REGSVR32 /s %windir%\System32\wwanprotdim.dll
Exec REGSVR32 /s %windir%\System32\wwansvc.dll
Exec REGSVR32 /s %windir%\System32\wwapi.dll
Exec REGSVR32 /s %windir%\System32\migration\netiomig.dll

DEVI %windir%\inf\defltbase.inf
DEVI %windir%\inf\defltwk.inf
DEVI %windir%\inf\dwup.inf
DEVI %windir%\inf\ndisuio.inf
DEVI %windir%\inf\vwifimp.inf  
DEVI %SystemRoot%\Inf\net*.inf

TEAM EXEC =!myreg.cmd |SHEL %W%\explorer.exe

然后在外置文件下做个
InsAllDriver.cmd
---------------------------------------------------------------------------------------------------------
@echo off
PUSHD %~dp0
set tp=%cd%

:::快捷方式直接用%Desktop%居然不放不到桌面而生成在C盘根目录
::pecmd LINK %Desktop%\网络设置,%tp%\PENetwork\PENetwork.exe
::修改成下面的就放到桌面了。
pecmd LINK %USERPROFILE%\desktop\网络设置,%tp%\PENetwork\PENetwork.exe
pecmd LINK %USERPROFILE%\desktop\ADSL拨号,%tp%\Hellonet\HelloNet.exe
pecmd LINK %USERPROFILE%\desktop\Opera,%tp%\Opera\opera.exe


:::MyDriver是我的三卡驱动打包
PECMD DEVI $%tp%\MyDriver.CAB,,%temp%\DRV3
PECMD FILE %temp%\DRV3

PECMD.EXE EXEC =!CMD.EXE /C "%Windir%\system32\PnPutil.exe -i -a %Windir%\inf\hdaudio.inf"

PECMD.EXE FIND Explorer.EXE,KILL EXPLORER.EXE

外置驱动就改完了,如果要直接启动立即三卡,将这个批处理在Pecmd.ini中加个引用就行了。

当前就改在这里,这个PE DIY价值很大,要DIY的东西很多呀,有空再改。

[ 本帖最后由 2011mking 于 2012-4-23 22:39 编辑 ]
回复

使用道具 举报

4#
发表于 2012-4-23 14:44:00 | 显示全部楼层
声卡不需要注册表,直接解压sound.7z到windows下就可以了。(我直接放入未加载外置驱动居然能开机就自动加载了本机的声卡,音量图标和设备管理器中均正常)
一句话,OP.7z解开后,所有的*.7z都解开放到windows或windows\system32下。除了网卡部份的那个INF文件夹不放入特别处理,其它全放入。

LZ的Boot.wim很干净,解压放入时未遇到重复的文件。

[ 本帖最后由 2011mking 于 2012-4-23 14:48 编辑 ]
回复

使用道具 举报

5#
发表于 2012-4-23 14:53:49 | 显示全部楼层
我使用时未导入也是可以的(LZ好象也屏蔽了导入语句,看来是不必要的)。如果实在要导入在pecmd.ini中加一个 Exec !=Regedit /s %windir%\system32\sound.reg

[ 本帖最后由 2011mking 于 2012-4-23 14:56 编辑 ]
回复

使用道具 举报

6#
发表于 2012-4-23 22:46:57 | 显示全部楼层
搞定了前面快捷方式问题
:::快捷方式直接用%Desktop%居然不放不到桌面而生成在C盘根目录
::pecmd LINK %Desktop%\网络设置,%tp%\PENetwork\PENetwork.exe
::修改成下面的就放到桌面了。
pecmd LINK %USERPROFILE%\desktop\网络设置,%tp%\PENetwork\PENetwork.exe
pecmd LINK %USERPROFILE%\desktop\ADSL拨号,%tp%\Hellonet\HelloNet.exe
pecmd LINK %USERPROFILE%\desktop\Opera,%tp%\Opera\opera.exe

QQ2008添加一个avicap32.dll就行了,能正常工作。

影音播放器PotPlayer.exe能常播放。

-----------------------
IE好象少的文件较多,直接添加Program Files下的无效。用Opera浏览网页回贴子没有问题。

输入法托盘图标出不来,添加ctfmon无效。

用U盘托盘没有显示,可以使用,只能是资源管理器中拔除。


图片缩略图不显示,点击提示缺少photoview,同样,直接补用Program Files下的photo view无效,还是缺少文件。

最主要是没有搜索功能,找文件很麻烦,不知是否能恢复搜索功能或是能提供一个好用的替代品。

[ 本帖最后由 2011mking 于 2012-4-23 22:50 编辑 ]
回复

使用道具 举报

7#
发表于 2012-4-24 09:43:44 | 显示全部楼层
重启时间长,一是OP.7Z解压到Y盘的时间长,二是在加载pecmd.ini前好象系统在自动安装inf(之所以这样认为是因为前面试过NETINF.7z中Inf直接放到Boot.wim中时会卡机进不了桌面)
三是注册DLL调用REGSVR32好象也比较花时间,可试试直接导入注册表。

关机我这里不慢,点一次就可以。

[ 本帖最后由 2011mking 于 2012-4-24 09:47 编辑 ]
回复

使用道具 举报

8#
发表于 2012-4-24 09:58:50 | 显示全部楼层
是自动进入节能,硬盘关闭了吧?重启时要开启一下硬盘,导致反应慢?
回复

使用道具 举报

9#
发表于 2012-4-24 11:36:44 | 显示全部楼层
LZ的PE与
http://bbs.wuyou.net/forum.php?m ... E0%BB%FA&page=3 
30楼提供的很像,上面贴子中的好象还完整一点,补全文件可能参考下。
回复

使用道具 举报

10#
发表于 2012-4-25 15:48:57 | 显示全部楼层
用IE内核的浏览器无法支持flash,原因是IE组件精简过渡,所以flash是无法支持了。所以好用的浏览器还是Opera。
可以加FileSeeker来做右键搜索,加xnview右键显示图片。


加到200M左右(用http://bbs.wuyou.net/viewthread. ... E0%BB%FA&page=3 30楼组件再加一次),可支持一般的3D,只测试了植物大战僵尸,可看到3D是开了的。

所以,加到200M也多不了什么东西,只能做个临时系统用用,100M左右win7内核,可上网,可QQ(用2008版好了,免得加太多文件)可播放电影,512M内存可启动。
回复

使用道具 举报

11#
发表于 2012-4-30 16:37:30 | 显示全部楼层


是支持IE内核浏览器,而不是直接用IE8呀。补全文件后已测试可完美支持Flash(用QQ偷菜,练卡测的。)

文件提取可以用本区热闹的两个AeroPE中提取。

[ 本帖最后由 2011mking 于 2012-4-30 16:41 编辑 ]
回复

使用道具 举报

12#
发表于 2012-5-3 22:41:25 | 显示全部楼层
可用的 Windows Media Player 10 组件
http://115.com/file/dsihqlr
回复

使用道具 举报

13#
发表于 2012-5-18 17:55:15 | 显示全部楼层
什么是 .264硬解 呀,不清楚,下来学习一下。
回复

使用道具 举报

14#
发表于 2012-5-24 08:51:38 | 显示全部楼层
zhoubin  还没办法处理自动选默认声卡吗,从你的描述中可看出,默认是从驱动加载顺序来决定的,有点像输入法。估计你得测一下驱动加载顺序,使你想用的声卡先加载上。
回复

使用道具 举报

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2024-5-5 05:15

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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