This project is read-only.

Value cannot be null. Parameter name: zipStream

Mar 7, 2015 at 4:27 AM
Getting this on the following code:

zf = New ZipFile()
zf.FlattenFoldersOnExtract = True
zf.ParallelDeflateThreshold = -1
zf.Comment = _exeIntroText

For Each fn As String In _exeFullInputFiles
zf.AddFile(fn, "")
seso = New SelfExtractorSaveOptions()
seso.Flavor = SelfExtractorFlavor.WinFormsApplication
seso.SfxExeWindowTitle = "Green Mountain Consulting"
seso.ExtractExistingFile = ExtractExistingFileAction.DoNotOverwrite
zf.SaveSelfExtractor(_exeOutputFile, seso)

The full stack trace:

at Ionic.Zip.ZipFile.Read(Stream zipStream, TextWriter statusMessageWriter, Encoding encoding, EventHandler`1 readProgress) at Ionic.Zip.ZipFile.Read(Stream zipStream) at Ionic.Zip.ZipFile._SaveSfxStub(String exeToGenerate, SelfExtractorSaveOptions options) at Ionic.Zip.ZipFile.SaveSelfExtractor(String exeToGenerate, SelfExtractorSaveOptions options)