From 75705ddde7bf600c668c2e0594d89b89d5735680 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Thu, 19 Apr 2018 10:10:04 +0200 Subject: Windows: fix driver inf file --- src/Release/Setup Files/veracrypt-x64.cat | Bin 10590 -> 10593 bytes src/Release/Setup Files/veracrypt-x64.sys | Bin 828688 -> 828688 bytes src/Release/Setup Files/veracrypt.Inf | 37 +++++++++++++++++------------- src/Release/Setup Files/veracrypt.cat | Bin 10558 -> 10557 bytes src/Release/Setup Files/veracrypt.sys | Bin 768528 -> 768528 bytes 5 files changed, 21 insertions(+), 16 deletions(-) (limited to 'src/Release') diff --git a/src/Release/Setup Files/veracrypt-x64.cat b/src/Release/Setup Files/veracrypt-x64.cat index 37a162c2..c3fe4afe 100644 Binary files a/src/Release/Setup Files/veracrypt-x64.cat 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 f998a592..aaef79f4 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 index 57f7f0af..7cc7c4e1 100644 --- a/src/Release/Setup Files/veracrypt.Inf +++ b/src/Release/Setup Files/veracrypt.Inf @@ -10,13 +10,13 @@ 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 +DriverVer = 04/18/2018,1.23.0.0 CatalogFile = veracrypt.cat [DestinationDirs] DefaultDestDir = 12 -MiniFilter.DriverFiles = 12 ;%windir%\system32\drivers +veracrypt.DriverFiles = 12 ;%windir%\system32\drivers ;; ;; Default install sections @@ -24,17 +24,18 @@ MiniFilter.DriverFiles = 12 ;%windir%\system32\drivers [DefaultInstall] OptionDesc = %ServiceDescription% -CopyFiles = MiniFilter.DriverFiles +CopyFiles = veracrypt.DriverFiles +AddReg = veracrypt.AddReg [DefaultInstall.Services] -AddService = %ServiceName%,,MiniFilter.Service +AddService = veracrypt,,veracrypt.Service ;; ;; Default uninstall sections ;; [DefaultUninstall] -DelFiles = MiniFilter.DriverFiles +DelFiles = veracrypt.DriverFiles [DefaultUninstall.Services] DelService = veracrypt,0x200 ;Ensure service is stopped before deleting @@ -43,23 +44,21 @@ DelService = veracrypt,0x200 ;Ensure service is stopped before deleting ; Services Section ; -[MiniFilter.Service] -DisplayName = %ServiceName% +[veracrypt.Service] +DisplayName = %ServiceDescription% Description = %ServiceDescription% -ServiceBinary = %12%\%DriverName%.sys ;%windir%\system32\drivers\ -Dependencies = "FltMgr" +ServiceBinary = %12%\veracrypt.sys ;%windir%\system32\drivers\ ServiceType = 2 ;SERVICE_FILE_SYSTEM_DRIVER -;StartType = 0 ;SERVICE_BOOT_START -StartType = 3 ;SERVICE_DEMAND_START +StartType = 0 ;SERVICE_BOOT_START ErrorControl = 1 ;SERVICE_ERROR_NORMAL -LoadOrderGroup = "FSFilter Encryption" +LoadOrderGroup = "Filter" ; ; Copy Files ; -[MiniFilter.DriverFiles] -%DriverName%.sys +[veracrypt.DriverFiles] +veracrypt.sys [SourceDisksFiles] veracrypt.sys = 1,, @@ -67,6 +66,14 @@ 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 ;; @@ -74,7 +81,5 @@ veracrypt.sys = 1,, [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 index a7702aa9..1507f049 100644 Binary files a/src/Release/Setup Files/veracrypt.cat 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 bf33021a..9690c70b 100644 Binary files a/src/Release/Setup Files/veracrypt.sys and b/src/Release/Setup Files/veracrypt.sys differ -- cgit v1.2.3