Tech Community Live: Windows edition
Jun 05 2024, 07:30 AM - 11:30 AM (PDT)
Microsoft Tech Community

Best way to run 32 bit programs like old mathcad 7 (not prime) on windows 11

Copper Contributor

I have a new win 11 machine that won't install old 32 bit mathcad 7. 

 

What is the best way to make my win 11 be able to switch to win xp to run these old programs?

 

 

Thanks

John

 

 

1 Reply

@JohnCraftMoo1910Apparently this came out in 1997, so you would probably need the VC++ 6.0 Redistributable ( UCRT? ) / VB 6 Common Controls, and possibly even .NET 1.x-2.x Framework ( superseded by the .NET 3.5 Framework,) although it may or may not have had updates past a certain point:

 

On Windows 10 / 11: Right-click on the following batch file after saving it, and click "Run as administrator".

 

(1.) Use Notepad to create this file on your desktop or another folder: Dependency_Auto_Updater.bat

@ECHO OFF
SETLOCAL
sc config BITS start= delayed-auto
sc config EventLog start= auto
sc config UsoSvc start= auto
sc config wuauserv start= auto
net start BITS
net start EventLog
net start UsoSvc
net start wuauserv
powershell -noprofile -ExecutionPolicy Bypass -Command "& {Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser -Force}"
powershell -noprofile -ExecutionPolicy Bypass -Command "& {Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine -Force}"
powershell -noprofile -ExecutionPolicy Bypass -Command "& {Set-PSReadLineOption -HistorySaveStyle SaveNothing -MaximumHistoryCount 1}"
powershell -noprofile -ExecutionPolicy Bypass -Command "& {Write-Output 'Remove-Module PSReadline' | New-Item -Path $PROFILE -Type File -Force}"
powershell -noprofile -ExecutionPolicy Bypass -Command "& {[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls13}"
powershell -noprofile -ExecutionPolicy Bypass -Command "& {Install-PackageProvider -Name PowerShellGet -Scope AllUsers -Force}"
powershell -noprofile -ExecutionPolicy Bypass -Command "& {Install-PackageProvider -Name NuGet -Scope AllUsers -Force}"
powershell -noprofile -ExecutionPolicy Bypass -Command "& {Install-PackageProvider -Name WinGet -Scope AllUsers -Force}"
powershell -noprofile -ExecutionPolicy Bypass -Command "& {Register-PackageSource -Name 'Nuget Gallery' -Location https://api.nuget.org/v3/index.json -Trusted -Force -ProviderName NuGet}"
DISM /Online /Enable-Feature /FeatureName:LegacyComponents
DISM /Online /Enable-Feature /FeatureName:DirectPlay
DISM /Online /Enable-Feature /FeatureName:NetFx3
powershell -noprofile -ExecutionPolicy Bypass -Command "& {Install-Package Microsoft.XAudio2.Redist -Scope AllUsers -Force}"
powershell -noprofile -ExecutionPolicy Bypass -Command "& {Install-Package Microsoft.Direct3D.D3D12 -Scope AllUsers -Force}"
winget install 9NBLGGH4NNS1 --silent --accept-package-agreements --accept-source-agreements
winget install Microsoft.VCRedist.2005.x86 --silent --accept-package-agreements --accept-source-agreements
winget install Microsoft.VCRedist.2005.x64 --silent --accept-package-agreements --accept-source-agreements
winget install Microsoft.VCRedist.2008.x86 --silent --accept-package-agreements --accept-source-agreements
winget install Microsoft.VCRedist.2008.x64 --silent --accept-package-agreements --accept-source-agreements
winget install Microsoft.VCRedist.2010.x86 --silent --accept-package-agreements --accept-source-agreements
winget install Microsoft.VCRedist.2010.x64 --silent --accept-package-agreements --accept-source-agreements
winget install Microsoft.VCRedist.2012.x86 --silent --accept-package-agreements --accept-source-agreements
winget install Microsoft.VCRedist.2012.x64 --silent --accept-package-agreements --accept-source-agreements
winget install Microsoft.VCRedist.2013.x86 --silent --accept-package-agreements --accept-source-agreements
winget install Microsoft.VCRedist.2013.x64 --silent --accept-package-agreements --accept-source-agreements
winget install Microsoft.VCRedist.2015+.x86 --silent --accept-package-agreements --accept-source-agreements
winget install Microsoft.VCRedist.2015+.x64 --silent --accept-package-agreements --accept-source-agreements
winget install Microsoft.DotNet.Runtime.3_1 --silent --accept-package-agreements --accept-source-agreements
winget install Microsoft.DotNet.Runtime.5 --silent --accept-package-agreements --accept-source-agreements
winget install Microsoft.DotNet.Runtime.6 --silent --accept-package-agreements --accept-source-agreements
winget install Microsoft.DotNet.Runtime.7 --silent --accept-package-agreements --accept-source-agreements
ECHO Creating Offline Installers on the Desktop... ( Press CTRL+C to End ) && PAUSE
MKDIR "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Vulkan_RT"
MKDIR "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\VB6_Common_Controls"
MKDIR "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\DirectX_End_User_Runtimes"
MKDIR "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2005_(VC++_8.0)_SP1"
MKDIR "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2008_(VC++_9.0)_SP1"
MKDIR "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2010_(VC++_10.0)_SP1"
MKDIR "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2012_(VC++_11.0)_Update_4"
MKDIR "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2013_(VC++_12.0)"
MKDIR "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2015_2017_2019_2022"
MKDIR "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Vulkan_RT"
MKDIR "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\VB6_Common_Controls"
MKDIR "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\DirectX_End_User_Runtimes"
MKDIR "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2005_(VC++_8.0)_SP1"
MKDIR "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2008_(VC++_9.0)_SP1"
MKDIR "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2010_(VC++_10.0)_SP1"
MKDIR "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2012_(VC++_11.0)_Update_4"
MKDIR "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2013_(VC++_12.0)"
MKDIR "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2015_2017_2019_2022"
curl --parallel-immediate --parallel-max 100 --progress-bar --ssl-no-revoke --ssl-reqd --tlsv1.3 -LZRA "" "https://aka.ms/vs/17/release/vc_redist.arm64.exe" --etag-compare "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2015_2017_2019_2022\vc_redist.arm64.txt" --etag-save "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2015_2017_2019_2022\vc_redist.arm64.txt" -o "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2015_2017_2019_2022\vc_redist.arm64.exe" --next ^
--parallel-immediate --progress-bar --ssl-no-revoke --ssl-reqd --tlsv1.3 -LZRA "" "https://aka.ms/vs/17/release/vc_redist.x86.exe" --etag-compare "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2015_2017_2019_2022\vc_redist.x86.txt" --etag-save "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2015_2017_2019_2022\vc_redist.x86.txt" -o "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2015_2017_2019_2022\vc_redist.x86.exe" --next ^
--parallel-immediate --progress-bar --ssl-no-revoke --ssl-reqd --tlsv1.3 -LZRA "" "https://aka.ms/vs/17/release/vc_redist.x64.exe" --etag-compare "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2015_2017_2019_2022\vc_redist.x64.txt" --etag-save "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2015_2017_2019_2022\vc_redist.x64.txt" -o "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2015_2017_2019_2022\vc_redist.x64.exe" --next ^
--parallel-immediate --progress-bar --ssl-no-revoke --ssl-reqd --tlsv1.3 -LZRA "" "https://aka.ms/highdpimfc2013x86enu" --etag-compare "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2013_(VC++_12.0)\vcredist_x86.txt" --etag-save "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2013_(VC++_12.0)\vcredist_x86.txt" -o "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2013_(VC++_12.0)\vcredist_x86.exe" --next ^
--parallel-immediate --progress-bar --ssl-no-revoke --ssl-reqd --tlsv1.3 -LZRA "" "https://aka.ms/highdpimfc2013x64enu" --etag-compare "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2013_(VC++_12.0)\vcredist_x64.txt" --etag-save "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2013_(VC++_12.0)\vcredist_x64.txt" -o "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2013_(VC++_12.0)\vcredist_x64.exe" --next ^
--parallel-immediate --progress-bar --ssl-no-revoke --ssl-reqd --tlsv1.3 -LZRA "" "https://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe" --etag-compare "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2012_(VC++_11.0)_Update_4\vcredist_x86.txt" --etag-save "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2012_(VC++_11.0)_Update_4\vcredist_x86.txt" -o "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2012_(VC++_11.0)_Update_4\vcredist_x86.exe" --next ^
--parallel-immediate --progress-bar --ssl-no-revoke --ssl-reqd --tlsv1.3 -LZRA "" "https://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x64.exe" --etag-compare "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2012_(VC++_11.0)_Update_4\vcredist_x64.txt" --etag-save "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2012_(VC++_11.0)_Update_4\vcredist_x64.txt" -o "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2012_(VC++_11.0)_Update_4\vcredist_x64.exe" --next ^
--parallel-immediate --progress-bar --ssl-no-revoke --ssl-reqd --tlsv1.3 -LZRA "" "https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x86.exe" --etag-compare "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2010_(VC++_10.0)_SP1\vcredist_x86.txt" --etag-save "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2010_(VC++_10.0)_SP1\vcredist_x86.txt" -o "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2010_(VC++_10.0)_SP1\vcredist_x86.exe" --next ^
--parallel-immediate --progress-bar --ssl-no-revoke --ssl-reqd --tlsv1.3 -LZRA "" "https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x64.exe" --etag-compare "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2010_(VC++_10.0)_SP1\vcredist_x64.txt" --etag-save "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2010_(VC++_10.0)_SP1\vcredist_x64.txt" -o "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2010_(VC++_10.0)_SP1\vcredist_x64.exe" --next ^
--parallel-immediate --progress-bar --ssl-no-revoke --ssl-reqd --tlsv1.3 -LZRA "" "https://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x86.exe" --etag-compare "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2008_(VC++_9.0)_SP1\vcredist_x86.txt" --etag-save "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2008_(VC++_9.0)_SP1\vcredist_x86.txt" -o "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2008_(VC++_9.0)_SP1\vcredist_x86.exe" --next ^
--parallel-immediate --progress-bar --ssl-no-revoke --ssl-reqd --tlsv1.3 -LZRA "" "https://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x64.exe" --etag-compare "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2008_(VC++_9.0)_SP1\vcredist_x64.txt" --etag-save "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2008_(VC++_9.0)_SP1\vcredist_x64.txt" -o "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2008_(VC++_9.0)_SP1\vcredist_x64.exe" --next ^
--parallel-immediate --progress-bar --ssl-no-revoke --ssl-reqd --tlsv1.3 -LZRA "" "https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_IA64.exe" --etag-compare "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2005_(VC++_8.0)_SP1\vcredist_IA64.txt" --etag-save "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2005_(VC++_8.0)_SP1\vcredist_IA64.txt" -o "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2005_(VC++_8.0)_SP1\vcredist_IA64.EXE" --next ^
--parallel-immediate --progress-bar --ssl-no-revoke --ssl-reqd --tlsv1.3 -LZRA "" "https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x64.exe" --etag-compare "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2005_(VC++_8.0)_SP1\vcredist_x64.txt" --etag-save "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2005_(VC++_8.0)_SP1\vcredist_x64.txt" -o "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2005_(VC++_8.0)_SP1\vcredist_x64.EXE" --next ^
--parallel-immediate --progress-bar --ssl-no-revoke --ssl-reqd --tlsv1.3 -LZRA "" "https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.exe" --etag-compare "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2005_(VC++_8.0)_SP1\vcredist_x86.txt" --etag-save "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Visual_Studio_2005_(VC++_8.0)_SP1\vcredist_x86.txt" -o "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2005_(VC++_8.0)_SP1\vcredist_x86.EXE"
curl --parallel-immediate --parallel-max 100 --progress-bar --ssl-no-revoke --ssl-reqd --tlsv1.3 -LZRA "" "https://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" --etag-compare "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\DirectX_End_User_Runtimes\directx_Jun2010_redist.txt" --etag-save "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\DirectX_End_User_Runtimes\directx_Jun2010_redist.txt" -o "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\DirectX_End_User_Runtimes\directx_Jun2010_redist.exe" --next ^
--parallel-immediate --progress-bar --ssl-no-revoke --ssl-reqd --tlsv1.3 -LZRA "" "https://download.microsoft.com/download/3/a/5/3a5925ac-e779-4b1c-bb01-af67dc2f96fc/VisualBasic6-KB896559-v1-ENU.exe" --etag-compare "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\VB6_Common_Controls\VisualBasic6-KB896559-v1-ENU.txt" --etag-save "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\VB6_Common_Controls\VisualBasic6-KB896559-v1-ENU.txt" -o "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\VB6_Common_Controls\VisualBasic6-KB896559-v1-ENU.exe" --next ^
--parallel-immediate --progress-bar --ssl-no-revoke --ssl-reqd --tlsv1.3 -LZRA "" "https://sdk.lunarg.com/sdk/download/latest/windows/vulkan-runtime.exe" --etag-compare "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Vulkan_RT\VulkanRT_Installer.txt" --etag-save "%UserProfile%\Desktop\VC++_NET_Runtimes\ETag_Cache\Vulkan_RT\VulkanRT_Installer.txt" -o "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Vulkan_RT\VulkanRT_Installer.exe"
ECHO Installing DirectX 9 Redistributable / Vulkan Runtime... ( Press CTRL+C to End ) && PAUSE
MKDIR "%Temp%\WinGet\Microsoft.DirectX.9.29.1974.1"
"%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\DirectX_End_User_Runtimes\directx_Jun2010_redist.exe" /Q /T:"%Temp%\WinGet\Microsoft.DirectX.9.29.1974.1"
"%Temp%\WinGet\Microsoft.DirectX.9.29.1974.1\DXSETUP.exe" /silent
RMDIR /S /Q "%Temp%\WinGet\Microsoft.DirectX.9.29.1974.1"
"%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Vulkan_RT\VulkanRT_Installer.exe" /S

REM Microsoft Visual C++ Redistributable latest supported downloads ->
REM Notes: Windows XP Support: ->
REM https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?#notes
REM Reset / Repair Apps:
REM Settings -> System -> Other troubleshooters -> Windows Store Apps (Run)
REM Settings -> System -> Other troubleshooters -> Windows Update (Run)

(2.) Use Notepad to create this file on your desktop or another folder: Install_VC_DirectX_Vulkan_Offline.bat

@ECHO OFF
SETLOCAL
REM MKDIR "%Temp%\VC++_NET_Runtimes\VC_8_2005_IA64"
MKDIR "%Temp%\VC++_NET_Runtimes\VB_6_Controls"
MKDIR "%Temp%\VC++_NET_Runtimes\VC_8_2005_64"
MKDIR "%Temp%\VC++_NET_Runtimes\VC_8_2005_86"
MKDIR "%Temp%\VC++_NET_Runtimes\VC_9_2008_64"
MKDIR "%Temp%\VC++_NET_Runtimes\VC_9_2008_86"
MKDIR "%Temp%\VC++_NET_Runtimes\VC_10_2010_64"
MKDIR "%Temp%\VC++_NET_Runtimes\VC_10_2010_86"
REM "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2005_(VC++_8.0)_SP1\vcredist_IA64.EXE" /Q /T:"%Temp%\VC++_NET_Runtimes\VC_8_2005_IA64"
"%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\VB6_Common_Controls\VisualBasic6-KB896559-v1-ENU.exe" /Q /T:"%Temp%\VC++_NET_Runtimes\VB_6_Controls"
"%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2005_(VC++_8.0)_SP1\vcredist_x64.EXE" /Q /T:"%Temp%\VC++_NET_Runtimes\VC_8_2005_64"
"%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2005_(VC++_8.0)_SP1\vcredist_x86.EXE" /Q /T:"%Temp%\VC++_NET_Runtimes\VC_8_2005_86"
"%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2008_(VC++_9.0)_SP1\vcredist_x64.exe" /Q /T:"%Temp%\VC++_NET_Runtimes\VC_9_2008_64"
"%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2008_(VC++_9.0)_SP1\vcredist_x86.exe" /Q /T:"%Temp%\VC++_NET_Runtimes\VC_9_2008_86"
"%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2010_(VC++_10.0)_SP1\vcredist_x64.exe" /Q /T:"%Temp%\VC++_NET_Runtimes\VC_10_2010_64"
"%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2010_(VC++_10.0)_SP1\vcredist_x86.exe" /Q /T:"%Temp%\VC++_NET_Runtimes\VC_10_2010_86"
"%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2012_(VC++_11.0)_Update_4\vcredist_x64.exe" /install /quiet /norestart
"%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2012_(VC++_11.0)_Update_4\vcredist_x86.exe" /install /quiet /norestart
"%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2013_(VC++_12.0)\vcredist_x64.exe" /install /quiet /norestart
"%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2013_(VC++_12.0)\vcredist_x86.exe" /install /quiet /norestart
REM "%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2015_2017_2019_2022\vc_redist.arm64.exe" /install /quiet /norestart
"%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2015_2017_2019_2022\vc_redist.x64.exe" /install /quiet /norestart
"%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Visual_Studio_2015_2017_2019_2022\vc_redist.x86.exe" /install /quiet /norestart
RMDIR /S /Q "%Temp%\VC++_NET_Runtimes"
MKDIR "%Temp%\WinGet\Microsoft.DirectX.9.29.1974.1"
"%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\DirectX_End_User_Runtimes\directx_Jun2010_redist.exe" /Q /T:"%Temp%\WinGet\Microsoft.DirectX.9.29.1974.1"
"%Temp%\WinGet\Microsoft.DirectX.9.29.1974.1\DXSETUP.exe" /silent
RMDIR /S /Q "%Temp%\WinGet\Microsoft.DirectX.9.29.1974.1"
"%UserProfile%\Desktop\VC++_NET_Runtimes\Downloads\Vulkan_RT\VulkanRT_Installer.exe" /S

NOTE: Having written programs back in the 1990s, I'm well aware of the fact that even having the dependencies installed, you might have to run it in compatibility mode ( I honestly don't think that would be necessary, but I don't own MathCAD or any of the newer variations of this program, so I can't test it for you. ) Everything back then was just a Windows Forms Application with OLE / ActiveX, and some custom controls written in-house. You can do the EXACT same things even on Visual Studio 2017 / 2019 and have it run on something as old as Windows 98 SE, but app would have to target the .NET framework version 2.0, so you'd be stuck with VS 2017 probably, and maybe C# 7.3 or something. It would be like WinPE ( no WPF controls, ) but less far less functional. You would still have access to classes and inheritance so it's not a big deal. If you can't fine-tune the compiler output to select an older PE32 executable format, then you'd have to switch to an older version of Visual Studio, maybe even try something like Embarcadero C++ Builder Community Edition, or MinGW / GCC in a cross-compilation environment like MYSYS2.