I have an NSIS installer script that I want to convert into Inno Setup. NSIS version can show progress of 3rd party extraction(7z), also the files being extracted.
These are the codes to get and display progress and current file from NSIS script.
GetFunctionAddress $R2 UpdateProgressBar
ExecDos::exec /TOFUNC '7za.exe x "Package/achivefile.pak" -o"./installDir" -r -aoa -bb' '' $R2
This is general 7z extraction command:
7za.exe x ".\Package\achivefile.pak" -o".\SomeDestination" -r -aoa -bb
The command line output of extracting the file is something similar to:
Now I want to make same/similar stuff with Inno Setup, read/get output of extraction process. However I can't find a similar command/method to achieve the same result.
Update: I can execute an external application. My question is how to integrate the output of external application (7z in this context) with progress of Inno Setup installing process