Closed chilikk closed 1 year ago
In your installer the files are not conditional based on the setup language but rather on setup components lang\eng and lang\rus. Excluding files based on component is not supported yet (see issue #12).
Another problem is that the component IDs use backslashes - we need to replace those with a safe character or extracting on Windows will not work as expected.
The second issue is tracked in #123, closing this as duplicate of that and #12.
Consider the following installer: HotA_1.6.1_setup.exe (can be downloaded from here https://www.vault.acidcave.net/download.php?id=614 or any other mirror listed here https://h3hota.com/en/download)
SHA-256 sum of the installer: 79f3330e4d47ef0f065fdbe5ccd07b34eceaafb6f7ebe0bc8b2b4a4d83484c23
The installer contains language-dependent files, as correctly detected by innoextract:
Trying to use one of these languages with the --language option does not seem to make any difference though
Neither when trying to list language-dependent files
Nor when actually trying to extract
The installer does however contain language-specific files, which is correctly handled by --collisions=rename-all option
I have tried both the latest version available in Arch linux repository
As well as compiled from the latest 660546ad796bb7619ff0e99a6cd61c4e01e4e241 commit on github
Unfortunately I do not know how the installer in question has been created or whether it is a general or a specific problem, but it feels that the innoextract is already able to differentiate between the files when using the --collisions=rename-all options, so there should be a possible solution for the --language option. I might also be doing something wrong, in which case I would be happy to get some pointers!