Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

105 lines
2.8 KiB

  1. ;;;
  2. ;;; FileSpy
  3. ;;;
  4. ;;;
  5. ;;; Copyright (c) 2000, Microsoft Corporation
  6. ;;;
  7. [Version]
  8. signature = "$Windows NT$"
  9. Class = "ActivityMonitor" ;This is determined by the work this filter driver does
  10. ClassGuid = {b86dff51-a31e-4bac-b3cf-e8cfe75c9fc2} ;This value is determined by the Class
  11. Provider = %Msft%
  12. DriverVer = 08/28/2000,1.0.0.1
  13. CatalogFile = filespy.cat ; A CatalogFile entry is required for a WHQL signature.
  14. ; The actual catalog file will be provided by WHQL. The
  15. ; catalog file for this sample is not provided for use.
  16. [DestinationDirs]
  17. DefaultDestDir = 12
  18. FileSpy.DriverFiles = 12 ;%windir%\system32\drivers
  19. FileSpy.UserFiles = 10,FileSpy ;%windir%\FileSpy
  20. ;;
  21. ;; Default install sections
  22. ;;
  23. [DefaultInstall]
  24. OptionDesc = %FileSpyServiceDesc%
  25. CopyFiles = FileSpy.DriverFiles, FileSpy.UserFiles
  26. [SourceDisksNames]
  27. 1 = %Disk1%
  28. [SourceDisksFiles]
  29. filespy.exe = 1
  30. filespy.sys = 1
  31. [DefaultInstall.Services]
  32. AddService = %FileSpyServiceName%,,FileSpy.Service
  33. ;;
  34. ;; Default uninstall sections
  35. ;;
  36. [DefaultUninstall]
  37. DelFiles = FileSpy.DriverFiles, FileSpy.UserFiles
  38. DelReg = FileSpy.DelRegistry
  39. [DefaultUninstall.Services]
  40. DelService = FileSpy,0x200 ; Flags note to stop service first
  41. ;
  42. ; Services Section
  43. ;
  44. [FileSpy.Service]
  45. DisplayName = %FileSpyServiceName%
  46. Description = %FileSpyServiceDesc%
  47. ServiceBinary = %12%\filespy.sys ;%windir%\system32\drivers\filespy.sys
  48. ServiceType = 2 ;SERVICE_FILE_SYSTEM_DRIVER
  49. StartType = 3 ;SERVICE_DEMAND_START
  50. ErrorControl = 1 ;SERVICE_ERROR_NORMAL
  51. LoadOrderGroup = "filter"
  52. AddReg = FileSpy.AddRegistry
  53. ;
  54. ; Registry Modifications
  55. ;
  56. [FileSpy.AddRegistry]
  57. HKLM,%FileSpyRegistry%,%FileSpyMaxRecords%,0x00010001 ,500
  58. HKLM,%FileSpyRegistry%,%FileSpyMaxNames%,0x00010001 ,500
  59. HKLM,%FileSpyRegistry%,%FileSpyDebugFlags%,0x00010001 ,0
  60. HKLM,%FileSpyRegistry%,%FileSpyAttachMode%,0x00010001 ,2
  61. [FileSpy.DelRegistry]
  62. HKLM,%FileSpyRegistry%,%FileSpyMaxRecords%
  63. HKLM,%FileSpyRegistry%,%FileSpyMaxNames%
  64. HKLM,%FileSpyRegistry%,%FileSpyDebugFlags%
  65. HKLM,%FileSpyRegistry%,%FileSpyAttachMode%
  66. ;
  67. ; Copy Files
  68. ;
  69. [FileSpy.DriverFiles]
  70. filespy.sys
  71. [FileSpy.UserFiles]
  72. filespy.exe
  73. ;;
  74. ;; String Section
  75. ;;
  76. [Strings]
  77. Msft = "Microsoft Corporation"
  78. FileSpyServiceDesc = "FileSpy Filter Driver"
  79. FileSpyServiceName = "FileSpy"
  80. FileSpyRegistry = "system\currentcontrolset\services\FileSpy"
  81. FileSpyMaxRecords = "MaxRecords"
  82. FileSpyMaxNames = "MaxNames"
  83. FileSpyDebugFlags = "DebugFlags"
  84. FileSpyAttachMode = "AttachMode"
  85. Disk1 = "FileSpy Source Media"