diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2018-04-19 10:10:04 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2018-04-23 16:59:34 +0200 |
commit | 75705ddde7bf600c668c2e0594d89b89d5735680 (patch) | |
tree | 2322332bd0f82f634b933584981ccfd94c707fd0 /src/Release/Setup Files/veracrypt.Inf | |
parent | 4519bb494e7c88890aa0022d4aaabffb0b6d8faf (diff) | |
download | VeraCrypt-75705ddde7bf600c668c2e0594d89b89d5735680.tar.gz VeraCrypt-75705ddde7bf600c668c2e0594d89b89d5735680.zip |
Windows: fix driver inf file
Diffstat (limited to 'src/Release/Setup Files/veracrypt.Inf')
-rw-r--r-- | src/Release/Setup Files/veracrypt.Inf | 37 |
1 files changed, 21 insertions, 16 deletions
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" |