Keka icon indicating copy to clipboard operation
Keka copied to clipboard

[REQ] proper .exe extraction

Open ghost opened this issue 3 years ago • 12 comments

Is there a proper way to extract files from an .exe installer file? F.e. I just want to export a .dll included in the installer but I don't want to install the whole file. On macOS you can do this with "pacifist" for .pkg files and I guess you can use 7-zip on Windows to do the same thing.

ghost avatar Aug 31 '20 12:08 ghost

With Keka you can extract some EXE files, probably the same Pacifist can open.

aonez avatar Sep 08 '20 09:09 aonez

@iDjay let me know if you need assistance with an specific file.

aonez avatar Sep 14 '20 09:09 aonez

Sure :)

Let's take this file f.e.

https://we.tl/t-6RQ3VI00FX

Extract it with Keka and you'll get: "[0]" and "CERTIFICATE".

I expected to see the files this .exe file wants to install (f.e. A .dll file) but maybe that's not possible?

ghost avatar Sep 14 '20 09:09 ghost

Currently Keka is only able to extract some EXE files that indeed contain a compressed archive. Usually those are installers but note that not all installers (like the one you've shared) contain a compressed archive.

See the difference with for example the windows CCleaner installer:

Screenshot 2020-09-18 at 11 08 29

aonez avatar Sep 18 '20 09:09 aonez

That said, I'm sure that can be improved although I don't see that as a priority right now. Maybe in the future :)

aonez avatar Sep 18 '20 09:09 aonez

Did a little more digging on that file. It uses Inno Setup. It can be extracted (on Windows) with UniExtract2 and probably with innounp and there's also the Mac utility innoextract, so this won't be as hard to implement as expected.

aonez avatar Sep 18 '20 09:09 aonez

@aonez Any news about it? :)

ghost avatar Oct 04 '20 08:10 ghost

Having trouble identifying Inno Setup installers. I might make a dev build though.

aonez avatar Oct 06 '20 09:10 aonez

I'm still interested in bringing this enhancement ;)

aonez avatar Nov 12 '20 08:11 aonez

Closed by mistake. :)

ghost avatar Nov 12 '20 09:11 ghost

some updates on this? :)

ghost avatar Jan 30 '21 10:01 ghost

Still figuring out how to properly implement.

aonez avatar Apr 02 '21 18:04 aonez