Skip to content

fix: install update preserves logs/trash to avoid Access Denied#33

Merged
seunggabi merged 1 commit intomainfrom
fix/#32_install-update-access-denied
Feb 13, 2026
Merged

fix: install update preserves logs/trash to avoid Access Denied#33
seunggabi merged 1 commit intomainfrom
fix/#32_install-update-access-denied

Conversation

@seunggabi
Copy link
Copy Markdown
Owner

Summary

  • Only remove program directories (bin, lib, config, scheduler, resources) during updates
  • Preserve user data directories (logs, trash, snapshots) that may contain SYSTEM-owned files
  • Prevents Access Denied when trash contains Windows Update .etl files

Closes #32

🤖 Generated with Claude Code

…trash

- Replace full directory removal with targeted cleanup of program dirs only
- Skip trash/logs/snapshots directories that may contain SYSTEM-owned files
- Prevent Access Denied errors during update when trash has .etl files

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@seunggabi seunggabi merged commit 600d413 into main Feb 13, 2026
2 checks passed
@seunggabi seunggabi deleted the fix/#32_install-update-access-denied branch February 13, 2026 08:48
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.

fix: install.ps1 fails on update when trash contains SYSTEM-owned files

1 participant