Skip to content

Fix installer logging: use Burn /log flag instead of msiexec /lv*x#54

Merged
compnerd merged 1 commit intocompnerd:mainfrom
roman-bcny:romanl/fix-installer-logging
Mar 10, 2026
Merged

Fix installer logging: use Burn /log flag instead of msiexec /lv*x#54
compnerd merged 1 commit intocompnerd:mainfrom
roman-bcny:romanl/fix-installer-logging

Conversation

@roman-bcny
Copy link
Copy Markdown
Contributor

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 in the Burn log), so install.log was never created.

This replaces /lv*x with /log, which is the correct WiX Burn CLI flag for specifying the log file path.

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.
roman-bcny added a commit to thebrowsercompany/swift-build that referenced this pull request Mar 10, 2026
The WiX Burn installer log is useful for diagnosing install failures
(e.g. PATH race conditions). Print it inline in the job output.

Depends on upstream fix: compnerd/gha-setup-swift#54
(gha-setup-swift currently passes /lv*x which Burn ignores; the fix
switches to /log so the log file is actually created)
roman-bcny added a commit to thebrowsercompany/swift-build that referenced this pull request Mar 10, 2026
Print the WiX Burn installer log inline in the job output after
Swift toolchain setup. Useful for diagnosing install failures.

Depends on compnerd/gha-setup-swift#54
to create the log file (current /lv*x flag is silently ignored).
@roman-bcny
Copy link
Copy Markdown
Contributor Author

@compnerd fyi I don't have the "merge" button on my end

roman-bcny added a commit to thebrowsercompany/swift-build that referenced this pull request Mar 10, 2026
* Print Swift installer log after setup

Print the WiX Burn installer log inline in the job output after
Swift toolchain setup. Useful for diagnosing install failures.

Depends on compnerd/gha-setup-swift#54
to create the log file (current /lv*x flag is silently ignored).

* Upload installer log as artifact instead of printing inline

---------

Co-authored-by: Roman Lavrov <roman.lavrov@thebrowser.company>
@compnerd compnerd merged commit eeda069 into compnerd:main Mar 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants