Windows: Update driver inf file to meet new requirements for Microsoft driver submission

This commit is contained in:
Mounir IDRASSI 2023-07-23 11:15:05 +02:00
parent b1cc49e3d7
commit 2111084fc6
No known key found for this signature in database
GPG Key ID: 02C30AE90FAE4A6F

View File

@ -22,23 +22,29 @@ veracrypt.DriverFiles = 12 ;%windir%\system32\drivers
;; Default install sections
;;
[DefaultInstall]
[DefaultInstall.NTx86]
OptionDesc = %ServiceDescription%
CopyFiles = veracrypt.DriverFiles
AddReg = veracrypt.AddReg
[DefaultInstall.Services]
[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
;;
;; Default uninstall sections
;;
[DefaultInstall.NTamd64.Services]
AddService = veracrypt,,veracrypt.Service
[DefaultUninstall]
DelFiles = veracrypt.DriverFiles
[DefaultUninstall.Services]
DelService = veracrypt,0x200 ;Ensure service is stopped before deleting
[DefaultInstall.NTarm64.Services]
AddService = veracrypt,,veracrypt.Service
;
; Services Section