View Single Post
  #4  
Old 05-09-2020, 07:54
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Example of using the list and call before mode.

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
Code:
_CommonRedist\*
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.
Attached Files
File Type: 7z _DiskSpan [2020.09.05].7z (10.9 KB, 90 views)

Last edited by Cesar82; 05-09-2020 at 12:23.
Reply With Quote
The Following 9 Users Say Thank You to Cesar82 For This Useful Post:
ADMIRAL (28-01-2021), Grumpy (05-09-2020), GTX590 (29-01-2021), houcine80 (30-01-2021), KaktoR (05-09-2020), mausschieber (05-09-2020), MOSTAPHA_VIP (10-02-2021), Prettyboy099 (06-09-2020), Razor12911 (08-09-2020)