Forum Discussion
AB21805
Oct 27, 2022Bronze Contributor
installing visual C ++ via intune
Hi all, How do I install Visual C ++ silently via intune as I am struggling to find an msi!
nh1
May 22, 2025Copper Contributor
I have the same issue and I have no idea how to post. I got no help from technical support. Can someone help?
- AB21805May 23, 2025Bronze Contributor
packing something like this as a bat file:
ech0 off
CD /d %~dp0set IS_X64=0 && if "%PROCESSOR_ARCHITECTURE%"=="AMD64" (set IS_X64=1) else (if "%PROCESSOR_ARCHITEW6432%"=="AMD64" (set IS_X64=1))
if "%IS_X64%" == "1" goto X64
start /wait vcredist_x86.exe /quiet /norestart
MKDIR c:\Windows\Scousefix\CPlusPlusX86Installed
goto END
:X64
start /wait VC_redist.x86.exe /quiet /norestart
MKDIR c:\Windows\Scousefix\CPlusPlusX86andx64Installed
goto END
:ENDpoint this to the intunewin and in the install command in intune when uploading the intunewin put in "install.bat" making sure you name the bat "install.bat" prior to wraping it