From 4519bb494e7c88890aa0022d4aaabffb0b6d8faf Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 16 Apr 2018 23:48:54 +0200 Subject: Windows: implement compatibility for Windows 10 major updates using ReflectDrivers mechanism whose support started from Windows 10 version 1607. --- src/Release/Setup Files/veracrypt-x64.cat | Bin 0 -> 10590 bytes src/Release/Setup Files/veracrypt-x64.sys | Bin 828688 -> 828688 bytes src/Release/Setup Files/veracrypt.Inf | 80 ++++++++++++++++++++++++++++++ src/Release/Setup Files/veracrypt.cat | Bin 0 -> 10558 bytes src/Release/Setup Files/veracrypt.sys | Bin 768528 -> 768528 bytes 5 files changed, 80 insertions(+) create mode 100644 src/Release/Setup Files/veracrypt-x64.cat create mode 100644 src/Release/Setup Files/veracrypt.Inf create mode 100644 src/Release/Setup Files/veracrypt.cat (limited to 'src/Release') diff --git a/src/Release/Setup Files/veracrypt-x64.cat b/src/Release/Setup Files/veracrypt-x64.cat new file mode 100644 index 00000000..37a162c2 Binary files /dev/null and b/src/Release/Setup Files/veracrypt-x64.cat differ diff --git a/src/Release/Setup Files/veracrypt-x64.sys b/src/Release/Setup Files/veracrypt-x64.sys index 6c5227e7..f998a592 100644 Binary files a/src/Release/Setup Files/veracrypt-x64.sys and b/src/Release/Setup Files/veracrypt-x64.sys differ diff --git a/src/Release/Setup Files/veracrypt.Inf b/src/Release/Setup Files/veracrypt.Inf new file mode 100644 index 00000000..57f7f0af --- /dev/null +++ b/src/Release/Setup Files/veracrypt.Inf @@ -0,0 +1,80 @@ +;;; +;;; VeraCrypt +;;; +;;; +;;; Copyright (c) 2018, 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 = 04/14/2018,1.23.0.0 +CatalogFile = veracrypt.cat + + +[DestinationDirs] +DefaultDestDir = 12 +MiniFilter.DriverFiles = 12 ;%windir%\system32\drivers + +;; +;; Default install sections +;; + +[DefaultInstall] +OptionDesc = %ServiceDescription% +CopyFiles = MiniFilter.DriverFiles + +[DefaultInstall.Services] +AddService = %ServiceName%,,MiniFilter.Service + +;; +;; Default uninstall sections +;; + +[DefaultUninstall] +DelFiles = MiniFilter.DriverFiles + +[DefaultUninstall.Services] +DelService = veracrypt,0x200 ;Ensure service is stopped before deleting + +; +; Services Section +; + +[MiniFilter.Service] +DisplayName = %ServiceName% +Description = %ServiceDescription% +ServiceBinary = %12%\%DriverName%.sys ;%windir%\system32\drivers\ +Dependencies = "FltMgr" +ServiceType = 2 ;SERVICE_FILE_SYSTEM_DRIVER +;StartType = 0 ;SERVICE_BOOT_START +StartType = 3 ;SERVICE_DEMAND_START +ErrorControl = 1 ;SERVICE_ERROR_NORMAL +LoadOrderGroup = "FSFilter Encryption" + +; +; Copy Files +; + +[MiniFilter.DriverFiles] +%DriverName%.sys + +[SourceDisksFiles] +veracrypt.sys = 1,, + +[SourceDisksNames] +1 = %DiskId1%,,, + +;; +;; String Section +;; + +[Strings] +ProviderString = "IDRIX" +ServiceDescription = "veracrypt" +ServiceName = "veracrypt" +DriverName = "veracrypt" +DiskId1 = "VeraCrypt Device Installation Disk" + diff --git a/src/Release/Setup Files/veracrypt.cat b/src/Release/Setup Files/veracrypt.cat new file mode 100644 index 00000000..a7702aa9 Binary files /dev/null and b/src/Release/Setup Files/veracrypt.cat differ diff --git a/src/Release/Setup Files/veracrypt.sys b/src/Release/Setup Files/veracrypt.sys index 832ca495..bf33021a 100644 Binary files a/src/Release/Setup Files/veracrypt.sys and b/src/Release/Setup Files/veracrypt.sys differ -- cgit v1.2.3