From a2da2e51f400a68736a4a5c7978d619c5c1133bd Mon Sep 17 00:00:00 2001 From: John Lambert Date: Tue, 22 Sep 2026 07:15:53 -0400 Subject: [PATCH] LT-22801: Retain patch MSIs on request Allow the patch workflow to inspect the generated Master and Update MSIs before its component ledger check. --- CreateUpdatePatch/buildPatch.bat | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CreateUpdatePatch/buildPatch.bat b/CreateUpdatePatch/buildPatch.bat index 91ad681..7ce6c4e 100644 --- a/CreateUpdatePatch/buildPatch.bat +++ b/CreateUpdatePatch/buildPatch.bat @@ -94,12 +94,14 @@ if not %errorlevel% == 0 set PATH=%WIX%/bin;%PATH% DEL *.wixpdb DEL *.wixmst DEL *.wixmsp - DEL .\Master\*.msi + if /I not "%KEEP_INTERMEDIATE_MSI%"=="true" ( + DEL .\Master\*.msi + DEL .\Update\*.msi + ) DEL .\Master\*.wixobj DEL .\Master\*.wixpdb DEL .\Master\AppHarvest.wxs DEL .\Master\DataHarvest.wxs - DEL .\Update\*.msi DEL .\Update\*.wixobj DEL .\Update\*.wixpdb DEL .\Update\AppHarvest.wxs