{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "Thanks for reporting this, and thanks for the code.  Fixed in changeset 39786.  Will be in binary v1.8.4.17.  ",
    "ClosedDate": "2009-08-13T09:40:08.183-07:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "You guys may already be aware of this but I figured it couldn't hurt to give back to the community that gave me such an awesome library.\n \nWhen using the Self Extracting Zip utilities if I attempt to extract the files to a location where the zip files already exist and don't tell the program to overwrite then you end up stuck in an infinite loop.  I've made a fix and tested it and it seems to work now.  You may want to come up with a better solution but this works.\n \nBroken Code in WinFormsSelfExtratorStub.cs\n \n                                else if (WantOverwrite != global::Ionic.Zip.ExtractExistingFileAction.OverwriteSilently && (ex2.Message.ToString() == \"The file already exists.\"))\n \n                                {\n \n\t\t\t\t\t...\n \n                                }\n \n                                else if (WantOverwrite == global::Ionic.Zip.ExtractExistingFileAction.OverwriteSilently && (ex2.Message.ToString() != \"The file already exists.\"))\n \nI outputted what message is returned in ex2.Message.ToString() and it looks like \"The file C:\\Documents and Settings\\fharmon\\My Documents\\IEHR Self Extractor\\Important Photo.jpg already exists.\"\n \nFixed Code:\n \n                                else if (WantOverwrite != global::Ionic.Zip.ExtractExistingFileAction.OverwriteSilently  && (ex2.Message.ToString().Contains(\"already exists.\")))\n \n                                {\n \n\t\t\t\t\t\t...\n \n                                }\n \n                                else if (WantOverwrite == global::Ionic.Zip.ExtractExistingFileAction.OverwriteSilently && (!ex2.Message.ToString().Contains(\"already exists.\")))\n \n                                {\n \n                                else if (WantOverwrite != global::Ionic.Zip.ExtractExistingFileAction.OverwriteSilently                                         && (ex2.Message.ToString().Contains(\"already exists.\")))                                {                                    // The file exists, but the user                                    // did not ask for overwrite.                                    didNotOverwrite.Add(\"    \" + entry.FileName);                                                                        done = true;                                }                                else if (WantOverwrite == global::Ionic.Zip.ExtractExistingFileAction.OverwriteSilently                                         && (!ex2.Message.ToString().Contains(\"already exists.\")))",
    "LastUpdatedDate": "2013-05-16T05:32:11.96-07:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2009-08-13T07:46:47.967-07:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Infinite Loop in Self Extracting Zip",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 8486
  },
  "FileAttachments": [],
  "Comments": []
}