Skip to content

Require administrator privileges for installer#10

Merged
spikehockey75 merged 1 commit intomainfrom
feature/fix-admin-privileges-check
Feb 17, 2026
Merged

Require administrator privileges for installer#10
spikehockey75 merged 1 commit intomainfrom
feature/fix-admin-privileges-check

Conversation

@spikehockey75
Copy link
Owner

Problem

User reported: 'ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied'

The installer creates venv in AppData/Local which requires admin privileges to write files. Without admin, pip install fails during package installation.

Solution

Add UAC elevation check at the start of Setup_FromSoft_Coop_Manager.bat using 'net session' to verify admin privileges. If not running as admin, show clear error message and exit.

Testing

Installer now requires admin to run and provides helpful error message if insufficient privileges.

- Add UAC elevation check at start of setup
- Prevents 'Access is denied' errors when installing Python packages
- Clear error message if user lacks admin rights
- Fixes permission issues during pip install step
@spikehockey75 spikehockey75 merged commit 566d9bb into main Feb 17, 2026
1 check passed
@spikehockey75 spikehockey75 deleted the feature/fix-admin-privileges-check branch February 17, 2026 23:56
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.

1 participant