{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "fixed in workitem 79406.  First binary with this change will be v1.9.1.6",
    "ClosedDate": "2011-06-18T18:18:36.607-07:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "This is from a discussion thread:\nhttp://dotnetzip.codeplex.com/discussions/209444\n \n \nI have been running into a strange issue with a self extracting archive and RemoveUnpackedFilesAfterExecute = true.  When I execute the created self extracting archive, it extracts and executes the file I have directed it to.  When that executable finishes, only one file is deleted that was extracted (there were 8 files in the archive).  I am not sure if this is a bug or I am doing something incorrectly.  My code to create the package is below:\n \n \n         private void btnPackage_Click(object sender, EventArgs e) {\n            string outputFileName;\n \n            using (Ionic.Zip.ZipFile zip = new Ionic.Zip.ZipFile()) {\n \n                // Add manifest file\n                zip.AddFile(txtManifestFilePath.Text, \".\");\n \n                // Add wizard file\n                zip.AddFile(txtWizardFilePath.Text, \".\");\n \n                // Add resource files\n                zip.AddFiles(resourceFilePaths, \".\");\n \n                zip.Encryption = Ionic.Zip.EncryptionAlgorithm.WinZipAes256;\n \n                Ionic.Zip.SelfExtractorSaveOptions options = new Ionic.Zip.SelfExtractorSaveOptions();\n                options.DefaultExtractDirectory = \"%TEMP%\";\n                options.ExtractExistingFile = Ionic.Zip.ExtractExistingFileAction.OverwriteSilently;\n                options.Flavor = Ionic.Zip.SelfExtractorFlavor.ConsoleApplication;\n                options.IconFile = System.IO.Path.Combine(Application.StartupPath, \"box_software.ico\");\n                options.PostExtractCommandLine = System.IO.Path.GetFileName(txtWizardFilePath.Text);\n                options.Quiet = true;\n                options.RemoveUnpackedFilesAfterExecute = true;\n \n                outputFileName = txtOutputFilename.Text;\n                if (!outputFileName.EndsWith(\".exe\")) {\n                    outputFileName = string.Concat(outputFileName, \".exe\");\n                }\n \n                zip.SaveSelfExtractor(outputFileName, options);\n            }\n \n        }",
    "LastUpdatedDate": "2013-05-16T05:31:49.62-07:00",
    "PlannedForRelease": "v1.9.1.8 DotNetZip - Latest Stable",
    "ReleaseVisibleToPublic": true,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2010-04-21T08:57:01.42-07:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Self Extracting Archive and file removal",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 10682
  },
  "FileAttachments": [],
  "Comments": []
}