[
  {
    "Id": "243867",
    "ThreadId": "71494",
    "Html": "<p>Hey Cheeso,</p>\r\n<p>I've recently come back to some code i was developing using your excellent library and have hit an unusual problem.</p>\r\n<p>Originally the code used the v1.8.4.14 build (and this still works in all test cases) . I've just updated to the latest stable release v.1.8.4.24 and now finding errors when trying to create an sfx which didnt happen previously.</p>\r\n<p>Scenario: - Win2003 server SP2</p>\r\n<p>Code process flow: - pick up all files in a given directory and package to datetime (call ref) stamped zips based on creation datetime. Once a zip is created all associated raw files are deleted. Once all zips are created it then packages zips into date stamped sfx's with aes256 encryption.</p>\r\n<p>At the point where the code starts to build the sfx's we are now getting an error. At this point the folder contains 1693 zips which have a total size of 253mb.</p>\r\n<p>Error stack trace:</p>\r\n<p>***************************************************<br>Error Message:<br>Errors compiling the extraction logic!&nbsp; C:\\Documents and Settings\\nick<br>Local Settings\\Temp\\1\\Ionic.Zip-2009Oct09-105501-1.cs<br>****************************************************<br>Error StackTrace:<br>&nbsp;&nbsp; at Ionic.Zip.ZipFile._SaveSfxStub(String exeToGenerate, SelfExtractorFlavor f<br>lavor, String defaultExtractLocation, String postExtractCmdLine, String nameOfIc<br>onFile)<br>&nbsp;&nbsp; at Ionic.Zip.ZipFile.SaveSelfExtractor(String exeToGenerate, SelfExtractorFla<br>vor flavor, String defaultExtractDirectory, String postExtractCommandToExecute,<br>String iconFile)<br>&nbsp;&nbsp; at Ionic.Zip.ZipFile.SaveSelfExtractor(String exeToGenerate, SelfExtractorFla<br>vor flavor)<br>&nbsp;&nbsp; at ICR.IVR.UTTERANCEARCHIVER.ZipAndArchive2.BuildZip(List`1 filepaths, String<br>&nbsp;zipFullName, String passWord, Boolean encryptAES256, Boolean selfextractexe, Li<br>st`1 ammendedFileNames)<br>&nbsp;&nbsp; at ICR.IVR.UTTERANCEARCHIVER.UtteranceArchiver.Archive()<br>&nbsp;&nbsp; at ICR.IVR.UTTERANCEARCHIVER.CMDUTILITY.UtteranceArchiverCMDUtility.ShowMenu(<br>)<br>&nbsp;&nbsp; at ICR.IVR.UTTERANCEARCHIVER.CMDUTILITY.UtteranceArchiverCMDUtility.Main(Stri<br>ng[] args)<br>****************************************************</p>\r\n<p>On the same platform with a much smaller file set (i.e.) single days worth of zips therefore its only creating a single sfx  the process works. The process also works on an XP Pro platform without any issues.</p>\r\n<p>Having gone round in circles to try and identify the cause... I have reverted back to the original v1.8.4.14 build and this works perfectly in all cases.</p>\r\n<p>Has something major changed within the builds between 14 - 24 with the creation of sfx's ?</p>\r\n<p>If you need any further info or a copy of the Ionic.Zip-2009Oct09-105501-1.cs temp file just let me know.</p>\r\n<p>&nbsp;</p>\r\n<p>Thanks Nick</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-10-09T06:04:19.463-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "243945",
    "ThreadId": "71494",
    "Html": "<p>yes, can you open a workitem and post that .cs file please?</p>",
    "PostedDate": "2009-10-09T09:38:38.71-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "244163",
    "ThreadId": "71494",
    "Html": "<p>Work item <span id=\"ctl00_ctl00_MasterContent_RightSideBar_WorkItemDetailsControl_DetailsSidebar_IssueIdLabel\">8966 created mate. Contains outline description, error stacktrace and ionic temp extraction cs file.</span></p>\r\n<p><span>cheers nick<br></span></p>",
    "PostedDate": "2009-10-10T05:04:36.483-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "244200",
    "ThreadId": "71494",
    "Html": "<p>Hey Nick, yes, the logic for saving self-extracting archives <em>did </em>change&nbsp;.&nbsp;&nbsp; One of the changes introduced was, in v1.8.4.24,&nbsp;&nbsp;the SFX gets a win32&nbsp;icon, which requires creating a filesystem file.&nbsp;&nbsp; There were other changes, too.</p>\r\n<p>I don't clearly see how or why those changes would have caused the problem.&nbsp; It might be a timeout or race condition with the new icon file.&nbsp;&nbsp; Or it might be something else. Is this problem reproducible?&nbsp; if it is, would it be possible for you to run the debug version of the library so the stack trace would show the line numbers?&nbsp;</p>\r\n<p>Is there any other message aside from what you've posted?</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-10-10T09:19:18.063-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "244209",
    "ThreadId": "71494",
    "Html": "<p>Forget it - using the debug library won't help me. But, I've attached an update version of the DLL for testing purposes to the workitem (<a href=\"http://dotnetzip.codeplex.com/WorkItem/View.aspx?WorkItemId=8966\">http://dotnetzip.codeplex.com/WorkItem/View.aspx?WorkItemId=8966</a>) .</p>\r\n<p>If you run with that updated version, I'll get some better visibility into the problem , and I'll be able to fix it.</p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-10-10T10:31:26.843-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "244242",
    "ThreadId": "71494",
    "Html": "<p>Sorry dude... been out all day.</p>\r\n<p>Yep the problem is easily reproducible. However the above is from a release version one of our production boxes. basically the app just dumps the top level error msg and stacktrace on error. I've not yet had chance to run with a debug version on a win 2003 box but can do if you think it'll highlight more. All dev is currently done on win 2000 &amp; XP.</p>\r\n<p>I've just re-run with the 1.8.4.2500 dll and updated the workitem with the generated extraction logic cs file</p>\r\n<p>cheers nick</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-10-10T12:54:48.89-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "244250",
    "ThreadId": "71494",
    "Html": "<p>Sounds good Nick.</p>\r\n<p>No apologies necessary - when I said &quot;Forget it&quot; I just wanted to revise my suggestion because it wasn't going to help anyway.</p>",
    "PostedDate": "2009-10-10T14:15:59.733-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "244627",
    "ThreadId": "71494",
    "Html": "<p>Just a note for anybody else experiencing this issue.</p>\r\n<p>Check your framework build version - ours was running the original .net 2.0 version (due to it being live boxes - auto updates are not applied and patches only applied as and when there is a need to - not my decision... lol)</p>\r\n<p>The issue revolves around the icon for the sfx during the sfx build process - (The work item above outlines the details more precisely).</p>\r\n<p>After updating the framework to SP2 v2.0.50727.3053 the issue has been resolved.</p>\r\n<p>Big thanks to Cheeso for his help in identifing the issue!</p>\r\n<p>Cheers Nick</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-10-12T05:30:16.433-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]