This project is read-only.

Publisher couldn't be verified using SelfExtractorSaveOptions

Aug 8, 2011 at 7:26 PM

From an ASP.NET page we create and download a self-extracting archive with the options below:


SelfExtractorSaveOptions options = new SelfExtractorSaveOptions()
                Flavor = SelfExtractorFlavor.ConsoleApplication,
                PostExtractCommandLine = "app.exe",
                ExtractExistingFile = ExtractExistingFileAction.OverwriteSilently,
                Quiet = true,
                DefaultExtractDirectory = "%TEMP%"

The archive runs just fine, but after downloading the EXE users see a "Publisher couldn't be verified" in IE.

Is this a problem with the Installer wrapper?  How can this error be fixed (without asking users to modify their IE security settings of course :))?


Aug 8, 2011 at 11:41 PM

This is not a problem specific to DotNetZip.  This is a feature of Windows/IE - when a user downloads an exe file from an untrusted "zone", the file is marked as untrusted unless and until the user says otherwise.  Windows will ask for confirmation when opening it.

For more information.

Or you could just search for "The publisher could not be verified" to find plenty of articles on it.

There is no change in DotNetZip that could prevent this Windows feature from popping up.  If your exe file is generated on an intranet, then you can modify the trust zones in IE to allow EXEs from the intranet without confirmation. See the link above (or the search results) for how to do that.