Chinaunix首页 | 论坛 | 博客
  • 博客访问: 431814
  • 博文数量: 72
  • 博客积分: 1583
  • 博客等级: 上尉
  • 技术积分: 775
  • 用 户 组: 普通用户
  • 注册时间: 2010-09-23 09:36
文章分类

全部博文(72)

文章存档

2011年(72)

我的朋友

分类: WINDOWS

2011-02-08 12:54:44

1) 设备类型、设备型号、厂商信息、程序版本号…。
2) 对操作系统版本和CPU类型的要求…
3) 源文件(.sys文件)的文件名和所在位置
4) 安装目标子目录
5) 在注册表中添加哪些内容
6) 硬件配置信息
7) 安全配置信息

  1. [Version]
  2. signature     = "$Windows NT$"
  3. Class        = "ActivityMonitor"                ;This is determined by the work this filter driver does
  4. ClassGuid     = {b86dff51-a31e-4bac-b3cf-e8cfe75c9fc2}    ;This value is determined by the Class
  5. Provider     = %Msft%
  6. DriverVer     = 08/28/2000,1.0.0.1
  7. CatalogFile = sfilter.cat ; A CatalogFile entry is required for a WHQL signature.
  8. [DestinationDirs]
  9. DefaultDestDir     = 12
  10. Sfilter.DriverFiles = 12             ;%windir%\system32\drivers

  11. [SourceDisksNames]
  12. 1 = %Disk1%

  13. [SourceDisksFiles]
  14. sfilter.sys = 1

  15. ;;
  16. ;; Default install sections
  17. ;;

  18. [DefaultInstall]
  19. OptionDesc = %SfilterServiceDesc%
  20. CopyFiles = Sfilter.DriverFiles

  21. [DefaultInstall.Services]
  22. AddService = %SfilterServiceName%,,Sfilter.Service
  23. AddReg = Sfilter.AddRegistry

  24. ;;
  25. ;; Default uninstall sections
  26. ;;

  27. [DefaultUninstall]
  28. DelFiles = Sfilter.DriverFiles
  29. DelReg = Sfilter.DelRegistry

  30. [DefaultUninstall.Services]
  31. DelService = Sfilter,0x200        ; Flags note to stop service first

  32. ;
  33. ; Services Section
  34. ;

  35. [Sfilter.Service]
  36. DisplayName = %SfilterServiceName%
  37. Description = %SfilterServiceDesc%
  38. ServiceBinary = %12%\Sfilter.sys        ;%windir%\system32\drivers\Sfilter.sys
  39. ServiceType = 2                    ;SERVICE_FILE_SYSTEM_DRIVER
  40. StartType = 0                    ;SERVICE_BOOT_START
  41. ErrorControl = 1                    ;SERVICE_ERROR_NORMAL
  42. LoadOrderGroup = "FSFilter Activity Monitor"
  43. AddReg             = Sfilter.AddRegistry

  44. ;
  45. ; Registry Modifications
  46. ;

  47. [Sfilter.AddRegistry]
  48. HKLM,%SfilterRegistry%,%SfilterDebugFlags%,0x00010001 ,0

  49. [Sfilter.DelRegistry]
  50. HKLM,%SfilterRegistry%,%SfilterDebugFlags%

  51. ;
  52. ; Copy Files
  53. ;

  54. [Sfilter.DriverFiles]
  55. Sfilter.sys

  56. ;;
  57. ;; String Section
  58. ;;

  59. [Strings]
  60. Msft     = "Microsoft Corporation"
  61. SfilterServiceDesc = "Sfilter Filter Driver"
  62. SfilterServiceName = "Sfilter"
  63. SfilterRegistry = "system\currentcontrolset\services\Sfilter"
  64. SfilterDebugFlags = "DebugFlags"
  65. Disk1 = "Sfilter Source Media"


 

阅读(2215) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

zhaojc2019-01-22 09:58:20

您好,在安装360并且联网情况下,执行失败了,能指导下么