This project is read-only.

SetSelfExtractorStub(string path)

Jul 9, 2009 at 1:00 AM

Would it be possible to write code that would give any self extractor stub (rather than your DotNet one)
so that a regular .exe would work as well?

Jul 9, 2009 at 1:26 AM

??  Not sure what you mean.  Could you elaborate a little on what you want?

Jul 13, 2009 at 10:30 AM

If I understand correctly, your self extractor is a stub program which is connected to the zipped information.
When the user finishes downloading the file, they can run it, since it has a .exe extention. 

But the Exe of the stub is actually a DotNet application, correct?  So the user must have DotNet installed in order for the self extractor to work.
I would like to be able to add a C++ compiled non managed .Exe, which needs not anything except the PC with Windows to run it.

Is that possible?

Thanks, as usual!

Jul 13, 2009 at 6:33 PM

Yes, the self-extracting EXE that is created by DotNetZip in a SaveSelfExtractor() call relies on the .NET Framework.  The user must have .NET Framework installed in order to extract.

Using DotNetZip, you cannot produce an SFX that does not rely on .NET.

There are other ZIP libraries and toolsets that "do" SFX, and have SFX stubs that do not require .NET.  I haven't evaluated them, so I can't make a recommendation.