1
0
mirror of https://github.com/bobranten/Ext4Fsd.git synced 2025-10-29 13:18:30 -05:00

Package signing scripts

This commit is contained in:
LTRData
2024-03-01 12:32:36 +01:00
parent ca4d971dd5
commit 6a9c283a85
2 changed files with 65 additions and 0 deletions

50
Ext4Fsd/ext2fsd_dummy.inf Normal file
View File

@@ -0,0 +1,50 @@
; DUMMY.INF
; Dummy inf file.
[Version]
signature = "$Windows NT$"
Class = SCSIAdapter
ClassGUID = {4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider = "LTR Data"
DriverVer = 02/22/2024,12.51.57.866
CatalogFile = ext2fsd_dummy.cat
[SourceDisksNames]
1 = "EXT4 File System Driver"
[SourceDisksFiles.x86]
ext2fsd.sys = 1, x86
[SourceDisksFiles.amd64]
ext2fsd.sys = 1, x64
[SourceDisksFiles.arm]
ext2fsd.sys = 1, arm
[SourceDisksFiles.arm64]
ext2fsd.sys = 1, arm64
[DestinationDirs]
ext2fsdSysFiles = 12
[DefaultInstall.ntx86]
CopyFiles = ext2fsdSysFiles
[ext2fsdSysFiles]
ext2fsd.sys
[DefaultInstall.ntx86.Services]
AddService = ext2fsd, , ext2fsdDrv
[ext2fsdDrv]
DisplayName = "EXT4 File System Driver"
StartType = 1
ServiceType = 2
ErrorControl = 0
ServiceBinary = %12%\ext2fsd.sys

15
Ext4Fsd/mkcab.cmd Normal file
View File

@@ -0,0 +1,15 @@
copy /y ext2fsd_dummy.inf Release\
stampinf -d * -v * -f Release\ext2fsd_dummy.inf -a NTx86,NTamd64,NTia64,NTARM,NTARM64 || goto :eof
inf2cat /driver:Release /os:XP_X86,2000,XP_X64,Vista_X86,Vista_X64,7_X86,7_X64,Server2003_X86,Server2003_X64,Server2003_IA64,Server2008_X86,Server2008_X64,Server2008_IA64,Server2008R2_X64,Server2008R2_IA64,8_X86,8_X64,8_ARM,10_RS3_X86,10_RS3_X64,10_RS3_ARM64 || goto :eof
if exist cab\ext2fsd.cab del cab\ext2fsd.cab
if not exist cab mkdir cab
cabarc -p -r n cab\ext2fsd.cab Release\ext2fsd_dummy.inf Release\ext2fsd*.sys Release\ext2fsd*.pdb || goto :eof
if not exist cab\ext2fsd.cab goto :eof
signtool sign /a /as /v /sha1 a065b19d9f5a23bc67bb1cf6872283f504ba04b1 /fd sha256 /tr "http://sha256timestamp.ws.symantec.com/sha256/timestamp" cab\ext2fsd.cab || goto :eof