sevenzipjbinding icon indicating copy to clipboard operation
sevenzipjbinding copied to clipboard

Support self-extracting archives in API

Open josiahhaswell opened this issue 4 years ago • 2 comments

Would it be possible to build self-extracting archives in the API? I'm creating a Maven plugin to generate self-extracting archives, and I can't find anything for creating SFX archives.

Ideally, the solution would be cross-platform (targeting Mac/Windows/Linux).

I would be happy to work towards implementing this with some guidance.

josiahhaswell avatar Jun 04 '20 23:06 josiahhaswell

Ideally, the solution would be cross-platform (targeting Mac/Windows/Linux).

To my knowledge 7zip can only create exe files, that self-extract on Windows. There is also a small GUI poping up.

Also using self extracting archive besides some corporate environment is questionable from the security point of view. Many people wouldn't feel comfortable to execute some unknown code on thier systems.

7-Zip-JBinding is actually only a Java binding to existing libraries.

borisbrodski avatar Jun 09 '20 12:06 borisbrodski

7zip can only create exe files, that self-extract on Windows. p7zip can only create exe files, that self-extract on Linux. It can NOT cross-platform (targeting Mac/Windows/Linux).

jinfeihan57 avatar Jun 15 '20 11:06 jinfeihan57