VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Driver/veracrypt.Inf
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2024-11-15 14:22:45 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2024-11-15 14:22:45 +0100
commit214fbb5cbde3dd600aa8bfe738011d428c4a4fda (patch)
tree2cfeb7f2038c2ee2c7957e3f3542375dbec892c5 /src/Driver/veracrypt.Inf
parentde9e472d10f6b3a6385ec701b03b4156fab7fec4 (diff)
downloadVeraCrypt-214fbb5cbde3dd600aa8bfe738011d428c4a4fda.tar.gz
VeraCrypt-214fbb5cbde3dd600aa8bfe738011d428c4a4fda.zip
Windows: Upgrade VS 2019 solution/projects to VS 2022. Remove Win32 configuration for driver and binaries.
Only setup remains 32-bit to be compatible with both x64 and arm64 Windows.
Diffstat (limited to 'src/Driver/veracrypt.Inf')
-rw-r--r--src/Driver/veracrypt.Inf91
1 files changed, 91 insertions, 0 deletions
diff --git a/src/Driver/veracrypt.Inf b/src/Driver/veracrypt.Inf
new file mode 100644
index 00000000..d2cef1b4
--- /dev/null
+++ b/src/Driver/veracrypt.Inf
@@ -0,0 +1,91 @@
+;;;
+;;; VeraCrypt
+;;;
+;;;
+;;; Copyright (c) 2024, 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 = ;
+CatalogFile = veracrypt.cat
+PnpLockdown = 1
+
+[DestinationDirs]
+DefaultDestDir = 12
+veracrypt.DriverFiles = 12 ;%windir%\system32\drivers
+
+;;
+;; Default install sections
+;;
+
+[DefaultInstall.NTx86]
+OptionDesc = %ServiceDescription%
+CopyFiles = veracrypt.DriverFiles
+AddReg = veracrypt.AddReg
+
+[DefaultInstall.NTamd64]
+OptionDesc = %ServiceDescription%
+CopyFiles = veracrypt.DriverFiles
+AddReg = veracrypt.AddReg
+
+[DefaultInstall.NTarm64]
+OptionDesc = %ServiceDescription%
+CopyFiles = veracrypt.DriverFiles
+AddReg = veracrypt.AddReg
+
+[DefaultInstall.NTx86.Services]
+AddService = veracrypt,,veracrypt.Service
+
+[DefaultInstall.NTamd64.Services]
+AddService = veracrypt,,veracrypt.Service
+
+[DefaultInstall.NTarm64.Services]
+AddService = veracrypt,,veracrypt.Service
+
+;
+; 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"
+