1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
;;;
;;; VeraCrypt
;;;
;;;
;;; Copyright (c) 2021, IDRIX
;;;
[Version]
signature = "$Windows NT$"
Class = "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 = %ProviderString%
DriverVer = 07/13/2021,1.24.25.1
CatalogFile = veracrypt.cat
[DestinationDirs]
DefaultDestDir = 12
veracrypt.DriverFiles = 12 ;%windir%\system32\drivers
;;
;; Default install sections
;;
[DefaultInstall]
OptionDesc = %ServiceDescription%
CopyFiles = veracrypt.DriverFiles
AddReg = veracrypt.AddReg
[DefaultInstall.Services]
AddService = veracrypt,,veracrypt.Service
;;
;; Default uninstall sections
;;
[DefaultUninstall]
DelFiles = veracrypt.DriverFiles
[DefaultUninstall.Services]
DelService = veracrypt,0x200 ;Ensure service is stopped before deleting
;
; Services Section
;
[veracrypt.Service]
DisplayName = %ServiceDescription%
Description = %ServiceDescription%
ServiceBinary = %12%\veracrypt.sys ;%windir%\system32\drivers\
ServiceType = 2 ;SERVICE_FILE_SYSTEM_DRIVER
StartType = 0 ;SERVICE_BOOT_START
ErrorControl = 1 ;SERVICE_ERROR_NORMAL
LoadOrderGroup = "Filter"
;
; Copy Files
;
[veracrypt.DriverFiles]
veracrypt.sys
[SourceDisksFiles]
veracrypt.sys = 1,,
[SourceDisksNames]
1 = %DiskId1%,,,
;
; Registry Entries
;
[veracrypt.AddReg]
HKLM, System\CurrentControlSet\Control\Class\{4d36e967-e325-11ce-bfc1-08002be10318}, UpperFilters, 0x00010008, veracrypt
HKLM, System\CurrentControlSet\Control\Class\{4d36e967-e325-11ce-bfc1-08002be10318}, UpperFilters, 0x00010008, PartMgr
;;
;; String Section
;;
[Strings]
ProviderString = "IDRIX"
ServiceDescription = "veracrypt"
DiskId1 = "VeraCrypt Device Installation Disk"
|