1;;; 2;;; WinBtrfs 3;;; 4;;; 5;;; Copyright (c) 2016-20 Mark Harmstone 6;;; 7 8[Version] 9Signature = "$Windows NT$" 10Class = Volume 11ClassGuid = {71a27cdd-812a-11d0-bec7-08002be2092f} 12Provider = %Me% 13DriverVer = 04/10/2020,1.7.2.0 14CatalogFile = btrfs.cat 15 16[DestinationDirs] 17DefaultDestDir = 12 18Btrfs.DriverFiles = 12 ;%windir%\system32\drivers 19Btrfs.DllFiles = 11 ;%windir%\system32 20 21;; 22;; Default install sections 23;; 24 25[DefaultInstall] 26OptionDesc = %ServiceDescription% 27CopyFiles = Btrfs.DriverFiles,Btrfs.DllFiles 28RegisterDlls = shellbtrfs 29CopyINF = btrfs.inf 30 31[DefaultInstall.Services] 32AddService = %ServiceName%,0x802,Btrfs.Service 33 34[Manufacturer] 35%Me%=Standard,NTamd64,NTx86,NTarm,NTarm64 36 37[Standard.NTamd64] 38%VolumeName% = Btrfs_Install, BtrfsVolume 39%ControllerName% = Btrfs_Install, ROOT\btrfs 40 41[Standard.NTx86] 42%VolumeName% = Btrfs_Install, BtrfsVolume 43%ControllerName% = Btrfs_Install, ROOT\btrfs 44 45[Standard.NTarm] 46%VolumeName% = Btrfs_Install, BtrfsVolume 47%ControllerName% = Btrfs_Install, ROOT\btrfs 48 49[Standard.NTarm64] 50%VolumeName% = Btrfs_Install, BtrfsVolume 51%ControllerName% = Btrfs_Install, ROOT\btrfs 52 53[Btrfs_Install] 54OptionDesc = %ServiceDescription% 55CopyFiles = Btrfs.DriverFiles,Btrfs.DllFiles 56RegisterDlls = shellbtrfs 57 58[Btrfs_Install.Services] 59AddService = %ServiceName%,2,Btrfs.Service 60 61;; 62;; Default uninstall sections 63;; 64 65[DefaultUninstall] 66UnregisterDlls = shellbtrfs 67DelFiles = Btrfs.DriverFiles,Btrfs.DllFiles 68 69[DefaultUninstall.Services] 70DelService = %ServiceName%,0x200 ;Ensure service is stopped before deleting 71 72; 73; Services Section 74; 75 76[Btrfs.Service] 77DisplayName = %ServiceName% 78Description = %ServiceDescription% 79ServiceBinary = %12%\%DriverName%.sys ;%windir%\system32\drivers\ 80ServiceType = 1 81StartType = 1 ;SERVICE_SYSTEM_START 82ErrorControl = 1 83LoadOrderGroup = "File System" 84 85[shellbtrfs] 8611,,shellbtrfs.dll,1 87 88; 89; Copy Files 90; 91 92[Btrfs.DriverFiles] 93%DriverName%.sys 94 95[Btrfs.DllFiles] 96shellbtrfs.dll 97ubtrfs.dll 98mkbtrfs.exe 99 100[SourceDisksFiles] 101btrfs.sys = 1,, 102shellbtrfs.dll = 1,, 103ubtrfs.dll = 1,, 104mkbtrfs.exe = 1,, 105 106[SourceDisksNames.x86] 1071 = %DiskId1%,,,\x86 108 109[SourceDisksNames.amd64] 1101 = %DiskId1%,,,\x64 111 112[SourceDisksNames.arm] 1131 = %DiskId1%,,,\arm 114 115[SourceDisksNames.arm64] 1161 = %DiskId1%,,,\aarch64 117 118;; 119;; String Section 120;; 121 122[Strings] 123Me = "Mark Harmstone" 124ServiceDescription = "Btrfs driver" 125ServiceName = "btrfs" 126DriverName = "btrfs" 127DiskId1 = "Btrfs Device Installation Disk" 128VolumeName = "Btrfs volume" 129ControllerName = "Btrfs controller" 130