I am aware of a few libraries that allow me to extract files from a zip (DotnetZip, SharpZipLib, etc), however is it possible for the executable doing the extracting to be in the same zip file it is extracting specific files from?
Here is my vision:
1) User double clicks a zip file to view its contents. 2) Double clicks an exe 3) That exe extracts a few of the files from the zip it is contained in, into a specified directory 4) This directory now has the desired files. 5) An exe in this directory is run.
I know, this sounds a lot like existing SFX solutions. However, none of these seem to be able to meet my needs described in this question: How can I build a .Net application which is distributed as a single and self-contained file/entity (no installer)?
I know these requirements sound bizarre. If I could change the Powers That Be, I would just ship an MSI, and an XML file or two for configurations.
Of course, I welcome critical feedback and questions.