diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 7e2afa8..330ac4d 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -54,9 +54,9 @@ jobs: New-Item -ItemType Directory -Force -Path "installer" | Out-Null Write-Host "Checking source files exist..." Get-ChildItem "bin\Release\net9.0-windows" | Select-Object -First 5 - Write-Host "Running Inno Setup..." - $process = Start-Process -FilePath "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" -ArgumentList "MonitorControl.iss" -Wait -NoNewWindow -PassThru - Write-Host "ISCC exit code: $($process.ExitCode)" + Write-Host "Running Inno Setup with verbose output..." + & "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" /V9 "MonitorControl.iss" 2>&1 + Write-Host "ISCC exit code: $LASTEXITCODE" Write-Host "Listing installer directory:" Get-ChildItem "installer" Pop-Location