Forum Discussion
AB21805
Jun 23, 2021Bronze Contributor
installing visual studio code via intune
Hi all, Im struggling to install visual studio code exe via intune! Any suggestions on how I can do this? MSIs are easy but exes Im struggling! Thanks in advance
- Jun 24, 2021Hey AB21805,
package the x64 installer into a .intunewin file with the tool "Microsoft Win32 Content Prep Tool"
https://github.com/microsoft/Microsoft-Win32-Content-Prep-Tool
and use this for the install command:
VSCodeSetup-x64-1.57.1.exe /verysilent /norestart /mergetasks=!runcode /log="%temp%\VSCodeInstall.log"
and this for the uninstall command:
"C:\Program Files\Microsoft VS Code\unins000.exe" /verysilent /norestart
The detection method should check for file exists:
"C:\Program Files\Microsoft VS Code\Code.exe"
best,
Oliver
I guess I have noted down some hints the last time I needed to do this...If its the runtime, why not deploying it with winget or chocolatey?
AB21805
Jun 24, 2021Bronze Contributor
Hi Can you recap please? or can you please send me a link to the last time you noted this. I want to know how to deploy generic exe too so I can do this for future ones 🙂
Oh what are winget or chocolatey?
Thanks in advance your help is always appreciated!!
Oh what are winget or chocolatey?
Thanks in advance your help is always appreciated!!
- Jun 24, 2021
Here is the link to some information about them...