; Global parameters
; ---------------------------------------------------------------------------------------------------
; FrameColor=Normal frame color (default : clBlue)
; FrameErrorColor=Error frame color (default : clPurple)
; BackColor=Normal background color (default : clLime)
; TextColor=Normal text color (default : clBlack)
; ErrorColor=Background color on error (default : clRed)
; TextErrorColor=Text color on error (default : clWhite)
; ProgBarColor=Progress bar done color (default : clNavy)
; ProgBarPendentColor=Progress bar pendent color (default : clGray)
; Sleep=Time in seconds will show message for Run=false (format hh:mm:ss) (default : 2 = 00:00:02)
; SleepError=Time in seconds will show message for any error detected (format hh:mm:ss) (default : 5 = 00:00:05)
; SleepOnFinish=Time in seconds will show message for Run=true or not declared (format hh:mm:ss) (default : 2 = 00:00:02)
; FadeOut=Time in seconds to fadeout on ending process (default : 0 = dissabled)
;
; Section parameters
; ---------------------------------------------------------------------------------------------------
; Source=REQUIRED (source path)
; Target=REQUIRED (target path)
; CheckFile=OPTIONAL (RECOMENDED) (file with etension and no path to check)
; Subfolders=OPTIONAL (if shoud be copyed subfolders, default : false)
; Execute=OPTIONAL (comma separated program and parameters, default : none)
; ExecuteQueued=OPTIONAL (do Execute when finished all section commands, default : false)
; ExecuteAlways=OPTIONAL (do Execute even section check not verified, default : false)
; Run=OPTIONAL (execute CheckFile, default : false)
; Sleep=OPTIONAL (default : 2)
; Param=OPTIONAL (comma separated parameters for CheckFile run, default : none)
; Section=OPTIONAL (execute this section only if current section check is verified)
; Lang=OPTIONAL (language section, default English : EN)
; any other parameter will considered as params with files/folders to copy
;
; Predefined Colors
; ---------------------------------------------------------------------------------------------------
; clAqua, clBlack, clBlue, clDkGray, clFuchsia, clGray, clGreen, clLime, clLtGray
; clMaroon, clNavy, clOlive, clPurple, clRed, clSilver, clTeal, clWhite, clYellow
; clBackground, clActiveCaption, clInactiveCaption, clMenu, clWindow, clWindowFrame
; clMenuText, clWindowText, clCaptionText, clActiveBorder, clInactiveBorder, clAppWorkSpace
; clHighlight, clHightlightText, clBtnFace, clBtnShadow, clGrayText, clBtnText, clInactiveCaptionText
; clBtnHighlight, cl3DDkShadow, cl3DLight, clInfoText, clInfoBk
;
; Personal color
; ---------------------------------------------------------------------------------------------------
; 0xNNNNNN ( N from 0 to F )
; For invalid color will use default colors clLime (Color) and clRed (ColorError)
;
; Variable arguments
; ---------------------------------------------------------------------------------------------------
; %s = Section, %c = CheckFile
;
; Comma separated parameters
; ---------------------------------------------------------------------------------------------------
; if one parameter have spaces then include it beween ", and if should be used as execucion command
; then is mandatory start and end of parameter with declare """.
Program help included in INI file
Exec :       Check, Upate and Exec
Last updated 2011 / 07 / 11
When sending mail preserve propossed start subject

Main purpose of Exec is reduce network trafic when executing large programs but may be used for any update purposes from remote to local computer.

Update is done by checking file version, if can't get file version then filestamp is used.

Program does not require installation. Exec uses a INI file which is created automatically if does not exist and it is executed with no parameters. You can create as many sections as you want.

One section can call other section, this an other, etc. The chain ends when one section fails the test.

You can run Exec with many parameters and are executed from left to right. Each parameter is executed regardless of the outcome of the previous section.

Contents of INI file created automatically :

  • Starts with program help
  • Reserved section [Global] with program aspect and timer options (no problem if removed)
  • Predefined langage sections [EN] (English), [CAT] (Catalan) and [ES] (Spanish). If language is not defined or not exist language section then will use internal English. You can add your personal translation or change default text.
  • Example sections [Test] and [Test-execute]