1) 设备类型、设备型号、厂商信息、程序版本号…。
2) 对操作系统版本和CPU类型的要求…
3) 源文件(.sys文件)的文件名和所在位置
4) 安装目标子目录
5) 在注册表中添加哪些内容
6) 硬件配置信息
7) 安全配置信息
- [Version]
- signature = "$Windows NT$"
- Class = "ActivityMonitor" ;This is determined by the work this filter driver does
- ClassGuid = {b86dff51-a31e-4bac-b3cf-e8cfe75c9fc2} ;This value is determined by the Class
- Provider = %Msft%
- DriverVer = 08/28/2000,1.0.0.1
- CatalogFile = sfilter.cat ; A CatalogFile entry is required for a WHQL signature.
- [DestinationDirs]
- DefaultDestDir = 12
- Sfilter.DriverFiles = 12 ;%windir%\system32\drivers
- [SourceDisksNames]
- 1 = %Disk1%
- [SourceDisksFiles]
- sfilter.sys = 1
- ;;
- ;; Default install sections
- ;;
- [DefaultInstall]
- OptionDesc = %SfilterServiceDesc%
- CopyFiles = Sfilter.DriverFiles
- [DefaultInstall.Services]
- AddService = %SfilterServiceName%,,Sfilter.Service
- AddReg = Sfilter.AddRegistry
- ;;
- ;; Default uninstall sections
- ;;
- [DefaultUninstall]
- DelFiles = Sfilter.DriverFiles
- DelReg = Sfilter.DelRegistry
- [DefaultUninstall.Services]
- DelService = Sfilter,0x200 ; Flags note to stop service first
- ;
- ; Services Section
- ;
- [Sfilter.Service]
- DisplayName = %SfilterServiceName%
- Description = %SfilterServiceDesc%
- ServiceBinary = %12%\Sfilter.sys ;%windir%\system32\drivers\Sfilter.sys
- ServiceType = 2 ;SERVICE_FILE_SYSTEM_DRIVER
- StartType = 0 ;SERVICE_BOOT_START
- ErrorControl = 1 ;SERVICE_ERROR_NORMAL
- LoadOrderGroup = "FSFilter Activity Monitor"
- AddReg = Sfilter.AddRegistry
- ;
- ; Registry Modifications
- ;
- [Sfilter.AddRegistry]
- HKLM,%SfilterRegistry%,%SfilterDebugFlags%,0x00010001 ,0
- [Sfilter.DelRegistry]
- HKLM,%SfilterRegistry%,%SfilterDebugFlags%
- ;
- ; Copy Files
- ;
- [Sfilter.DriverFiles]
- Sfilter.sys
- ;;
- ;; String Section
- ;;
- [Strings]
- Msft = "Microsoft Corporation"
- SfilterServiceDesc = "Sfilter Filter Driver"
- SfilterServiceName = "Sfilter"
- SfilterRegistry = "system\currentcontrolset\services\Sfilter"
- SfilterDebugFlags = "DebugFlags"
- Disk1 = "Sfilter Source Media"
阅读(2215) | 评论(1) | 转发(0) |