Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old Today, 02:07
audiofeel's Avatar
audiofeel audiofeel is offline
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 64
Thanks: 497
Thanked 1,113 Times in 386 Posts
audiofeel is on a distinguished road
FreeArc-C Extraction DLL for Inno Setup

FreeArc-C Extraction DLL for Inno Setup


I'd like to introduce "FAExtract" - a lightweight DLL that provides FreeArc archive extraction for Inno Setup 7 and newer.

The project is built around FreeArc-C and provides a Delphi-based interface between Inno Setup and the FreeArc extraction engine.

What it is

FAExtract is a management and integration layer for FreeArc extraction.

It handles archive queues, archive analysis, extraction workflow, progress tracking and communication with Inno Setup.

The actual archive processing is performed by the separate unarc.dll from FreeArc-C. FAExtract dynamically loads this library and uses its modern C API - unarc_run.

In other words, FAExtract does not reimplement FreeArc's extraction algorithms. It is specifically built on top of the FreeArc-C project.

What it can do

1) Archive management
  • Add multiple archives to a queue and extract them sequentially.
  • Specify a separate password for each archive.
  • Add an entire archive or select a specific folder inside it.
  • Analyze archives before extraction.
  • Retrieve archive information, including original size, compressed size and file count.

2) Progress tracking
  • Overall extraction progress across all queued archives.
  • Individual progress for the currently processed archive.
  • Processed file and byte counters.
  • Current smoothed speed and average extraction speed.
  • Estimated time remaining (ETA).
  • Direct progress callback to Inno Setup.

3) Extraction control
  • Pause and resume extraction.
  • Cancel the current operation.
  • Retrieve the current archive and file.
  • Check the current operation state and error information.

4) Inno Setup integration
  • Designed for Inno Setup 7 and newer.
  • Uses a direct progress callback instead of timer-based progress polling.
  • Includes a working example based on standard Inno Setup controls.

Technical snapshot
  • DLL: FAExtract.dll
  • Size: 135 KB
  • Language: Delphi / Object Pascal
  • Compiler: RAD Studio 13.2 Florence
  • Architecture: Windows x64
  • Host: Inno Setup 7 or newer (64-bit process)
  • Extraction engine: FreeArc-C (unarc.dll)
  • API: unarc_run
  • License: GPL-2.0

The reported DLL size refers to FAExtract.dll only. The FreeArc-C extraction engine and any required external codecs are separate files.

Requirements
  • FAExtract.dll
  • unarc.dll from FreeArc-C
  • arc.ini and external codec executables only when required by the compression methods used in the archives.
  • A 64-bit Inno Setup process.

Examples and tests

The repository includes:
  • A clean Inno Setup 7.x example demonstrating archive extraction and direct progress callbacks.
  • SimpleCompression tests for archives without SREP.
  • A test configuration using SREP + LZMA.
  • A selective folder extraction test.

Development status

FAExtract is still under development. The main functionality has been implemented and tested, but not every possible archive configuration, compression method or external codec combination has been verified.

Compatibility also depends on the FreeArc-C build and the codecs required by a particular archive.

I'm not Microsoft - I can't test every possible configuration myself.

Feedback, bug reports and test results are welcome.

Project links

FAExtract - GitHub repository

FreeArc-C - extraction engine
__________________
https://t.me/FMXInno
Reply With Quote
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISApexEx - Unified API for 7z / FreeArc / RAR Extraction and Xdelta3 Patching BLACKFIRE69 Conversion Tutorials 9 10-07-2026 05:10
ISRarEx - Advanced RAR Extraction API for Inno Setup BLACKFIRE69 Conversion Tutorials 2 26-04-2026 11:58
IS7zEx - Advanced 7-Zip Extraction API for Inno Setup BLACKFIRE69 Conversion Tutorials 3 19-04-2026 16:28
BlackBox v2 y_thelastknight Conversion Tutorials 567 11-03-2025 08:16
Useful Dll for Inno Setup users peterf1999 Conversion Tutorials 88 01-12-2017 17:00



All times are GMT -7. The time now is 03:15.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com