aboutsummaryrefslogtreecommitdiff
path: root/src/burn (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Protect elevated working folder from malicious dataRob Mensching2024-03-225-7/+37
| | | | | | | | | | | | | | | When running elevated, Burn uses the Windows Temp folder as its working folder to prevent normal processes from tampering with the files. Windows Temp does allow non-elevated processes to write to the folder but they cannot see the files there. Unfortunately, contrary to our belief, non-elevated processes can read the files in Windows Temp by watching for directory changes. This allows a malicious process to lie in wait, watching the Windows Temp folder until a Burn process is launched elevated, then attack the working folder. Mitigate that attack by protecting the working folder to only elevated users. Managed custom actions also fall back to using the Windows Temp folder in some cases and thus can be exposed in a similar fashion as an elevated Burn process. Remove that possibility.
* Simplify BootstrapperApplication header filesRob Mensching2024-03-213-8/+8
| | | | | Take this breaking change opportunity to simplify the header files used by BA devs.
* Clean up Burn a bit.Bob Arnson2024-03-146-3502/+1
|
* Rename "bundle extension" to "bootstrapper extension" for more consistencyRob Mensching2024-03-0716-108/+108
| | | | Also renames WixToolet.BextUtil nupkg to WixToolset.BootstrapperExtensionApi.
* Better .nupkg namesRob Mensching2024-03-079-14/+11
|
* WIP - BA header simplificationRob Mensching2024-03-064-9/+8
|
* Move the BootstrapperApplication out of procRob Mensching2024-03-0658-4358/+12637
|
* Mitigate .local DLL redirection Windows bug.Bob Arnson2024-03-062-0/+27
|
* Cleaning up a typo and a missed commit.Bob Arnson2024-02-271-1/+1
|
* Fixes wixtoolset/issues#5220: Automatically add logging flag for any burn ↵Nir Bar2024-01-206-1/+102
| | | | ExePackage, BundlePackage, and related bundles
* Correctly prefix the functions exposed from burnpipe.hRob Mensching2024-01-1110-115/+115
|
* Update Burn to use pipeutil for low-level pipe operationsRob Mensching2024-01-118-328/+86
|
* Rename inter-Burn communication related pipe fileRob Mensching2024-01-115-4/+4
| | | | | | | When BootstrapperApplications move out of proc there will be another set of pipes in Burn that behave differently from the inter-Burn communication pipes that exist now. So renaming the existing pipe related files now to better reflect that it is related to Burn talking to Burn when elevated or embedded.
* Use `/DEPENDENTLOADFLAG` to tell the loader...Bob Arnson2023-12-311-0/+1
| | | | | | | | | ...to load DLLs from System32 only. (Belt and suspenders to current approaches.) See https://devblogs.microsoft.com/oldnewthing/20230328-00/?p=107978. Fixes https://github.com/wixtoolset/issues/issues/7319.
* ArpEntry reads QuietUninstallString or UninstallString, and uses ↵Nir Bar2023-12-242-3/+24
| | | | UninstallArguments for the uninstall command line
* Pretty up build outputRob Mensching2023-12-161-1/+1
|
* Improve logging to remove `(null)`.Bob Arnson2023-06-131-1/+1
| | | | | | Add detached container runtime test. Inspired by https://github.com/wixtoolset/issues/issues/7490.
* Tame some wild pointers.Bob Arnson2023-05-011-4/+4
| | | | | | Maybe Rust wouldn't be so bad... Fixes https://github.com/wixtoolset/issues/issues/7451.
* Add `InstallerInformationalVersion`.Bob Arnson2023-02-093-2/+32
| | | | | | Gets "full" version (with commit id). Fixes https://github.com/wixtoolset/issues/issues/7200.
* Don't uninstall superseded MSI packages.Sean Hall2023-01-192-4/+93
| | | | 7147
* Improve test coverage for recent Burn changes.Sean Hall2023-01-141-1/+1
| | | | 7068, PR 318
* Register the InstallDate in BurnRob Mensching2022-12-222-2/+13
| | | | Closes 7068
* Get "real" Burn version for logging.Bob Arnson2022-12-212-1/+4
| | | | Fixes https://github.com/wixtoolset/issues/issues/7082.
* Use MSI transaction end result to detect whether reboot is neededNir Bar2022-12-127-69/+167
|
* Minimize calls into GitInfo by caching results during build_initRob Mensching2022-11-132-3/+1
|
* WIXFEAT-3704 - Allow access to persisted variables from related bundlesJacob Hoover2022-11-105-5/+69
|
* Separate WixInternal content from official WixToolset namespaceRob Mensching2022-11-087-9/+9
|
* Add queutil so Burn can manage its own queue of BA requested actions.Sean Hall2022-10-2511-124/+244
| | | | Fixes 6349
* Run tests in bulk to improve performanceRob Mensching2022-10-041-2/+22
| | | | | The fewer executions of "dotnet test" the better so batch up calls by referencing multiple assembly DLLs.
* Burn typo/style fixesBob Arnson2022-09-221-2/+3
|
* Don't clean packages during layout.Sean Hall2022-09-152-1/+93
| | | | Fixes 6871
* Ignore cache bundle failure if it already exists in the package cache.Sean Hall2022-09-152-7/+12
| | | | Fixes 6848
* Add more burn E2E tests.Sean Hall2022-09-155-7/+37
| | | | | | | | Fix bug where first splash screen wasn't closed. Fix bug where billboard only started the first time. Fix bug where the restart status was lost when the exit code was an error. Fix bug where the hash byte array length was compared to the hash string length (string is twice as long). Fix bug where Burn didn't give update hash if the first byte was 0.
* Support bundle updates in WixStdBA.Bob Arnson2022-09-121-1/+1
| | | | Fixes https://github.com/wixtoolset/issues/issues/6894.
* Update hashes are now hex strings.Bob Arnson2022-09-125-17/+20
| | | | Fixes https://github.com/wixtoolset/issues/issues/6901.
* Move `Bundle/@CommandLineVariables` into Bal.wixext.Sean Hall2022-09-0914-57/+46
| | | | Implements 6858
* Add WixCanRestart and make wixstdba elevate for restart when required.Sean Hall2022-09-0311-42/+59
| | | | Fixes 5499
* Use elevated engine to make the restart request when it is available.Sean Hall2022-09-034-100/+121
| | | | Fixes 6145
* Delay closing Burn's UI thread so that it can log the bundle's restart.Sean Hall2022-09-035-40/+159
|
* Delay closing the bundle log so that restart failures will be logged.Sean Hall2022-09-032-33/+42
|
* Log message when the elevated process is not running elevated.Sean Hall2022-09-032-0/+12
| | | | Fixes 5650
* Mask the elevated secrets when logging its command line.Sean Hall2022-09-033-3/+27
|
* Supply hashes to BA if present in update feed.Bob Arnson2022-08-313-4/+27
| | | | Fixes https://github.com/wixtoolset/issues/issues/6353.
* Pass `/xlog` to elevated engine.Bob Arnson2022-08-261-0/+6
| | | | Fixes https://github.com/wixtoolset/issues/issues/6534.
* Process and return the failed version of reboot exit codes in Burn.Sean Hall2022-08-265-1/+55
| | | | | | (ERROR_FAIL_REBOOT_REQUIRED and ERROR_FAIL_REBOOT_INITIATED) Fixes 6762
* Make sure error codes are translated correctly for per-machine packages.Sean Hall2022-08-2612-160/+548
|
* Port EnableFeatureSelection tests from v3 repo, add a new one, fix themSean Hall2022-08-231-5/+9
| | | | Fixes 4616
* Use a dedicated pipe for redirecting logging from the elevated process.Sean Hall2022-08-199-98/+325
| | | | Fixes 6869
* Create log for elevated process.Sean Hall2022-08-193-0/+22
|
* Fix bug in IsWuRebootPending where it uninitialized COM on failure.Sean Hall2022-08-191-2/+7
| | | | Fixes other half of 6870