View Single Post
  #5  
Old 17-09-2021, 07:45
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
Quote:
Originally Posted by maybeknow View Post
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;
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
maybeknow (17-09-2021)