update signed/

This commit is contained in:
a1xd 2025-02-17 14:44:34 -05:00
parent 0186cda146
commit 5b39bb6a53
14 changed files with 142 additions and 4 deletions

17
.gitignore vendored
View file

@ -26,9 +26,6 @@ bld/
[Bb]in/
[Oo]bj/
[Ll]og/
signed/*
!signed/driver/
!signed/*install*.exe
# Visual Studio 2015/2017 cache/options directory
.vs/
@ -351,4 +348,16 @@ ASALocalRun/
.localhistory/
# BeatPulse healthcheck temp database
healthchecksdb
healthchecksdb
# signed files
signed/**
!signed/readme.txt
!signed/*/
!signed/*/sign.ps1
!signed/*/*install*.exe
!signed/*/rawaccel.ddf
!signed/*/rawaccel.inf
!signed/*/driver/
!signed/*/driver/rawaccel.sys
signed/RawAccel/

Binary file not shown.

BIN
signed/ARM64/installer.exe Normal file

Binary file not shown.

19
signed/ARM64/rawaccel.ddf Normal file
View file

@ -0,0 +1,19 @@
.OPTION EXPLICIT ; Generate errors
.Set CabinetFileCountThreshold=0
.Set FolderFileCountThreshold=0
.Set FolderSizeThreshold=0
.Set MaxCabinetSize=0
.Set MaxDiskFileCount=0
.Set MaxDiskSize=0
.Set CompressionType=MSZIP
.Set Cabinet=on
.Set Compress=on
;Specify file name for new cab file
.Set CabinetNameTemplate=rawaccel.cab
; Specify the subdirectory for the files.
; Your cab file should not have files at the root level,
; and each driver package must be in a separate subfolder.
.Set DestinationDir=rawaccel
;Specify files to be included in cab file
driver\rawaccel.sys
rawaccel.inf

33
signed/ARM64/rawaccel.inf Normal file
View file

@ -0,0 +1,33 @@
[Version]
Signature="$WINDOWS NT$"
Class=Volume
ClassGuid={71a27cdd-812a-11d0-bec7-08002be2092f}
Provider=%PROV%
DriverVer=08/08/2010, 1.0.0.0
CatalogFile=Driver.cat
CatalogFile.NTARM64 = testdriver.cat
[DestinationDirs]
DefaultDestDir = 12
[Manufacturer]
%StdMfg%=Standard,NTARM64
[Standard.NTARM64]
%Driver.DeviceDesc%=Driver_Device, STORAGE\Driver
[Driver_Device.NTARM64]
;
; Nothing to do (these devices are raw). We just needed an INF
; match so these don't show up as "unknown" devices.
;
;-------------- Service installation
[Driver_Device.NTARM64.Services]
AddService = ,2, ; Run the device RAW
[Strings]
PROV = "Copyright (C) 2015 DUMMY LLC"
StdMfg = "(Standard system devices)"
Driver.DeviceDesc = "Driver"

8
signed/ARM64/sign.ps1 Normal file
View file

@ -0,0 +1,8 @@
# signtool should be in C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool\
$CERT_NAME = "DWIVEDI, ALEXANDER ASHOK"
MakeCab /f rawaccel.ddf
signtool sign /n $CERT_NAME /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 disk1\rawaccel.cab
signtool sign /n $CERT_NAME /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 installer.exe
signtool sign /n $CERT_NAME /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 uninstaller.exe

Binary file not shown.

9
signed/readme.txt Normal file
View file

@ -0,0 +1,9 @@
To sign for ARCH
- from <project root>\ARCH\Release\ to .\ARCH\, copy
- installer.exe
- uninstaller.exe
- driver\
- change CERT_NAME definition at the top of .\ARCH\sign.ps1
- run .\ARCH\sign.ps1
- submit .\ARCH\disk1\rawaccel.cab to MS Partner Center: https://partner.microsoft.com/en-us/dashboard/hardware/driver/New
- extract rawaccel.sys from submission to .\ARCH\driver\

Binary file not shown.

BIN
signed/x64/installer.exe Normal file

Binary file not shown.

19
signed/x64/rawaccel.ddf Normal file
View file

@ -0,0 +1,19 @@
.OPTION EXPLICIT ; Generate errors
.Set CabinetFileCountThreshold=0
.Set FolderFileCountThreshold=0
.Set FolderSizeThreshold=0
.Set MaxCabinetSize=0
.Set MaxDiskFileCount=0
.Set MaxDiskSize=0
.Set CompressionType=MSZIP
.Set Cabinet=on
.Set Compress=on
;Specify file name for new cab file
.Set CabinetNameTemplate=rawaccel.cab
; Specify the subdirectory for the files.
; Your cab file should not have files at the root level,
; and each driver package must be in a separate subfolder.
.Set DestinationDir=rawaccel
;Specify files to be included in cab file
driver\rawaccel.sys
rawaccel.inf

33
signed/x64/rawaccel.inf Normal file
View file

@ -0,0 +1,33 @@
[Version]
Signature="$WINDOWS NT$"
Class=Volume
ClassGuid={71a27cdd-812a-11d0-bec7-08002be2092f}
Provider=%PROV%
DriverVer=08/08/2010, 1.0.0.0
CatalogFile=Driver.cat
CatalogFile.NTAMD64 = testdriver.cat
[DestinationDirs]
DefaultDestDir = 12
[Manufacturer]
%StdMfg%=Standard,NTAMD64
[Standard.NTAMD64]
%Driver.DeviceDesc%=Driver_Device, STORAGE\Driver
[Driver_Device.NTAMD64]
;
; Nothing to do (these devices are raw). We just needed an INF
; match so these don't show up as "unknown" devices.
;
;-------------- Service installation
[Driver_Device.NTAMD64.Services]
AddService = ,2, ; Run the device RAW
[Strings]
PROV = "Copyright (C) 2015 DUMMY LLC"
StdMfg = "(Standard system devices)"
Driver.DeviceDesc = "Driver"

8
signed/x64/sign.ps1 Normal file
View file

@ -0,0 +1,8 @@
# signtool should be in C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool\
$CERT_NAME = "DWIVEDI, ALEXANDER ASHOK"
MakeCab /f rawaccel.ddf
signtool sign /n $CERT_NAME /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 disk1\rawaccel.cab
signtool sign /n $CERT_NAME /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 installer.exe
signtool sign /n $CERT_NAME /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 uninstaller.exe

BIN
signed/x64/uninstaller.exe Normal file

Binary file not shown.