Win32 Application Packaging #4 [2022] - All Microsoft Visual C++ Versions in one package

Опубликовано: 01 Апрель 2026
на канале: ScouseFix
6,324
35

In this video you will see how I packaged and deployed various versions of C++ into one Win32 App and deployed it through Intune.

I use a .cmd file to control the installs of x86 and x64 versions and to create a folder for each for Intune to detect as a detection rule.

to get the .cmd in her I have reduced the amount of install files but you will see the basics of what is happening

If you like my content, please Subscribe Like and Share

Thanks for watching

---------------------------------------------------------------------------------------------------------------------------------------------
@echo off
CD /d %~dp0

set 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 vcredist2005_x86.exe /q

MKDIR c:\Windows\Scousefix\CPlusPlusX86Installed

goto END

:X64

start /wait vcredist2005_x86.exe /q
start /wait vcredist2005_x64.exe /q

MKDIR c:\Windows\Scousefix\CPlusPlusX86andx64Installed

goto END
:END
---------------------------------------------------------------------------------------------------------------------------------------------