From 730004071f465bdf5a0fc7e2a4732178737a89b3 Mon Sep 17 00:00:00 2001 From: "Andrew J.Swan" Date: Wed, 27 Mar 2024 17:13:25 +0200 Subject: [PATCH] Update Create Installer --- scripts/Create_Installer.bat | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/Create_Installer.bat b/scripts/Create_Installer.bat index d97126c..34f4494 100644 --- a/scripts/Create_Installer.bat +++ b/scripts/Create_Installer.bat @@ -15,5 +15,11 @@ IF NOT EXIST "%PROGS%\Team MediaPortal\MediaPortal\" SET PROGS=C: :: Get version from DLL FOR /F "tokens=*" %%i IN ('Tools\sigcheck.exe /accepteula /nobanner /n "..\LatestMediaHandler\bin\Release\LatestMediaHandler.dll"') DO (SET version=%%i) +:: Temp xmp2 file +copy /Y LatestMediaHandler.xmp2 LatestMediaHandlerTemp.xmp2 + :: Build mpe1 -"%PROGS%\Team MediaPortal\MediaPortal\MPEMaker.exe" LatestMediaHandler.xmp2 /B /V=%version% /UpdateXML +"%PROGS%\Team MediaPortal\MediaPortal\MPEMaker.exe" LatestMediaHandlerTemp.xmp2 /B /V=%version% /UpdateXML + +:: Cleanup +del LatestMediaHandlerTemp.xmp2