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
Nathan Blasac
Jun 23, 2021Iron Contributor
What have you tried?
You can either try it as a Line of Business MSI deployment, or WIn32 application...
You can either try it as a Line of Business MSI deployment, or WIn32 application...
AB21805
Jun 23, 2021Bronze Contributor
Im not sure on how to do this exe as a win32 app but I do see doing it this way is recommended
- Nathan BlasacJun 23, 2021Iron ContributorHere is a good guide on how to take an MSI and deploy it as a Win32 app, including building it.
https://www.blogabout.cloud/2020/11/2113/- AB21805Jun 24, 2021Bronze ContributorI cant find the msi version and only have the exe one