reactos/media/inf/btrfs.inf
Joachim Henze 3ee039917c [0.4.14][BTRFS] Workaround unrecognized device CORE-17388
Avoids the wizard for unrecognized devices to pop
up after each and every reboot when BTRFS is used.
Also slightly 'improves' the displaying in device manager.
Both regressed by 0.4.14-dev-1535-g 194ea909fd

This is no proper solution, but more or less the same
that we did for 0.4.13 release already.

The proper fix will come in 0.4.15-dev'ing with
the storage-stack-rewrite and does not require those
4 lines to be added in the btrfs.inf anymore.
2021-07-08 18:10:29 +02:00

133 lines
2.8 KiB
INI

;;;
;;; WinBtrfs
;;;
;;;
;;; Copyright (c) 2016-20 Mark Harmstone
;;;
[Version]
Signature = "$Windows NT$"
Class = Volume
ClassGuid = {71a27cdd-812a-11d0-bec7-08002be2092f}
Provider = %Me%
DriverVer = 04/10/2020,1.7.2.0
CatalogFile = btrfs.cat
[DestinationDirs]
DefaultDestDir = 12
Btrfs.DriverFiles = 12 ;%windir%\system32\drivers
Btrfs.DllFiles = 11 ;%windir%\system32
;;
;; Default install sections
;;
[DefaultInstall]
OptionDesc = %ServiceDescription%
CopyFiles = Btrfs.DriverFiles,Btrfs.DllFiles
RegisterDlls = shellbtrfs
CopyINF = btrfs.inf
[DefaultInstall.Services]
AddService = %ServiceName%,0x802,Btrfs.Service
[Manufacturer]
%Me%=Standard,NTamd64,NTx86,NTarm,NTarm64
[Standard.NTamd64]
%VolumeName% = Btrfs_Install, BtrfsVolume
%ControllerName% = Btrfs_Install, ROOT\btrfs
%ControllerName% = Btrfs_Install, DETECTED\BTRFS
[Standard.NTx86]
%VolumeName% = Btrfs_Install, BtrfsVolume
%ControllerName% = Btrfs_Install, ROOT\btrfs
%ControllerName% = Btrfs_Install, DETECTED\BTRFS
[Standard.NTarm]
%VolumeName% = Btrfs_Install, BtrfsVolume
%ControllerName% = Btrfs_Install, ROOT\btrfs
%ControllerName% = Btrfs_Install, DETECTED\BTRFS
[Standard.NTarm64]
%VolumeName% = Btrfs_Install, BtrfsVolume
%ControllerName% = Btrfs_Install, ROOT\btrfs
%ControllerName% = Btrfs_Install, DETECTED\BTRFS
[Btrfs_Install]
OptionDesc = %ServiceDescription%
CopyFiles = Btrfs.DriverFiles,Btrfs.DllFiles
RegisterDlls = shellbtrfs
[Btrfs_Install.Services]
AddService = %ServiceName%,2,Btrfs.Service
;;
;; Default uninstall sections
;;
[DefaultUninstall]
UnregisterDlls = shellbtrfs
DelFiles = Btrfs.DriverFiles,Btrfs.DllFiles
[DefaultUninstall.Services]
DelService = %ServiceName%,0x200 ;Ensure service is stopped before deleting
;
; Services Section
;
[Btrfs.Service]
DisplayName = %ServiceName%
Description = %ServiceDescription%
ServiceBinary = %12%\%DriverName%.sys ;%windir%\system32\drivers\
ServiceType = 1
StartType = 1 ;SERVICE_SYSTEM_START
ErrorControl = 1
LoadOrderGroup = "File System"
[shellbtrfs]
11,,shellbtrfs.dll,1
;
; Copy Files
;
[Btrfs.DriverFiles]
%DriverName%.sys
[Btrfs.DllFiles]
shellbtrfs.dll
ubtrfs.dll
mkbtrfs.exe
[SourceDisksFiles]
btrfs.sys = 1,,
shellbtrfs.dll = 1,,
ubtrfs.dll = 1,,
mkbtrfs.exe = 1,,
[SourceDisksNames.x86]
1 = %DiskId1%,,,\x86
[SourceDisksNames.amd64]
1 = %DiskId1%,,,\x64
[SourceDisksNames.arm]
1 = %DiskId1%,,,\arm
[SourceDisksNames.arm64]
1 = %DiskId1%,,,\aarch64
;;
;; String Section
;;
[Strings]
Me = "Mark Harmstone"
ServiceDescription = "Btrfs driver"
ServiceName = "btrfs"
DriverName = "btrfs"
DiskId1 = "Btrfs Device Installation Disk"
VolumeName = "Btrfs volume"
ControllerName = "Btrfs controller"