Unfortunately, self extracting feature is not supported by Rebex ZIP.
However, you can create self extracting zip for platforms with .NET support like this:
Write your own unpacker application. For example like this:
static void Main(string args)
var codeBase = new UriBuilder(typeof(Program).Assembly.CodeBase);
string path = Uri.UnescapeDataString(codeBase.Path);
Merge your unpacker with dependencies into single .exe using ILMerge:
> ilmerge /out:self.exe unpacker.exe Rebex.Common.dll Rebex.Zip.dll
unpacker.exe is your unpacker application from STEP 1.
Append your regular .zip file to the end of the produced
self.exe file. For example:
> copy /b self.exe+some.zip self-zip.exe
some.zip is a regular .zip file you want to turn into self extracting zip file.
self-zip.exe is final self extracting zip file, which you can distribute. It can be extracted on systems with appropriate .NET support. For example, if your
unpacker.exe is build for .NET 4.0, the
self-zip.exe can be extracted on systems with support for .NET 4.0.