Files
UnrealEngineUWP/Engine/Source/Programs/PrereqInstaller/CustomAction/SignOutput.bat
Ben Marsh 99be00dcdb Merging latest from Private-Starship.
[CL 13192225 by Ben Marsh in ue5-main branch]
2020-05-05 18:50:52 -04:00

33 lines
733 B
Batchfile
Executable File

@echo off
rem ## Copyright Epic Games, Inc. All Rights Reserved.
echo Starting signing of custom action dll
set ErrorCode=0
set SignOutput=%1
set SignTool=%2
set SigningIdentity=%3
set TimeStampServer=%4
set File=%5
if %SignOutput%==false goto :SKIPSIGN
echo SignOutput=%SignOutput%
echo SignTool=%SignTool%
echo SigningIdentity=%SigningIdentity%
echo TimeStampServer=%TimeStampServer%
echo File=%File%
echo %SignTool% sign /a /n %SigningIdentity% /t %TimeStampServer% /v %File%
%SignTool% sign /a /n %SigningIdentity% /t %TimeStampServer% /v %File%
set ErrorCode=%ERRORLEVEL%
:END
echo Sign custom action dll completed with ErrorCode: %ErrorCode%
exit /b %ErrorCode%
:SKIPSIGN
echo Skipped signing of file: %File%
exit /b 0