似乎比较少的人弄插件,找了一个,还没来得及修改。若有人有现成的经验,帮忙修改一下非常感谢。
另外有一点,看这里也有其他人搞基于XP SP3的WinPE,我这里下载不来,但提醒,有一处注册表,需要针对SP3的修改,否则会出现lsass.exe引导出错的情况,尤其是在VPC中出现频率非常高。
; PE Builder v3 plug-in INF file
; ImageX.inf (Version 1.11)
; Based on Fltmgr.inf and Wimfltr.inf by Malice - adapted by diddy - added context menus by Spacesurfer
; http://www.911cd.net/forums//index.php?showtopic=19355
[Version]
Signature= "$Windows NT$"
[PEBuilder]
Name="Utility: WinPE Tools with ImageX"
Enable=1
Help="ImageX.htm"
[WinntDirectories]
;a="Programs\ImageX",2
[SourceDisksFiles]
files\wimfltr.inf=20,,1
files\wimfltr.sys=4,,1
files\wimgapi.dll=2,,1
files\imagex.exe=2,,1
files\intlcfg.exe=2,,1
files\imagex_apply.cmd=2,,1
files\imagex_dcapture.cmd=2,,1
files\imagex_capture.cmd=2,,1
files\imagex_info.cmd=2,,1
files\imagex_mountro.cmd=2,,1
files\imagex_mountrw.cmd=2,,1
files\imagex.ico=2,,1
files\setx.exe=2,,1
; The following are necessary if you don't have KB914882 integrated to your source. Comment them if you do.
files\fltmgr.sys=4,,1
files\fltlib.dll=2,,1
files\fltmgr.inf=20,,1
files\fltmc.exe=2,,1
;Uncomment the following if including bootsect.exe or wimscript.ini
;files\bootsect.exe=2,,1
;files\wimscript.ini=2,,1
[Software.AddReg]
;Add .WIM File Type for ImageX
0x1, "Classes\.WIM", "", "ImageX"
0x1, "Classes\ImageX", "", "ImageX File"
0x2, "Classes\ImageX\DefaultIcon", "", "%systemroot%\system32\imagex.ico,0"
0x1, "Classes\ImageX\shell", "", "Info"
0x2, "Classes\ImageX\shell\Info\command", "", "%systemroot%\system32\imagex_info.cmd "%1""
0x1, "Classes\ImageX\shell\Info\ddeexec\Topic", "", "System"
0x2, "Classes\ImageX\shell\Mount\command", "", "%systemroot%\system32\imagex_mountro.cmd "%1""
0x1, "Classes\ImageX\shell\Mount\ddeexec\Topic", "", "System"
0x1, "Classes\ImageX\shell\Mount_RW", "", "Mount RW"
0x2, "Classes\ImageX\shell\Mount_RW\command", "", "%systemroot%\system32\imagex_mountrw.cmd "%1""
0x1, "Classes\ImageX\shell\Mount_RW\ddeexec\Topic", "", "System"
;Add Capture to Drives
0x1, "Classes\Drive\shell\Imagex", "", "ImageX Capture"
0x2, "Classes\Drive\shell\Imagex\command", "", "%systemroot%\system32\imagex_dcapture.cmd "%1""
;Add Apply to WIM Images
0x1, "Classes\ImageX\shell\Apply", "", "Apply"
0x2, "Classes\ImageX\shell\Apply\command", "", "%systemroot%\system32\imagex_dapply.cmd "%1""
0x1, "Classes\ImageX\shell\Apply\ddeexec\Topic", "", "System"
; WIM filter
[SetupReg.AddReg]
0x4, "ControlSet001\Services\WimFltr", "Type", 0x2
0x4, "ControlSet001\Services\WimFltr", "Start", 0x3
0x4, "ControlSet001\Services\WimFltr", "ErrorControl", 0x1
0x4, "ControlSet001\Services\WimFltr", "Tag", 0x4
0x2, "ControlSet001\Services\WimFltr", "ImagePath", "system32\DRIVERS\wimfltr.sys"
0x1, "ControlSet001\Services\WimFltr", "DisplayName", "WimFltr"
0x1, "ControlSet001\Services\WimFltr", "Group", "FSFilter Compression"
0x7, "ControlSet001\Services\WimFltr", "DependOnService", "FltMgr"
0x7, "ControlSet001\Services\WimFltr", "DependOnGroup", "", ""
0x1, "ControlSet001\Services\WimFltr", "Description", "Windows Image Mini-Filter Driver"
0x4, "ControlSet001\Services\WimFltr", "DebugFlags", 0x1
0x1, "ControlSet001\Services\WimFltr\Instances", "DefaultInstance", "WimFltr Instance"
0x1, "ControlSet001\Services\WimFltr\Instances\WimFltr Instance", "Altitude", "170500"
0x4, "ControlSet001\Services\WimFltr\Instances\WimFltr Instance", "Flags", 0x0
0x1, "ControlSet001\Services\WimFltr\Enum", "0", "Root\LEGACY_WIMFLTR???00"
0x4, "ControlSet001\Services\WimFltr\Enum", "Count", 0x1
0x4, "ControlSet001\Services\WimFltr\Enum", "NextInstance", 0x1
0x4,"ControlSet001\Enum\Root\LEGACY_WIMFLTR","NextInstance",0x1
0x1,"ControlSet001\Enum\Root\LEGACY_WIMFLTR???00","Service","WimFltr"
0x4,"ControlSet001\Enum\Root\LEGACY_WIMFLTR???00","Legacy",0x1
0x4,"ControlSet001\Enum\Root\LEGACY_WIMFLTR???00","ConfigFlags",0x0
0x1,"ControlSet001\Enum\Root\LEGACY_WIMFLTR???00","Class","LegacyDriver"
0x1,"ControlSet001\Enum\Root\LEGACY_WIMFLTR???00","ClassGUID","{8ECC055D-047F-11D1-A537-0000F8753ED1}"
0x1,"ControlSet001\Enum\Root\LEGACY_WIMFLTR???00","DeviceDesc","WimFltr"
0x4,"ControlSet001\Enum\Root\LEGACY_WIMFLTR???00\Control", "*NewlyCreated*", 0x0
0x1,"ControlSet001\Enum\Root\LEGACY_WIMFLTR???00\Control", "ActiveService", "WimFltr"
;Filter Manager
[SetupReg.AddReg]
0x4,"ControlSet001\Services\FltMgr","Type",0x2
0x4,"ControlSet001\Services\FltMgr","Start",0x0
0x4,"ControlSet001\Services\FltMgr","ErrorControl",0x1
0x4,"ControlSet001\Services\FltMgr","Tag",0x4
0x2,"ControlSet001\Services\FltMgr","ImagePath","system32\DRIVERS\fltMgr.sys"
0x1,"ControlSet001\Services\FltMgr","DisplayName","FltMgr"
0x1,"ControlSet001\Services\FltMgr","Group","FSFilter Infrastructure"
0x1,"ControlSet001\Services\FltMgr","Description","File System Filter Manager Driver"
0x4,"ControlSet001\Services\FltMgr","AttachWhenLoaded",0x0
0x1,"ControlSet001\Services\FltMgr\Enum", "0", "Root\LEGACY_FLTMGR???00"
0x4,"ControlSet001\Services\FltMgr\Enum", "Count", 0x1
0x4,"ControlSet001\Services\FltMgr\Enum", "NextInstance", 0x1
0x4,"ControlSet001\Enum\Root\LEGACY_FLTMGR","NextInstance",0x1
0x1,"ControlSet001\Enum\Root\LEGACY_FLTMGR???00","Service","FltMgr"
0x4,"ControlSet001\Enum\Root\LEGACY_FLTMGR???00","Legacy",0x1
0x4,"ControlSet001\Enum\Root\LEGACY_FLTMGR???00","ConfigFlags",0x0
0x1,"ControlSet001\Enum\Root\LEGACY_FLTMGR???00","Class","LegacyDriver"
0x1,"ControlSet001\Enum\Root\LEGACY_FLTMGR???00","ClassGUID","{8ECC055D-047F-11D1-A537-0000F8753ED1}"
0x1,"ControlSet001\Enum\Root\LEGACY_FLTMGR???00","DeviceDesc","FltMgr"
0x4,"ControlSet001\Enum\Root\LEGACY_FLTMGR???00\Control", "*NewlyCreated*", 0x0
0x1,"ControlSet001\Enum\Root\LEGACY_FLTMGR???00\Control", "ActiveService", "FltMgr"
[Software.AddReg]
; Shortcut(s) for ImageX
0x2, "Sherpya\XPEinit\Programs", "ImageX\ImageX Apply", "%Systemroot%\system32\ImageX_apply.cmd"
0x2, "Sherpya\XPEinit\Programs", "ImageX\ImageX Capture", "%Systemroot%\system32\ImageX_capture.cmd"
[Append]
;nu2menu.xml, nu2menu_ImageX.xml
[ 本帖最后由 xuqs 于 2008-5-16 04:06 PM 编辑 ] |