1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-16 22:35:04 -05:00

* code sign NSIS installer

This commit is contained in:
Reinhard Pointner 2015-08-21 21:35:01 +00:00
parent 48ce0f3d32
commit 4727de1006
2 changed files with 1 additions and 5 deletions

Binary file not shown.

View File

@ -1,8 +1,4 @@
del FileBot-setup.exe
makensis filebot.nsi
del MyCA.pvk MyCA.cer MySPC.pvk MySPC.cer MySPC.pfx
makecert -r -pe -n "CN=FileBot CA" -ss CA -sr CurrentUser -a sha256 -cy authority -sky signature -sv MyCA.pvk MyCA.cer
makecert -pe -n "CN=FileBot NSIS" -a sha256 -cy end -sky signature -ic MyCA.cer -iv MyCA.pvk -sv MySPC.pvk MySPC.cer
pvk2pfx -pvk MySPC.pvk -spc MySPC.cer -pfx MySPC.pfx
signtool sign /v /f MySPC.pfx FileBot-setup.exe
signtool sign /t http://timestamp.verisign.com/scripts/timstamp.dll /v /a FileBot-setup.exe