From 6928b0993b07db42d0e1d84f32fa34608c29f1de Mon Sep 17 00:00:00 2001 From: Roman Lavrov Date: Tue, 10 Mar 2026 15:04:01 -0400 Subject: [PATCH] Fix installer logging: use Burn /log flag instead of msiexec /lv*x The Swift Windows installer is a WiX Burn bundle, not a raw MSI. The /lv*x flag is an msiexec option that Burn silently ignores ("Ignoring unknown argument"), so install.log was never created. Replace with /log, which is the correct Burn CLI flag for logging. Also use backslash in the path for consistency on Windows. --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index cdc6e70..ed4ca07 100644 --- a/action.yml +++ b/action.yml @@ -260,7 +260,7 @@ runs: run: | # Perform installation $Installer = [IO.Path]::Combine(${env:Temp}, "installer.exe") - $Arguments = "/quiet /lv*x ${env:Temp}/install.log ${{ inputs.installer-args }}".Split(" ", [StringSplitOptions]"RemoveEmptyEntries") + $Arguments = "/quiet /log ${env:Temp}\install.log ${{ inputs.installer-args }}".Split(" ", [StringSplitOptions]"RemoveEmptyEntries") Write-Host "::debug::Installer Arguments: $($Arguments -join ' ')" try {