Files
UnrealEngineUWP/Engine/Source/Programs/UnrealGameSync/Installer/Build.bat
Ben Marsh 0a11ef3048 Back out UGS upgrade to NET 6
#fyi Joe.Kirchoff
#preflight none

[CL 20593478 by Ben Marsh in ue5-main branch]
2022-06-10 07:36:46 -04:00

19 lines
979 B
Batchfile
Executable File

@echo off
setlocal
pushd %~dp0
set WIXDIR=..\..\..\ThirdParty\WiX\3.8
set SRCDIR=..\UnrealGameSyncLauncher\bin\Release\netcoreapp3.1
%WIXDIR%\heat.exe dir "%SRCDIR%" -cg UGSLauncher_Project -dr INSTALLFOLDER -scom -sreg -srd -var var.BasePath -gg -sfrag -out obj/Release/UGSLauncher.wxs -nologo
if errorlevel 1 goto :eof
%WIXDIR%\candle.exe -nologo -dBasePath="%SRCDIR%" -out obj\Release\ -dConfiguration=Release -dPlatform=x64 -arch x86 -ext ..\..\..\ThirdParty\WiX\3.8\WixUtilExtension.dll Product.wxs obj/Release/UGSLauncher.wxs
if errorlevel 1 goto :eof
set OUTPUT=%~dp0bin\Release\UnrealGameSync.msi
echo Linking %OUTPUT%...
%WIXDIR%\light.exe -nologo -out "bin/Release/UnrealGameSync.msi" -pdbout "bin/Release/UnrealGameSync.wixpdb" -cultures:null -ext ..\..\..\ThirdParty\WiX\3.8\WixUtilExtension.dll -sice:ICE69 obj\Release\Product.wixobj obj\Release\UGSLauncher.wixobj
if errorlevel 1 goto :eof
if not exist "%OUTPUT%" echo Unable to find MSI: %OUTPUT% & goto :eof