shell-intune-samples icon indicating copy to clipboard operation
shell-intune-samples copied to clipboard

An update is ready to install. Code is trying to add a new helper tool

Open aquabubble opened this issue 3 years ago • 1 comments

Running on macOS Monterey. Our users are standard users and Visual Studio Code has been installed using Intune via the script. Code prompts users with the message "An update is ready to install. Code is trying to add a new helper tool." It then asks for an administrator's name and password. The application is then not updated.

I'm assuming that the permissions of the Visual Studio Code application aren't correct:

drwxr-xr-x 3 root wheel 96B Nov 15 16:43 Visual Studio Code.app

Can the shell script be made to do fix the permissions issues? Should auto-update be disabled in the script for standard users? Will this get rid of the annoying prompt?

aquabubble avatar Feb 13 '22 12:02 aquabubble

One solution for this is that instead installing Visual Studio Code to "/Applications/" -folder is to install the app to user's own application folder under home folder "/Users/[username]/Applications".

janparttimaa avatar Jan 03 '24 12:01 janparttimaa