-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
UX issue with updates #155043
Comments
Please clarify whether you perform step 4 (running the installer) using "Run as administrator" or as a regular "Run"? |
related: #147408 |
Based on #148428 another possible scenario is that you initially install normally, then one day launch VS Code as administrator and during that session it finds an update and installs it on exit. Then next time you're running normally when it finds another update it can't install this. @makemefeelgr8 do you ever run VS Code as administrator? |
For the sake of the experiment, let's do it the way 99.5% of users would do it. Click "download" and then just open the downloaded file. So, no "run as administrator".
Yes, as it failed to update in non-admin mode. And before that? Dunno. Running the app as admin shouldn't break anything. Imagine MS Edge updates failed if it was started as admin. As per #148428 - if you guys actually disable updates for "user mode" installations when launched in admin mode, there would be like no way to update these "failed" installations at all. Sounds like the worst way to handle this issue. |
If you perform the steps in #147408 (comment) are you subsequently able to update VS Code when running unelevated? If so, the hypothesis is that as long as a future auto-update doesn't happen while you are running as administrator, you will continue to be able to update when running unelevated. |
No, as my VS Code is installed in a different folder, not in I strongly suggest the issue should be fixed. I'm sure there are hundreds of thousands of users with "broken" permissions. You can't just ask all of them to "go run these commands". How about you make the app execute these commands automatically? |
Potential duplicate: #147408 |
No, it's not. This one is about creating an automated way of fixing existing "broken" installations. |
The User Setup is meant to be installed in a location your user usually has access to, like This is documented here: https://code.visualstudio.com/docs/setup/windows#_user-setup-versus-system-setup |
Does this issue occur when all extensions are disabled?: Yes
Version: 1.69.0 (user setup)
Commit: 92d25e3
Date: 2022-07-07T05:28:36.503Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: 10.0.139.17-electron.0
OS: Windows_NT x64 10.0.19044
Default template for github issues doesn't even contain a "description" field, just "Steps to reproduce". So, I'll add the description here.
Basically, VS Code never updates properly (tried it on 3 machines already). I bet there have been countless reports like this one, and you've aready came up with a generic response, like "we care but we don't", "use a different installer" or whatnot. There's also an option you'll just close this report instantly and link it to the different issue (which has been hanging there for years). Please, take your time to read the cases. This isssue has been a source of confusion for countless users.
Steps to Reproduce:
Case 1.
https://code.visualstudio.com/
Download for Windows
Case 2.
https://code.visualstudio.com/
Download for Windows
In case you're like "oh, this guy downloaded the wrong thing, it's obvious"- no, it isn't! Just imagine for a second this happened to a product MS really cares about, like Edge. You open the browser, an error appears, you close it... and it's gone!
And what is the most sad fact about these cases? Those are default ones! You navigate to the website for the 1st time. You see a big download button. You click the default download button. So, you would expect the app to work, wouldn't you? Nope.
Right now, the only way to resolve the issue with updates is to remove VS Code, loose all your extensions, settings, etc. Then, one has to search the website for the specific System installer (the difference is never explained properly). Is this an intended workflow? I bet it's not.
Finally, let me tell you what happens in real life. They either make VS Code always run in admin mode (insecure) or just never update anymore (also insecure).
What I suggest is to add a dialog, like "The setup doesn't have enough permissions to write to the installation directory. Do you want to convert this installation to the system one?" And then one can just click "yes, sure, whatever".
Thanks for reading.
The text was updated successfully, but these errors were encountered: