User setup for Windows
Announced last release, the user setup package for Windows is now available on stable. Installing the user setup does not require Administrator privileges as the location will be under your user Local AppData (LOCALAPPDATA) folder. User setup 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 install user setup, which we recommend using from now on. Don't worry, all your settings and extensions will be kept during the transition. During installation, you will also be prompted to uninstall the system-wide setup.
Reference: https://code.visualstudio.com/updates/v1_26#_user-setup-for-windows
Answer from Surenthar Pitchai on Stack OverflowUser setup for Windows
Announced last release, the user setup package for Windows is now available on stable. Installing the user setup does not require Administrator privileges as the location will be under your user Local AppData (LOCALAPPDATA) folder. User setup 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 install user setup, which we recommend using from now on. Don't worry, all your settings and extensions will be kept during the transition. During installation, you will also be prompted to uninstall the system-wide setup.
Reference: https://code.visualstudio.com/updates/v1_26#_user-setup-for-windows
I installed the user version side-by-side with the system version with no problems. The basic differences between the two is that the system version installs on the file system like every other app. The user install is basically a click-once (or web installer) version that installs in the User folder of the machine.
The settings made to VS Code in the system version save for Everybody on the computer and the user version the settings are only for the user. I find that the behavior of the user version is a bit annoying for me because I have reasons to want to open multiple copies of VS Code at the same time and the user version only allows one instance. Otherwise, there's not really anything different between the two as far as I can tell.
I have all my software that I install installed system-wide under "Program Files", so I don't get why one program should be an exception. Why should I want user-install? Is there really no way to force system-wide install these days?
Note that I'm not looking for descriptions of differences per se between system-wide and user install. I'm looking for what the actual benefits of user install are, and what the actual disadvantages/problems with system-wide install are.
So far I'm aware of one disadvantage of user install, and that's the fact that the start menu search can't find vscode no matter what, because it's automatically installed to a location that the start menu search ignores.
Basically a user install doesn't require admin rights. This means if you want to use VSCode on your work computer you don't need to get IT to install it.
It should still show up in the start menu. Assuming you selected the option in the installer it should have a shortcut somewhere in
%appdata%\Microsoft\Windows\Start Menu\Programs`
Finally Microsoft does provide a system install version that sounds like what you are looking for. It's located on the download page: https://code.visualstudio.com/Download
you should default to user install and only use system install when necessary. principle of least power and whatnot.
i somehow always irreparably fuck up my python install on windows because of conflicts between system versions, local versions, system pip, local pip, it’s a fuckin mess. any seasoned python dev will tell you the solution is to use one version of python and only install packages locally, preferably through aggressive use of virtual environments.
the main benefit of user install is isolation and orthogonality. system programs are in program files, personal programs that you would want to keep with you across machines are to be installed locally.
this is less relevant these days now that people rarely share computers, but the idea is the same. i act as if there’s another user who uses my computer under a different account sometimes. some programs should be universal, like photo editing software, video players, etc., while it isn’t really important that everyone have access to my customized text editor or the 800 million fonts i download.
Can anyone explain the difference between System and User install behavior for the new store apps in Intune? I’m hearing different answers from different sources. I know Microsoft got rid of online vs offline installers for store apps.
I just got a new SSD and so I decided to do a clean install of Windows.
When I went to install vscode, it was installing a "user" version, which is apparently not a new a behavior, but one I never encountered because I had not needed to do a clean install vscode in a long time, just the auto-updates.
So now I am not sure why it is preferable to install this "user" version to the user AppData folder rather than the "system" version to Program Files.
There is no NTFS file security on the user AppData folder. Any program running can modify those files without elevation, which is risky for executable code. Installing to Program Files gives an added layer of protection that the executable can't be hijacked without elevation.
What convenience does the "user" installation add that is worth giving up the extra security from the "system" version installing the executable in Program Files?
I have a few questions regarding install behavior for Microsoft Store apps:
-
What is generally recommended? When doing win32 apps, we do the default System install behavior, only on circumstances we do User type. I noticed when doing MS Store apps, its default is User install behavior. This made me think that User is recommended for MS Store apps.
-
For apps built-in to Windows or apps that MS forced into Windows (like Copilot), are those apps installed as User or System? And how will I know on an actual machine? Get-AppxPackage does not seem to provide that answer.
-
Would there be issues when there is discrepancy? Like deploying an app as System when the device has the same app installed as User (and vice versa).
-
For User deployment, would there be challenges for updating MS Store apps in the future? Like if an outdated MS Store app installed for a user that is not actively logging on a multiple user device.
Hi, I am Dave, I will help you with this.
The Visual Code installer is available as a User Installer and a System Wide installer, the User version is now the preferred version, that installs a version of Visual Code that does not require Administrator privileges and the user data for Visual Code will be stored in your AppData folder.
Thanks