aboutsummaryrefslogtreecommitdiff
path: root/src/burn/engine/cache.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Harden Burn's BootstrapperApplication and elevated engine extractionRob Mensching2025-02-111-2/+5
| | | | Fixes 8914
* Rename "bundle id" concept to "bundle code"Rob Mensching2024-12-301-2/+2
| | | | | | | The "bundle id" always had more in common with the PackageCode from the Windows Installer. With the introduction of an actual Id attribute on the Bundle element, there is potential for confusion, so there is finally real motivation to rename "bundle id" to "bundle code".
* Protect elevated working folder from malicious dataRob Mensching2024-03-221-0/+2
| | | | | | | | | | | | | | | 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-7/+1
|
* Add ability to skip a local path candidate if it failed verification.Sean Hall2022-08-031-0/+5
| | | | Fixes 6818
* Make PathGetSystemPath return an array of paths ordered by preference.Sean Hall2022-06-071-0/+7
|
* Always use user's temp directory as basis for acquisition folder.Sean Hall2021-08-041-4/+8
| | | | Fixes #5830
* Replace static cache internals with a struct.Sean Hall2021-08-041-10/+47
| | | | Initialize them explicitly to make it clearer when that happens.
* Reset the package's cache folder only once.Sean Hall2021-05-111-0/+3
| | | | | | This behavior makes it work similar to the root package cache folder and avoids performance problems when there are many payloads in the package. #4774
* Allow launching approved exes from the original package cache.Sean Hall2021-05-111-4/+3
|
* Move burn into burnRob Mensching2021-04-291-0/+216