DiskSpan.bat example to exclude redist and copy redist files to output folder...
List mode can also be configured in this way to include redist files without requiring user action.
I did some tests and it is working perfectly.
DiskSpan.bat
Code:
set GAME[1].EXCL[1]=Lists\ExcludeRedist.txt
set GAME[1].BEFO[1]=Lists\CopyRedist.bat
ExcludeRedist.txt
CopyRedist.bat
Code:
@echo off
xcopy "%~1\_CommonRedist\" "%~5\_CommonRedist\" /E /Q /Y
cls
I attached a new DiskSpan.bat here with some changes (Replace all files in "UltraARC 2900 R8" folder).
I fixed the automatic calculation of the first disk so that the DiskSpan.bat file gets the size of the SetupFiles folder after copying the redist files.
It also adds a new parameter "SetupFilesDir" to the CallAfter/CallBefore files.