;;;
;;; EDSFlt
;;;
;;;
;;; Copyright (c) 2010, Forworld Software Tech. Ltd.
;;;

[Version]
signature   = "$Windows NT$"
Class       = "FSFilter Encryption"                     ;This is determined by the work this filter driver does
ClassGuid   = {a0a701c0-a511-42ff-aa6c-06dc0395576f}    ;This value is determined by the Class
Provider    = %Fasoft%
DriverVer   = 04/06/2011,6.0.4.6
CatalogFile = EDSFlt.cat


[DestinationDirs]
DefaultDestDir       = 12
EDSFlt.DriverFiles  = 12            ;%windir%\system32\drivers

;;
;; Default install sections
;;

[DefaultInstall]
OptionDesc          = %ServiceDescription%
CopyFiles           = EDSFlt.DriverFiles

[DefaultInstall.Services]
AddService          = %ServiceName%,,EDSFlt.Service

;;
;; Default uninstall sections
;;

[DefaultUninstall]
DelFiles   = EDSFlt.DriverFiles

[DefaultUninstall.Services]
DelService = EDSFlt,0x200      ;Ensure service is stopped before deleting

;
; Services Section
;

[EDSFlt.Service]
DisplayName      = %ServiceName%
Description      = %ServiceDescription%
ServiceBinary    = %12%\%DriverName%.sys        ;%windir%\system32\drivers\
Dependencies     = "FltMgr"
ServiceType      = 2                            ;SERVICE_FILE_SYSTEM_DRIVER
StartType        = 1                            ;SERVICE_BOOT_START
;StartType        = 3                           ;SERVICE_DEMAND_START
ErrorControl     = 1                            ;SERVICE_ERROR_NORMAL
LoadOrderGroup   = "FSFilter Encryption"
AddReg           = EDSFlt.AddRegistry

;
; Registry Modifications
;

[EDSFlt.AddRegistry]
HKR,"Instances","DefaultInstance",0x00000000,%Instance1.Name%
HKR,"Instances\"%Instance1.Name%,"Altitude",0x00000000,%Instance1.Altitude%
HKR,"Instances\"%Instance1.Name%,"Flags",0x00010001,%Instance1.Flags%

;
; Copy Files
;

[EDSFlt.DriverFiles]
%DriverName%.sys

[SourceDisksFiles]
EDSFlt.sys = 1,,

[SourceDisksNames]
1 = %DiskId1%,,,

;;
;; String Section
;;

[Strings]
Fasoft                  = "Wuhan Forworld Software Tech. Ltd."
ServiceDescription      = "Windows Encrypt File System Driver"
ServiceName             = "EDSFlt"
DriverName              = "EDSFlt"
DiskId1                 = "EDSFlt Device Installation Disk"

;Instances specific information.
Instance1.Name          = "EDSFlt"
Instance1.Altitude      = "145888"
Instance1.Flags         = 0x0          ; allow automatic attachments

