[Setup]
AppName={#MyAppName}
AppVersion={#MyAppVersion}
DefaultDirName="{autopf}\{#MyAppName}"
ArchiveExtraction=full
DisableWelcomePage=yes
DisableDirPage=yes
DisableProgramGroupPage=yes
DisableReadyPage=yes
[Files]
Source: "C:\Users\gal\Downloads\test.rar"; DestDir: "{app}"; Flags: external extractarchive ignoreversion recursesubdirs
Debug logs:
[18:02:24.641] -- Archive entry --
[18:02:24.648] ERROR: Cannot open file as archive
[18:02:24.650] Message box (Abort/Retry/Ignore):
C:\Users\gal\Downloads\test.rar
An error occurred while trying to extract an archive:
The archive is corrupted.
I am using Inno Setup 6.5.1, I verified the is7z.dll and compressed the rar file using winrar 5.0
The RAR file is not password protected, and no corrupted yet it fails. I tried with multiple rar files, it works on all other formats as specified in ExtractArchive(full) directive but not on .rar