# Install all Visual C++ Redistributable runtimes (2005-2022, x86+x64) { pkgs, makeFilesISO, ... }: let installer = pkgs.fetchurl { url = "https://github.com/abbodi1406/vcredist/releases/download/v0.103.0/VisualCppRedist_AIO_x86_x64.exe"; hash = "sha256-PBiORlG8wH3yvbBtaVhRWHl7G6+5FVewkhdiFijNWyM="; }; in { name = "vcpp"; cdroms = [ (makeFilesISO { name = "vcpp-runtimes"; files = [ installer ]; }) ]; auditScript = '' @echo off echo Installing Visual C++ Redistributable runtimes... copy D:\VisualCppRedist_AIO_x86_x64.exe C:\vcpp-setup.exe start /wait C:\vcpp-setup.exe /ai /gm2 del /q C:\vcpp-setup.exe ''; }