Guest User

Untitled

a guest
Mar 2nd, 2012
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;;;
  2. ;;; policiessandbox
  3. ;;;
  4. ;;;
  5. ;;; Copyright (c) 2012, Sunex Development Group
  6. ;;;
  7.  
  8. [Version]
  9. Signature   = "$Windows NT$"
  10. Class       = "ActivityMonitor"                       ;This is determined by the work this filter driver does
  11. ClassGuid   =  {b86dff51-a31e-4bac-b3cf-e8cfe75c9fc2} ;This value is determined by the Class
  12. Provider    = %Sidristy%
  13. DriverVer   = 08/03/2012,1.0.0.0
  14. CatalogFile = policiessandbox.cat
  15.  
  16.  
  17. [DestinationDirs]
  18. DefaultDestDir          = 12
  19. PoliciesSandbox.DriverFiles  = 12            ;%windir%\system32\drivers
  20.  
  21. ;;
  22. ;; Default install sections
  23. ;;
  24.  
  25. [DefaultInstall]
  26. OptionDesc  = %ServiceDescription%
  27. CopyFiles   = PoliciesSandbox.DriverFiles
  28.  
  29. [DefaultInstall.Services]
  30. AddService  = %ServiceName%,,PoliciesSandbox.Service
  31.  
  32. ;;
  33. ;; Default uninstall sections
  34. ;;
  35.  
  36. [DefaultUninstall]
  37. DelFiles   = PoliciesSandbox.DriverFiles
  38.  
  39. [DefaultUninstall.Services]
  40. DelService = %ServiceName%,0x200      ;Ensure service is stopped before deleting
  41.  
  42. ;
  43. ; Services Section
  44. ;
  45.  
  46. [PoliciesSandbox.Service]
  47. DisplayName      = %ServiceName%
  48. Description      = %ServiceDescription%
  49. ServiceBinary    = %12%\%DriverName%.sys    ;%windir%\system32\drivers\
  50. Dependencies     = FltMgr
  51. ServiceType      = 2                        ;SERVICE_FILE_SYSTEM_DRIVER
  52. StartType        = 3                        ;SERVICE_DEMAND_START
  53. ErrorControl     = 1                        ;SERVICE_ERROR_NORMAL
  54. LoadOrderGroup   = "FSFilter Activity Monitor"
  55. AddReg           = PoliciesSandbox.AddRegistry
  56.  
  57. ;
  58. ; Registry Modifications
  59. ;
  60.  
  61. [PoliciesSandbox.AddRegistry]
  62. HKR,"Instances","DefaultInstance",0x00000000,%Instance1.Name%
  63. HKR,"Instances\"%Instance1.Name%,"Altitude",0x00000000,%Instance1.Altitude%
  64. HKR,"Instances\"%Instance1.Name%,"Flags",0x00010001,%Instance1.Flags%
  65.  
  66. ;
  67. ; Copy Files
  68. ;
  69.  
  70. [PoliciesSandbox.DriverFiles]
  71. policiessandbox.sys
  72.  
  73. [SourceDisksFiles]
  74. policiessandbox.sys = 1,,
  75.  
  76. [SourceDisksNames]
  77. 1 = "Policies Sandbox Driver"
  78.  
  79. ;;
  80. ;; String Section
  81. ;;
  82.  
  83. [Strings]
  84. Sidristy                = "Stanislav Sidristy"
  85. ServiceDescription      = "PoliciesSandbox mini-filter driver"
  86. ServiceName             = "policiessandbox"
  87. DriverName              = "policiessandbox"
  88.  
  89. ;Instances specific information.                
  90. Instance1.Name          = "policiessandbox"
  91. Instance1.Altitude      = "362000"
  92. Instance1.Flags         = 0x0          ; Suppress automatic attachments
Advertisement
Add Comment
Please, Sign In to add comment