Error deploying Visual Studio Code "System" Version in Intune

%3CLINGO-SUB%20id%3D%22lingo-sub-1369515%22%20slang%3D%22en-US%22%3EError%20deploying%20Visual%20Studio%20Code%20%22System%22%20Version%20in%20Intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1369515%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20been%20trying%20to%20get%20a%20working%20deployment%20for%20Visual%20Studio%20Code%20going%20for%20the%20past%202%20days.%26nbsp%3B%3CBR%20%2F%3EThis%20has%20not%20been%20working%20at%20all%20so%20far%20and%20I%20tried%20pretty%20much%20anything%20I%20could%20think%20of.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20the%20System%20Installation%20I%20downloaded%20the%20System%20Installer%20from%20here%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fcode.visualstudio.com%2Fdownload%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcode.visualstudio.com%2Fdownload%3C%2FA%3E%3C%2FP%3E%3CP%3EMade%20the%20usual%20Package%20with%20the%20WinAppUtil.exe%20and%20uploaded%20it%20to%20Intune.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20how%20my%20Config%20looks%20like%3A%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22intune1.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F189743i8DDB3AF3C72F6375%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22intune1.jpg%22%20alt%3D%22intune1.jpg%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22intune2.jpg%22%20style%3D%22width%3A%20487px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F189744i4975CA312E5979F9%2Fimage-dimensions%2F487x313%3Fv%3D1.0%22%20width%3D%22487%22%20height%3D%22313%22%20title%3D%22intune2.jpg%22%20alt%3D%22intune2.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20tried%20the%20path%20as%20detection%20rule%20aswell%20as%20reg%20key.%3C%2FP%3E%3CP%3EPath%20would%20be%26nbsp%3BC%3A%5CProgram%20Files%5CMicrosoft%20VS%20Code%3C%2FP%3E%3CP%3EI%20also%20tried%20both%20options%20for%20the%20association.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENothing%20seems%20to%20work%20here.%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20Device%20gets%20the%20command%20to%20install%20the%20App%20but%20fails%20in%20the%20process%20with%20the%20following%20error%20message%3A%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22intune3.jpg%22%20style%3D%22width%3A%20386px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F189748iA64A01F8C4A9C123%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22intune3.jpg%22%20alt%3D%22intune3.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1369515%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMobile%20Device%20Management%20(MDM)%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESoftware%20Management%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1569844%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20deploying%20Visual%20Studio%20Code%20%22System%22%20Version%20in%20Intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1569844%22%20slang%3D%22en-US%22%3EHi%3CBR%20%2F%3E%3CBR%20%2F%3EAt%20a%20glance%20this%20is%20because%20the%20install%20command%20is%20referencing%20the%20wrong%20file.%20Unless%20you%20renamed%20the%20installer%20it%20should%20be%20something%20like%20VSCodeSetup-x64-1.47.3.exe%20%2FVERYSILENT%20%2FNORESTART%20(or%20whatever%20the%20file%20downloaded%20from%20VS%20site%20is)%20.%3C%2FLINGO-BODY%3E
Occasional Visitor

Hello 

 

I have been trying to get a working deployment for Visual Studio Code going for the past 2 days. 
This has not been working at all so far and I tried pretty much anything I could think of.

 

For the System Installation I downloaded the System Installer from here:
https://code.visualstudio.com/download

Made the usual Package with the WinAppUtil.exe and uploaded it to Intune.

 

This how my Config looks like:
intune1.jpg
intune2.jpg

I tried the path as detection rule aswell as reg key.

Path would be C:\Program Files\Microsoft VS Code

I also tried both options for the association.

 

Nothing seems to work here. 

The Device gets the command to install the App but fails in the process with the following error message: 

 

intune3.jpg

1 Reply
Hi

At a glance this is because the install command is referencing the wrong file. Unless you renamed the installer it should be something like VSCodeSetup-x64-1.47.3.exe /VERYSILENT /NORESTART (or whatever the file downloaded from VS site is) .