mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
tools: build.bat: add friendly MSI name when signing (primarily for use in UAC dialog)
This commit is contained in:
parent
cbb7d943bd
commit
e45ac30b65
@ -1,6 +1,7 @@
|
||||
@echo off
|
||||
|
||||
set Configuration=Release
|
||||
set MsiName="WinFsp - Windows File System Proxy"
|
||||
set CrossCert="%~dp0DigiCert High Assurance EV Root CA.crt"
|
||||
set Issuer="DigiCert"
|
||||
set Subject="Navimatics Corporation"
|
||||
@ -23,6 +24,6 @@ for %%f in (build\%Configuration%\winfsp-x64.sys build\%Configuration%\winfsp-x8
|
||||
devenv winfsp.sln /build "Installer.%Configuration%|x86"
|
||||
|
||||
for %%f in (build\%Configuration%\winfsp-*.msi) do (
|
||||
signtool sign /ac %CrossCert% /i %Issuer% /n %Subject% /fd sha1 /t http://timestamp.digicert.com %%f
|
||||
REM signtool sign /ac %CrossCert% /i %Issuer% /n %Subject% /fd sha256 /tr http://timestamp.digicert.com /td sha256 %%f
|
||||
signtool sign /ac %CrossCert% /i %Issuer% /n %Subject% /fd sha1 /t http://timestamp.digicert.com /d %MsiName% %%f
|
||||
REM signtool sign /ac %CrossCert% /i %Issuer% /n %Subject% /fd sha256 /tr http://timestamp.digicert.com /td sha256 /d %MsiName% %%f
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user