无忧启动论坛

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

[求助] 03PE如何集成WDF内核模式驱动?让它最先工作?

[复制链接]
跳转到指定楼层
1#
发表于 2020-10-3 18:07:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 红毛樱木 于 2020-10-3 18:09 编辑

压缩包里的是exe(我改后缀为7z了),不过可以直接用7z打开。
是nt5内核wdf驱动补丁。
有大神会集成到2003pe里吗?这个补丁需要在加载SRS之前就生效,否则没有意义。


  1. [Prerequisite]
  2.     condition=OrOp,Prerequisite.FilecheckOrOp.Section

  3. [Prerequisite.FilecheckOrOp.Section]
  4.     NotPresentOp=CheckFileVer,KmdfInstall.files,wdf01000.sys
  5.     LessOrEqualOp=CheckFileVer,KmdfInstall.files ,wdf01000.sys, <=, 1.11.9999.0

  6. [DestinationDirs]
  7.     KmdfInstall.files=12               
  8.    
  9. [Version]
  10.     Signature="$Windows NT[        DISCUZ_CODE_0        ]quot;
  11.     NtBuildToUpdate=2600
  12.     MaxNtBuildToUpdate=5000
  13.     NtMajorVersionToUpdate=5
  14.     NtMinorVersionToUpdate=2
  15.     MaxNtMajorVersionToUpdate=5
  16.     MaxNtMinorVersionToUpdate =  2
  17.     NtServicePackVersion = 0
  18.     MinNtServicePackVersion=0
  19.     MaxNtServicePackVersion=2560
  20.     CatalogFile = %SP_SHORT_TITLE%.cat
  21.     LanguageType= %LangTypeValue%



  22.    
  23.            
  24. [ProductCatalogsToInstall]
  25. ;
  26. ;   the name of the cat file should match the one built by wdfpostbuild.cmd
  27. ;
  28.     %SP_SHORT_TITLE%.cat, update\%SP_SHORT_TITLE%.cat

  29. [ProductInstall.CopyFilesAlways] ;do i need this if the hotfix is already installed do we install it again
  30.     CopyFiles = KmdfInstall.files

  31. [KmdfInstall.files]
  32.     wdfldr.sys
  33.     wdf01000.sys
  34.    
  35. [ProductInstall.GlobalRegistryChanges.Install]
  36.     AddReg=KmdfInstall.Add.Reg

  37. [ProductInstall.GlobalRegistryChanges.ReInstall]
  38.     AddReg=KmdfInstall.Add.Reg

  39. [KmdfInstall.Add.Reg]
  40.     HKLM,"System\CurrentControlSet\Control\Wdf\Kmdf\KmdfLibrary\Versions\1","Service",0,"Wdf01000"
  41.     HKLM,"System\CurrentControlSet\Control\SafeBoot\Minimal\Wdf01000.sys","",0,"Driver"
  42.     HKLM,"System\CurrentControlSet\Control\SafeBoot\Network\Wdf01000.sys","",0,"Driver"
  43.     HKLM,"System\CurrentControlSet\Control\Wdf\Kmdf\1","Version",0,"1.11"
  44.     HKLM,"System\CurrentControlSet\Control\Wdf\Schema\KmdfService\Object","KeyRoot",0,"SYSTEM"
  45.     HKLM,"System\CurrentControlSet\Control\Wdf\Schema\KmdfService\Object","KeyPath",0,"CurrentControlSet\Services"
  46.     HKLM,"System\CurrentControlSet\Control\Wdf\Schema\KmdfService","Type",0x00010001,0
  47.     HKLM,"System\CurrentControlSet\Services\EventLog\System\Wdf01000","EventMessageFile",0x00020000,"%SystemRoot%\System32\Drivers\Wdf01000.sys"
  48.     HKLM,"System\CurrentControlSet\Services\EventLog\System\Wdf01000","TypesSupported",0x00010001,7
  49.     HKLM,"System\CurrentControlSet\Services\Wdf01000","DisplayName",0,"Kernel Mode Driver Frameworks service"
  50.     HKLM,"System\CurrentControlSet\Services\Wdf01000","Group",0,"WdfLoadGroup"
  51.     HKLM,"System\CurrentControlSet\Services\Wdf01000","ErrorControl",0x00010001,1
  52.     HKLM,"System\CurrentControlSet\Services\Wdf01000","Start",0x00010001,0
  53.     HKLM,"System\CurrentControlSet\Services\Wdf01000","Type",0x00010001,1
  54.     HKLM,"System\CurrentControlSet\Services\Wdf01000\Parameters","BuildNumber",0x00010001,0
  55.     HKLM,"System\CurrentControlSet\Services\Wdf01000\Parameters","MajorVersion",0x00010001,1
  56.     HKLM,"System\CurrentControlSet\Services\Wdf01000\Parameters","MinorVersion",0x00010001,11
  57.     HKLM,"System\CurrentControlSet\Control\GroupOrderList","WdfLoadGroup",0x00030001,01,00,00,00,01,00,00,00

  58.     ;;
  59.     ;; Hide the following ARP entries for previous versions on install.
  60.     ;; Each time we come up with a new minor version we add more here.
  61.     ;;
  62.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wdf01000,"SystemComponent", 0x00010001,1
  63.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wdf01001,"SystemComponent", 0x00010001,1
  64.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wdf01005,"SystemComponent", 0x00010001,1
  65.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wdf01007,"SystemComponent", 0x00010001,1
  66.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wdf01009,"SystemComponent", 0x00010001,1
  67.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wdf01011,"SystemComponent", 0x00010001,1

  68. [Product.Add.Reg.Business]
  69.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%SP_SHORT_TITLE%,"RegistryLocation",0,"HKLM\SOFTWARE\Microsoft\Updates\Windows Server 2003\SP%SERVICE_PACK_NUMBER%\%SP_SHORT_TITLE%"
  70.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%SP_SHORT_TITLE%,"ParentDisplayName",0,"%PARENT_DISPLAY_NAME%"
  71.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%SP_SHORT_TITLE%,"DisplayName",0,"%SP_TITLE_WS03%"
  72.     HKLM,SOFTWARE\Microsoft\Updates\Windows Server 2003\SP%SERVICE_PACK_NUMBER%\%SP_SHORT_TITLE%,"Description",,%SP_TITLE_WS03%

  73. [Product.Add.Reg.Advanced]
  74.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%SP_SHORT_TITLE%,"RegistryLocation",0,"HKLM\SOFTWARE\Microsoft\Updates\Windows Server 2003\SP%SERVICE_PACK_NUMBER%\%SP_SHORT_TITLE%"
  75.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%SP_SHORT_TITLE%,"ParentDisplayName",0,"%PARENT_DISPLAY_NAME%"
  76.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%SP_SHORT_TITLE%,"DisplayName",0,"%SP_TITLE_WS03%"
  77.     HKLM,SOFTWARE\Microsoft\Updates\Windows Server 2003\SP%SERVICE_PACK_NUMBER%\%SP_SHORT_TITLE%,"Description",,%SP_TITLE_WS03%

  78. [Product.Add.Reg.Server]
  79.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%SP_SHORT_TITLE%,"RegistryLocation",0,"HKLM\SOFTWARE\Microsoft\Updates\Windows Server 2003\SP%SERVICE_PACK_NUMBER%\%SP_SHORT_TITLE%"
  80.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%SP_SHORT_TITLE%,"ParentDisplayName",0,"%PARENT_DISPLAY_NAME%"
  81.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%SP_SHORT_TITLE%,"DisplayName",0,"%SP_TITLE_WS03%"
  82.     HKLM,SOFTWARE\Microsoft\Updates\Windows Server 2003\SP%SERVICE_PACK_NUMBER%\%SP_SHORT_TITLE%,"Description",,%SP_TITLE_WS03%

  83. [Product.Add.Reg.DataCenter]
  84.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%SP_SHORT_TITLE%,"RegistryLocation",0,"HKLM\SOFTWARE\Microsoft\Updates\Windows Server 2003\SP%SERVICE_PACK_NUMBER%\%SP_SHORT_TITLE%"
  85.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%SP_SHORT_TITLE%,"ParentDisplayName",0,"%PARENT_DISPLAY_NAME%"
  86.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%SP_SHORT_TITLE%,"DisplayName",0,"%SP_TITLE_WS03%"
  87.     HKLM,SOFTWARE\Microsoft\Updates\Windows Server 2003\SP%SERVICE_PACK_NUMBER%\%SP_SHORT_TITLE%,"Description",,%SP_TITLE_WS03%

  88. [Product.Add.Reg.Blade]
  89.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%SP_SHORT_TITLE%,"RegistryLocation",0,"HKLM\SOFTWARE\Microsoft\Updates\Windows Server 2003\SP%SERVICE_PACK_NUMBER%\%SP_SHORT_TITLE%"
  90.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%SP_SHORT_TITLE%,"ParentDisplayName",0,"%PARENT_DISPLAY_NAME%"
  91.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%SP_SHORT_TITLE%,"DisplayName",0,"%SP_TITLE_WS03%"
  92.     HKLM,SOFTWARE\Microsoft\Updates\Windows Server 2003\SP%SERVICE_PACK_NUMBER%\%SP_SHORT_TITLE%,"Description",,%SP_TITLE_WS03%

  93. [Product.Add.Reg.Professional]
  94.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%SP_SHORT_TITLE%,"RegistryLocation",0,"HKLM\SOFTWARE\Microsoft\Updates\Windows XP Version 2003\SP%SERVICE_PACK_NUMBER%\%SP_SHORT_TITLE%"
  95.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%SP_SHORT_TITLE%,"ParentDisplayName",0,"%PARENT_DISPLAY_NAME_XP%"
  96.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%SP_SHORT_TITLE%,"DisplayName",0,"%SP_TITLE_XP%"
  97.     HKLM,SOFTWARE\Microsoft\Updates\Windows XP Version 2003\SP%SERVICE_PACK_NUMBER%\%SP_SHORT_TITLE%,"Description",,%SP_TITLE_XP%

  98. [SourceDisksNames]
  99.     1=%ServicePackSourceFiles%

  100. [SourceDisksFiles]
  101.     wdfldr.sys=1
  102.     wdf01000.sys=1
  103.    
  104. [Save.Reg.For.Uninstall]
  105. ;
  106. ;   This is needed for our package to show up in Add/Remove program on a reinstall
  107. ;
  108.     HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\Hotfix\%SP_SHORT_TITLE%
  109.     HKLM,%UPDATEREGKEY_X64%\%SP_SHORT_TITLE%
  110.     HKLM,%UPDATEREGKEY_32_IA64%\%SP_SHORT_TITLE%  
  111.    
  112. ;;
  113. ;;  Uncomment this if the update.exe crash bug is fixed for xp 64 bit.  
  114. ;;
  115. ;[DeleteFilesInUninstallSections]
  116. ;;
  117. ;;  The name of the setcion is a misnomer. This allows us to prevent the following files from being deleted.
  118. ;;  if a previous vesion is present in that case this actually reverts to the previous version.
  119. ;;
  120. ;    SystemRoot\system32\drivers.delete.files,"wdf01000.sys"
  121. ;    SystemRoot\system32\drivers.delete.files,"wdfldr.sys"

  122. [Del.Reg.Uninstall]
  123.     ;HKLM,System\CurrentControlSet\Control\Wdf\Kmdf\KmdfLibrary\Versions\1  
  124.     HKLM,System\CurrentControlSet\Control\SafeBoot\Minimal\Wdf01000.sys
  125.     HKLM,System\CurrentControlSet\Control\SafeBoot\Network\Wdf01000.sys               
  126.     ;;
  127.     ;; Show the following ARP entries on uninstall.
  128.     ;;
  129.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wdf01000,"SystemComponent"
  130.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wdf01001,"SystemComponent"
  131.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wdf01005,"SystemComponent"
  132.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wdf01007,"SystemComponent"
  133.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wdf01009,"SystemComponent"
  134.     HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wdf01011,"SystemComponent"

  135. [GlobalRegistryChanges.UnInstall]
  136.     DelReg=Del.Reg
  137.    
  138. [UninstallSections]
  139.     GlobalRegistryChanges, GlobalRegistryChanges.UnInstall
  140.     Del.Reg, Del.Reg.Uninstall
  141.    
  142. [Strings]
  143.     LangTypeValue=0
  144.     ServicePackSourceFiles="Microsoft Kernel-Mode Driver Framework 1.11 Install Source Files"   
  145.     COMMENT="Microsoft Kernel-Mode Driver Framework 1.11 Install Source Files"
  146.     SP_SHORT_TITLE          = "Wdf01011"                              
  147.     SP_TITLE                = "Microsoft Kernel-Mode Driver Framework 1.11"
  148.     UPDATEREGKEY_32_IA64=SOFTWARE\Microsoft\Updates\Windows Server 2003\SP2
  149.     UPDATEREGKEY_X64=SOFTWARE\Microsoft\Updates\Windows XP Version 2003\SP2
  150.     URLInfoAbout = http:
  151.     SERVICE_PACK_NUMBER=2
  152. DriverVer=06/22/2013,6.2.9200.20755
  153. [Configuration]
  154.     InstallationType=Hotfix
  155.     UnInstallDirName=$NtUninstall%SP_SHORT_TITLE%$
  156.     InstallLogFileName=%SP_SHORT_TITLE%Inst.log
  157.     UnInstallLogFileName=%SP_SHORT_TITLE%UnInst.log
  158.     ServiceFileInUseDetect=1
  159.     CustomizationDll=Kmdfcustom.dll   
  160.     UninstallCustomizationDll=Kmdfcustom.dll      
复制代码
WindowsServer2003.WindowsXP-KB2864202-x86-INTL.7z (702 KB, 下载次数: 9)

2#
 楼主| 发表于 2020-10-4 11:04:03 来自手机 | 只看该作者
有大佬会吗
回复

使用道具 举报

3#
发表于 2020-10-4 11:52:05 | 只看该作者
会的大概被堵在高速路吃月饼了..........
回复

使用道具 举报

4#
 楼主| 发表于 2020-10-21 09:44:16 来自手机 | 只看该作者
有没有大神搞起?
回复

使用道具 举报

5#
发表于 2023-6-13 12:52:03 | 只看该作者
我也想下载WindowsServer2003.WindowsXP-KB2864202-x86-INTL 但是找不到地方下载
回复

使用道具 举报

6#
发表于 2023-6-13 12:53:27 | 只看该作者
有谁能提供一下WindowsServer2003.WindowsXP-KB2864202-x86-INTL的下载啊
回复

使用道具 举报

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2024-12-1 20:12

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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