This repository was archived by the owner on Jan 23, 2026. It is now read-only.
Fix: Allow non-admin users to uninstall CLI without admin privileges#264
Merged
Fix: Allow non-admin users to uninstall CLI without admin privileges#264
Conversation
…ing as a non-admin user, which allows uninstallation without requiring administrator privileges. Co-Authored-By: jhaynie@agentuity.com <jhaynie@gmail.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
jhaynie
approved these changes
May 1, 2025
…admin installations, ensuring the correct path is added to PATH environment variable. Co-Authored-By: jhaynie@agentuity.com <jhaynie@gmail.com>
…tallations, which lets Windows Installer decide the installation scope based on user privileges while still ensuring per-user installation with MSIINSTALLPERUSER=1. Co-Authored-By: jhaynie@agentuity.com <jhaynie@gmail.com>
…ectory to LOCALAPPDATA for non-admin installations to ensure files are properly copied there. Co-Authored-By: jhaynie@agentuity.com <jhaynie@gmail.com>
… LOCALAPPDATA for non-admin users instead of using standard installation, ensuring files are properly copied to the correct location. Co-Authored-By: jhaynie@agentuity.com <jhaynie@gmail.com>
… mechanism to ensure executable files are properly copied to LOCALAPPDATA for non-admin users. Co-Authored-By: jhaynie@agentuity.com <jhaynie@gmail.com>
…ission issues and added a fallback to copy the executable directly. Co-Authored-By: jhaynie@agentuity.com <jhaynie@gmail.com>
…able cannot be found after MSI extraction, ensuring the CLI is properly installed for non-admin users even when file extraction fails. Co-Authored-By: jhaynie@agentuity.com <jhaynie@gmail.com>
…ture where the executable is found\n- Improved registry entries to properly register the application in Add/Remove Programs\n- Added extraction of product code from MSI for proper uninstallation\n- Added fallback uninstall command when product code can't be extracted Co-Authored-By: jhaynie@agentuity.com <jhaynie@gmail.com>
…ides visual feedback\n- Removed silent uninstallation parameters to ensure the user sees the uninstall process\n- Added proper PATH cleanup in the uninstaller script\n- Added DisplayIcon registry entry for better appearance in Add/Remove Programs Co-Authored-By: jhaynie@agentuity.com <jhaynie@gmail.com>
Member
|
jhaynie
approved these changes
May 1, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix: Allow non-admin users to uninstall CLI without admin privileges
Problems
Solutions
MSIINSTALLPERUSER=1parameter to the Windows installer when installing as a non-admin user, which allows uninstallation without requiring administrator privileges.Changes
install.ps1script to include theMSIINSTALLPERUSER=1parameter when installing as a non-admin user$allusersParamto$installScopeParamsto better reflect its purposeTesting
go fmt ./...go mod tidygo test -v ./...Link to Devin run
https://app.devin.ai/sessions/7578c1c9a18e4e2f9a52380064bd2304
Requested by: jhaynie@agentuity.com