borisbrodski / sevenzipjbinding

7-Zip-JBinding
http://sevenzipjbind.sourceforge.net/
Other
176 stars 50 forks source link

Support self-extracting archives in API #27

Open josiahhaswell opened 4 years ago

josiahhaswell commented 4 years ago

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.

borisbrodski commented 4 years ago

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.

jinfeihan57 commented 4 years ago

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).