View Single Post
  #1  
Old 18-03-2019, 15:40
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 566
Thanks: 116
Thanked 889 Times in 321 Posts
panker1992 is on a distinguished road
I am working at the moment making masks v3 + 3 ways compression with Inno support.

Method 1
With that said, Inno setup has isdone.dll which has these parameters,
""
if not ISArcExtract ( 0, 0, ExpandConstant('{src}\Setup-1.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break; ""

the second 0 is the progress bar, if you leave it to 0 the setup will create a records.inf which you can then use to smoothen out your progress bar.

Method 2

if you have 3 Freearc files however and you want to manually put a progress bar here is how

if not ISArcExtract ( 0, 30, ExpandConstant('{src}\data1.bin'), ExpandConstant('{app}'), '', false, 'yourpassword', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISArcExtract ( 0, 30, ExpandConstant('{src}\data2.bin'), ExpandConstant('{app}'), '', false, 'yourpassword', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISArcExtract ( 0, 40, ExpandConstant('{src}\data3.bin'), ExpandConstant('{app}'), '', false, 'yourpassword', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;

the sum of all second column must be 100!!!!

I officially MOVE here: https://fileforums.com/showthread.php?t=102689
This is no longer a valid space to talk about Masks enjoy v3 and hope you suggest more to go
__________________
My projects : Masked Compression, lzma2(xz) on Freearc, Zstd compressor for windows
My optimizations : packjpg.exe, zstd, lzham, precomp-dev-0.45.

Last edited by panker1992; 18-03-2019 at 23:25.
Reply With Quote
The Following User Says Thank You to panker1992 For This Useful Post:
oltjon (27-04-2019)
Sponsored Links