aboutsummaryrefslogtreecommitdiff
path: root/src/burn/engine/core.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Protect elevated working folder from malicious dataRob Mensching2024-03-221-3/+3
| | | | | | | | | | | | | | | 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.
* Move the BootstrapperApplication out of procRob Mensching2024-03-061-205/+20
|
* Fixes wixtoolset/issues#5220: Automatically add logging flag for any burn ↵Nir Bar2024-01-201-0/+60
| | | | ExePackage, BundlePackage, and related bundles
* Correctly prefix the functions exposed from burnpipe.hRob Mensching2024-01-111-3/+3
|
* Add queutil so Burn can manage its own queue of BA requested actions.Sean Hall2022-10-251-9/+22
| | | | Fixes 6349
* Move `Bundle/@CommandLineVariables` into Bal.wixext.Sean Hall2022-09-091-10/+2
| | | | Implements 6858
* Add WixCanRestart and make wixstdba elevate for restart when required.Sean Hall2022-09-031-3/+4
| | | | Fixes 5499
* Use elevated engine to make the restart request when it is available.Sean Hall2022-09-031-0/+42
| | | | Fixes 6145
* Delay closing Burn's UI thread so that it can log the bundle's restart.Sean Hall2022-09-031-0/+15
|
* Mask the elevated secrets when logging its command line.Sean Hall2022-09-031-3/+24
|
* Use a dedicated pipe for redirecting logging from the elevated process.Sean Hall2022-08-191-0/+24
| | | | Fixes 6869
* Add WixInternalUIBootstrapperApplication as a new built-in BA.Sean Hall2022-07-201-3/+3
| | | | Implements 6835
* Add embedded test.Sean Hall2022-06-291-0/+35
|
* Add AppWaitForSingleObject/MultipleObjects, ThreadWaitForCompletion.Sean Hall2022-06-291-26/+28
|
* Add ability for non-vital cache package action.Sean Hall2022-06-141-1/+1
|
* Make sure base paths are fully qualified in Burn.Sean Hall2022-06-071-1/+1
|
* Resolve paths while parsing them from the command line.Sean Hall2022-06-071-12/+6
| | | | | The current directory is a process wide setting that can potentially be changed by any thread. Remove fileutil methods that had equivalent pathutil methods.
* Add PathConcatRelativeToBase and use it in Burn.Sean Hall2022-05-311-1/+1
| | | | Fixes 6707
* Only block shutdown during Apply.Sean Hall2022-05-041-0/+4
|
* Allow burn.runonce with burn.clean.room and create runonce log.Sean Hall2022-05-041-3/+6
|
* Add option for BundlePackage to be hidden in ARP like MsiPackage.Sean Hall2022-04-051-0/+29
| | | | | | Requires support for this feature in the nested bundle. Simplest implementation of 4454
* Detect related bundles for BundlePackages.Sean Hall2022-04-011-1/+1
|
* Implement BundlePackage.Sean Hall2022-04-011-2/+14
| | | | 3693
* Add `ExePackage/@Bundle` to opt-in to v3 behavior.Sean Hall2022-03-221-0/+5
| | | | | | Automatically add '-norestart' for bundle ExePackages. Fixes 6252
* Add related command line switches for DEPENDENT_ADDON, DEPENDENT_PATCH.Sean Hall2022-03-221-2/+18
| | | | Implements 4504, needed for 3796/6252
* Add WixBundleCommandLineAction, don't set dynamic variables at startup.Sean Hall2022-03-161-5/+5
| | | | Fixes 6736
* Make engine skip planning if there are any downgrade related bundles.Sean Hall2022-03-141-9/+30
| | | | | Fixes 6677, 6722 Reverts 6537
* Allow the BA to override the bundle relation type during plan.Sean Hall2022-03-141-5/+11
|
* Ensure WixBundleInstalled and RebootPending are set in elevated engine.Sean Hall2022-03-051-12/+0
|
* Change ARP property Installed to 0 when registrationType is InProgress.Sean Hall2022-03-051-17/+10
| | | | Being registered in ARP and "installed" were always separate concepts, and some things like fEligibleForCleanup were looking at the wrong thing. This also allows the BA to tell the difference.
* Add UnsafeUninstall action.Sean Hall2022-02-221-5/+23
| | | | Fixes #6721
* When rolling back a bundle failure, reinstall all upgrade related bundles.Sean Hall2022-02-101-2/+2
| | | | Fixes #3421
* Remove orphan compatible MSI packages.Sean Hall2022-01-161-1/+7
| | | | Reimplements #3190
* Refactor some dependency detection.Sean Hall2022-01-161-18/+9
| | | | | * Run DependencyDetect earlier * Do package dependency checking during each package/related bundle
* Don't assume Exe packages with Burn protocol are bundles.Sean Hall2022-01-041-7/+7
| | | | Related to #3693
* Don't report related operation in OnDetectRelatedBundle.Sean Hall2021-12-301-1/+1
| | | | #5796
* Remove BOOTSTRAPPER_RESUME_TYPE_REBOOT_PENDING.Bob Arnson2021-12-271-10/+0
| | | | Thanks to @rseanhall's sharp eyes.
* Add BA events for setting the update bundle.Sean Hall2021-12-111-1/+1
| | | | Fixes #6410
* Allow BA to opt out of MSI transaction.Nir Bar2021-08-121-2/+23
|
* Always use user's temp directory as basis for acquisition folder.Sean Hall2021-08-041-4/+4
| | | | Fixes #5830
* Add argument and policy setting to set Burn's base working directory.Sean Hall2021-08-041-7/+144
| | | | Fixes #5856
* Remove unelevation code since clean room changes made it unreachable.Sean Hall2021-08-041-14/+0
|
* Require clean room switch to be first argument and catch embedded switch ↵Sean Hall2021-08-041-5/+17
| | | | specified with other modes in the clean room process.
* Recreate the command line for the clean room process.Sean Hall2021-08-041-29/+234
| | | | | | Persist /xlog when resuming from RunOnce. Fixes #6259
* Parse most of Burn command line parameters into BURN_ENGINE_COMMAND.Sean Hall2021-08-041-72/+60
|
* Add BURN_DEPENDENCIES struct to store Dependency state.Sean Hall2021-08-041-11/+18
|
* Replace static cache internals with a struct.Sean Hall2021-08-041-12/+11
| | | | Initialize them explicitly to make it clearer when that happens.
* Update Burn ARP command lines to skip clean room.Sean Hall2021-08-041-11/+16
| | | | This also adds an escape hatch to Burn for antivirus interfering with clean room.
* Make the BA responsible for parsing restart prompt behavior.Sean Hall2021-07-021-39/+0
| | | | Fixes #4975
* Add bundle option for command line variables to always be uppercase.Sean Hall2021-07-021-1/+8
| | | | Fixes #3777