|
|
|
#1
|
|||
|
|||
|
How to fix this? it Shows 0 minutes & 0 Seconds Remaining..
|
| Sponsored Links |
|
#2
|
|||
|
|||
|
function ProgressCallback(OveralPct,CurrentPct: integer;CurrentFile,TimeStr1,TimeStr2,TimeStr3:PAn siChar): longword; var Remaining: Integer; begin if OveralPct<=Wizardform.ProgressGauge.Max then Wizardform.Progressgauge.Position := OveralPct; Result := ISDoneCancel; with WizardForm.ProgressGauge do begin if (Position>0)and((GetTickCount-StartInstall)/1000>0) then Remaining:= ((Max-Position)/(Position/((GetTickCount-StartInstall)/1000)))*1000; WizardForm.Caption:=(IntToStr(ProgressPercent)+'%' )+(' Wait ' + TicksToTime(Remaining, cm('hour'), cm('min'), cm('sec'), false)); end; end; |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 05:51 |
| Blackbox Inno Setup Script | Kurutucu | Conversion Tutorials | 1190 | 18-08-2019 22:43 |
| INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 06:57 |
| NASCAR The Game 2013 (inno setup script) | sentinelks | PC Games - CD/DVD Conversions | 28 | 08-09-2013 20:30 |
| Copy file with Inno Setup Script | emrahcey | Software | 1 | 02-07-2010 08:24 |