This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Ark support for self extracting archives

41

Votes
43
2
Tags: ark, self extracting, exe, win32 ark, self extracting, exe, win32 ark, self extracting, exe, win32
(comma "," separated)
saldsl
Registered Member
Posts
19
Karma
0
I think Ark should handle win32 self extracting archives (.exe) without the need to install wine just to uncompress them.

I'm not sure, but I think these self extracting archives are just zip files with a small program to uncompress in them, if I remember right from the time I used Windows, winzip and winrar can open them just as zip files.
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
It depends, there are self-extracting zip files, but I think there are self-extracting rar and perhaps even 7zip archives as well. I agree it would be good if it is possible to figure out what the underlying archive type is.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
saldsl
Registered Member
Posts
19
Karma
0
TheBlackCat wrote:it would be good if it is possible to figure out what the underlying archive type is.


I made some experiment myself: I've downloaded a self extracting archive and opened with Okteta. The first part is the executable, after that there is the archive, starting with the hash that identify the type (in my case 7zip).

I cutted out the first part and created a new file starting with the hash of the archive: it works! Ark can handle the archive and extracts the files.

Maybe I put it too simple, but what about telling Ark when we try to open an exe file with it to check for a known archive hash in the first part of the file and simply ignore everything before that point?
User avatar
Fri13
Registered Member
Posts
397
Karma
4
OS
At least on other programs the extracting is possible without executing the EXE function itself, unless the package is someway coded.
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
7zip can extract self-extracting zip files it seems. I haven't tried it for other self-extracting files.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]