13 lines
432 B
Batchfile
13 lines
432 B
Batchfile
@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%"
|