Quote:
Originally Posted by maybeknow
thank you, the DiskSpan GUI 2.0.0.2 is a great example, but I think maybe its better for me to follow the original example of ISDone, because i want to use it on a simple inno setup script (nothing fancy)
but something that I still not sure about is how can I show the progress of it in installation page of my installer...
|
To display the progress I think it will be necessary to use the parameter "PctOfTotal" of the functions used.
Example patch 10% of progressbar.
Code:
if not ISArcExtract ( 0, 0.9, ExpandConstant('{src}\*.arc'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ISxDeltaExtract ( 0, 0, 0.1, 640, ExpandConstant('{app}\origfile.txt'), ExpandConstant('{app}\patch.diff'), ExpandConstant('{app}\newfile.txt'), false, false) then break;