This project is read-only.

Sfx Options not all working

Jun 9, 2011 at 7:07 AM

First, thank you so much for all of your efforts writing DotNetZip.

I'm just starting to work with zip.SaveSelfExtractor and SelfExtractorSaveOptions. I found if I set the following:

Dim opt As New Ionic.Zip.SelfExtractorSaveOptions()
opt.Flavor = Ionic.Zip.SelfExtractorFlavor.ConsoleApplication
opt.IconFile = "C:\temp\my.ico"
opt.Description = "This is a fun archive"
opt.Copyright = "This is a new Copyright"
opt.ProductVersion = "4.3.2"
opt.ProductName = "SomethingFun"
opt.FileVersion = New System.Version("")

After I save the .exe and check the file in explorer, the copyright does not get set. All the other attributes are set just fine, but not the copyright. Is this on purpose?

Jun 18, 2011 at 7:22 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Jun 18, 2011 at 7:27 AM

Yes and no.

In fact the copyright *does change*.  the problem is that the change is not visible in the property sheet in Windows Explorer.  I'm assuming that's where you checked to see if the copyright text was set properly.

In the DotNetZip code, currently, when you specify a copyright, it gets appended to a "fixed" copyright notice attached to the extractor.  Because the property sheet in Windows Explorer is so small, the appended text is never visible.  This seems broken, and not useful.   

So I'll change the code so that the copyright is visible.