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!
4 Replies
Sort By
- nh1Copper Contributor
I have the same issue and I have no idea how to post. I got no help from technical support. Can someone help?
- AB21805Bronze Contributor
packing something like this as a bat file:
echo 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
- AB21805Bronze ContributorHi Rudy,
I seem to be getting The system cannot find the file specified. (0x80070002) when I try installing via intune. Where am I going wrong?
I am using the video