Quote:
Originally Posted by Viper645
I need the full usage of ISExec tutorial. Can you help me please?
|
function ISExec
function ISExec (CurComponent:Cardinal; PctOfTotal, ProcessTime:double; ExeName, Parameters, TargetDir, OutputStr:string, Show:boolean):boolean;
Examples:
If not ISExec (0, 0, 0, ExpandConstant ('{tmp} \ precomp.exe'), ExpandConstant ('-r -o "{app} \ data.pak" "{app} \ data.pcf"') , 'Data.pak', false);
Runs the precomp.exe file located in the {tmp} folder with the parameters for extracting data.pcf from {app} into data.pak with the "data.pak" text in the "Extract file:" field in the install window. Console application window is hidden. The progress of the operation is considered based on the test pass and the previous operations performed.
If not ISExec (0, 100, -1, ExpandConstant ('{tmp} \ precomp.exe'), ExpandConstant ('-r -o "{app} \ data.pak" "{app} \ data.pcf"' ), 'Data.pak', false);
The same as the previous example, but the percentages are manual and the progress will be in place before execution, then jump to 100%. The window of the application being launched is also hidden.
Example Are taken from profrager help file.