2016-03-24 16:05:02 +00:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
set wd=%~dp0
|
|
|
|
set compressFile=%temp%\vn-support.7z
|
|
|
|
set exeFile=%wd%\web\vn-support.exe
|
|
|
|
|
|
|
|
"%programFiles%\7-Zip\7z.exe" a "%compressFile%" "%wd%\client\*"
|
|
|
|
copy /b "%wd%\7zip\7zsd_LZMA2.sfx" + "%wd%\7zip\config.txt" + "%compressFile%" "%exeFile%"
|
|
|
|
del "%compressFile%"
|
|
|
|
|
|
|
|
rem signtool.exe sign /a /f "C:\cert.pfx" /n "Verdnatura" /t ^
|
|
|
|
rem http://timestamp.comodoca.com/authenticode /d "Remote Support" "%exeFile%"
|
2018-04-14 01:55:41 +00:00
|
|
|
|
|
|
|
rem "C:\Program Files(x86)\Windows Kits\10\bin\x86\signtool.exe" sign /tr ^
|
|
|
|
rem http://timestamp.comodoca.com?td=sha256 /td sha256 /fd sha256 /f verdnatura.p12 "%exeFile%"
|
|
|
|
|