From e45ac30b65e8a5ba74ab0303808b12424cadd13c Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Wed, 4 May 2016 16:25:49 -0700 Subject: [PATCH] tools: build.bat: add friendly MSI name when signing (primarily for use in UAC dialog) --- tools/build.bat | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/build.bat b/tools/build.bat index 385e301a..b36b9325 100644 --- a/tools/build.bat +++ b/tools/build.bat @@ -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 )