Skip to content
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

how do i choose the installation? #56260

Closed
zpdDG4gta8XKpMCd opened this issue Aug 13, 2018 · 25 comments
Closed

how do i choose the installation? #56260

zpdDG4gta8XKpMCd opened this issue Aug 13, 2018 · 25 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug install-update VS Code installation and upgrade system issues verified Verification succeeded windows VS Code on Windows issues
Milestone

Comments

@zpdDG4gta8XKpMCd
Copy link

I got this interesting message:

You are running the system-wide installation of Code - Insiders, while having the user-wide distribution installed as well. Make sure you're running the Code - Insiders version you expect.

So how do I make sure I run one or another?

image

@vscodebot vscodebot bot added the install-update VS Code installation and upgrade system issues label Aug 13, 2018
@kolchy
Copy link

kolchy commented Aug 14, 2018

I got the same message, and struggling to understand what I actually need to do.

@hasanslayer
Copy link

I got the same message, what actually should I do ?

@andy0566
Copy link

I got the same message too

@Rarxa
Copy link

Rarxa commented Aug 14, 2018

https://code.visualstudio.com/updates/v1_26#_user-setup-for-windows

@strongui
Copy link

How exactly to we switch and do away with this error? This is not specified.

@Devan35
Copy link

Devan35 commented Aug 14, 2018

same here !

@PersonalFork
Copy link

PersonalFork commented Aug 14, 2018

As the update says it now allows user wide installation that does not need administrator access, I saw two entries in my environment variables path, one newly created :

  1. In my user variables (the newly added path)
    C:\Users[user-account-name]\AppData\Local\Programs\Microsoft VS Code\bin
    and
  2. In the System Variables :
    C:\Program Files\Microsoft VS Code\bin
    Both of which has a batch file triggering the exe. So, the error is pretty much clear. We need to decide whether we need to use the system wide or the user wide..
    Based on our preferences, deleting either one of them removes the error.
    PS : I removed the user-wide one and continued using the system-wide installation.

EDIT : I forgot to mention, you need to restart your machine to apply the change in environment variables.

@Devan35
Copy link

Devan35 commented Aug 14, 2018

I removed the C:\users path, same warning message, removed the /programs/ path, same thing, what am I missing?

@PersonalFork
Copy link

Did you try restarting the machine? The changes don't appear until you restart the machine.

@Devan35
Copy link

Devan35 commented Aug 15, 2018

@jashobantac ok will try again, this time restarting my machine. thanks

@Devan35
Copy link

Devan35 commented Aug 15, 2018

@jashobantac I just removed the users/ path, restarted my machine, same thing. only thing I can do is to select the option to not display the message anymore.

@scienmind
Copy link

scienmind commented Aug 15, 2018

The message is also constantly popping up if having a User Level install + Portable install (which is also user level).

The message content and/or it's display conditions definitely should be improved.

@alexfung888
Copy link

control panel says two VSCode are installed. One has a suffix (User). I think I was supposed to uninstall one of them. Now that I talk about it, it seems VSCode suggested me to uninstall before installing. However, I don' know which one to uninstall now.

@alexfung888
Copy link

Reading around, here is my conclusion:

  • (User) is new
  • (User) installs to %user%/appdata/local, system wide installs to c:\program
  • system wide needs admin rights to install/upgrade, (User) one does not

@treio
Copy link

treio commented Aug 15, 2018

I had the same problem. This work for me: https://stackoverflow.com/a/51860943/6038295

@strongui
Copy link

Ok here's the definitive guide on how to fix it.

For windows 10 anyway.

  1. Uninstall VS Code and VS Code User.
  2. Reboot
  3. Install VS Code User edition (just re-download it from the vs code page)
  4. Profit.

Error will be gone, and all your settings/plugins won't be removed, since they are not removed if uninstall the programs. You'd have to manually delete the settings folder, so just don't worry about it.

@ripplejb
Copy link

The message is not an error message, I think the icon should be changed here. This is just an information and not warning.

Now on you can have multiple copies of vs code on your system.

  1. Systemwide vs code that is installed in the "C:\Program Files". This is a shared copy of the vs code that can be accessed by all the users on the system.

  2. User installation is installed somewhere in "C:\users<username>...". This is a personal copy of the vs code for the user only.

Both copies are visible in the control panel if they are installed. You can uninstall one of them or keep both, your choice.

@joaomoreno
Copy link
Member

Hi guys. First off, apologies for the ambiguous message. My bad. The intention with this message is to alert to you that you might not be running the version you intended... while most of the time you actually are OK. It's not an error.

The best to do here, if possible, is to uninstall the global installation. All will be good then.

Otherwise, if you want to keep both installations on, simply click the ⚙ gear icon and then Don't Show Again not to be disturbed again.


As a fix, I've lowered the message severity from Warning to Info, removed that last phrase and made the Don't Show Again button more visible.

@joaomoreno joaomoreno added this to the Backlog milestone Aug 16, 2018
@joaomoreno joaomoreno added bug Issue identified by VS Code Team member as probable bug windows VS Code on Windows issues labels Aug 16, 2018
@joaomoreno joaomoreno modified the milestones: Backlog, August 2018 Aug 16, 2018
@wangxiaocuo
Copy link

Delete desktop shortcuts, search in cortama and reopen vscode. Then you can solve this problem.

@tiopere
Copy link

tiopere commented Aug 21, 2018

In the link provided (https://code.visualstudio.com/updates/v1_26#_user-setup-for-windows) is the explanation of this decision:

User setup for Windows
Announced last release, the user setup package for Windows is now available on stable. This setup does not require Administrator privileges to install. It also provides a smoother background update experience.

Download User Setup
If you are a current user of the system-wide Windows setup, you will be prompted to switch to the user setup, which we recommend using from now on. Don't worry, all your settings and extensions will be kept during the transition.

In my understanding, the best way is to unistall the system-wyde and maintain the user version.

@alexfung888
Copy link

yes it is important to uninstall the system wide setup (if you intend to use the user wide setup). Otherwise, the two versions will run with its own mind. Even if you started up the user wide version, open-recent from the file menu may open the folder/file using system wide version. It is completely confusing, especially because it is not easy to tell which one is running. (I hope what the task manager telling me is correct).

Decide on which one you want to run and get rid of the other asap.

@wyckster
Copy link

wyckster commented Aug 23, 2018

The recommendation when installing this new user version of vscode was to uninstall the system-wide version (since it requires elevation) and just use the user version (which does not require elevation and offers a better update experience). So (for Windows, anyway) head on over to Apps and features (I like to tap the Windows key and type "programs" to get there.)

Just uninstall the system-wide version of Microsoft Visual Studio code. It's the one that does not say (User). (see picture below)

For me there were no lost settings, no reboot required, and it was not necessary to change my PATH or anything like that. Clicking the Uninstall button fixed everything.

image

Edit: Probably a good idea to restart anyway, just to make sure your shell associations are right.

@stanvarlamov
Copy link

"Make sure you're running the Code version you expect" is totally void, if not misleading. Why don't just say "uninstall one of the versions" or put a link to the explanation that someone put together when releasing this feature (as pointed out above)? Unless MS is promoting Google search that leads to this GitHub issue ...

@mnicic
Copy link

mnicic commented Aug 28, 2018

I solved this just by uninstalling system-wide version.

@sciobotaru
Copy link

Solved the issue by removing VS Code and keeping VS Code (User):
vs1

@octref octref added the verified Verification succeeded label Aug 30, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug install-update VS Code installation and upgrade system issues verified Verification succeeded windows VS Code on Windows issues
Projects
None yet
Development

No branches or pull requests