Files
UnrealEngineUWP/Engine/Source/Programs/PrereqInstaller/CustomAction/SignOutput.bat
Ryan Durand 9ef3748747 Updating copyrights for Engine Programs.
#rnx
#rb none
#jira none

#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869242 in //Fortnite/Release-12.00/... via CL 10869536
#ROBOMERGE-BOT: FORTNITE (Main -> Dev-EngineMerge) (v613-10869866)

[CL 10870955 by Ryan Durand in Main branch]
2019-12-26 23:01:54 -05:00

33 lines
733 B
Batchfile

@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