-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The installer should be able to install without administrative privileges on Windows #4633
Comments
Hi, agreed @RobCannon. Also see #4789, opened after this one. |
Any idea if and when this will be finished? It is really painful for corporate users. |
Workaround as found here download the .msi file from Amazon website: https://awscli.amazonaws.com/AWSCLIV2.msi
|
Thanks @willsheldon ! this worked. |
@willsheldon |
Oh, right, windows uses backslash: |
Gotta love having to edit your PATH to get this working simply because AWS refused to do a pip release. 👎 |
Single command installation workaround:
Then run it without touching environment variable:
|
@fdaugan's workaround, telling the installer to use a target dir in the user's home dir, works around the issue for me. Thanks! |
Thanks @willsheldon for sharing this workaround...Very much useful and it's working in windows without admin privileges :) There was a minor typo error in second command, which i updated. We are extracting the application to folder 'awscli' using command 1, but referencing 'AWSCLIV2' folder in the second command, which causes error. Command 1: command 2: |
Unfortunately, the workaround doesn't let you just "winget install Amazon.AWSCLI" without needed admin. This really needs to be fixed in the installer. |
Instead of running command:2 again and again (which is a bit lengthy), set the env path in windows using... setx PATH ^%PATH^%;"C:\Users<<your_username>>\awscli\Amazon\AWSCLIV2" |
Again, just put it in pip already. This is unnecessarily difficult. |
that could be nice to add the pip command to the aws doc |
This is the correct solution. All winget packages should default to 'install without admin if that is possible'. That is both the more secure fashion and would encourage additional adoption of winget. |
Wow.. this is almost ... 4? years old, now? |
Wow, still not fixed, and let some other project take the pip awcliv2 package and get it working... |
Still... causing issues for us as clients often work in locked down corporate environments without admin permissions. |
So what are you guys doing instead? You just have someone RDP to their computer and update it for them every time? This is absurd. |
now it is 5 years |
Our corporate environment does not give users admin rights on their computers. This installer should be able to install without requiring an administrator.
The text was updated successfully, but these errors were encountered: