[
  {
    "Id": "227457",
    "ThreadId": "66911",
    "Html": "<p>Hello,</p>\r\n<p>I currently am creating a self-extracting zip and I am wondering if there is a way to change the icon associated with the final output .EXE that is created. &nbsp;I don't really need an elegant way of being able to pass a reference to this into the self-extractor or anything. &nbsp;If there is just a way of hardcoding a reference for what .ico to use during the exe's generation that would work. &nbsp;I searched around some online but couldn't find exactly what I was looking for.</p>\r\n<p>I can't seem to paste a screenshot of what the icon looks like in here but that really shouldn't matter.</p>\r\n<p>&nbsp;</p>\r\n<p>Thanks</p>\r\n<p>Fred</p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-08-25T06:26:03.9-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "227525",
    "ThreadId": "66911",
    "Html": "<p>Hmm - no there's currently no way to set the icon for the Self-extracting archive.</p>\r\n<p>Are you saying, you would like the icon to be something reasonable, just not what it is now?&nbsp;</p>\r\n<p>or, instead, do you want a way to set an arbitrary icon when you save the thing?</p>\r\n<p>or.. something else?</p>",
    "PostedDate": "2009-08-25T09:21:39.157-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "227542",
    "ThreadId": "66911",
    "Html": "<p>Well, I guess an ideal solution would be to let the caller pass in or set what they the icon to be when making the call to SaveSelfExtractor(). &nbsp;Really, my problem is, I just don't know how to change it myself in the code. &nbsp;I would be ok if I knew how to manually set it at runtime to some icon I have added to the solution. &nbsp;I will always be using the same icon. &nbsp;Maybe if we can just figure out how to set it to something else, then each user can manually go in and change the reference.</p>\r\n<p>Have you seen the icon that ends up with the .exe as it is now? &nbsp;I'm guessing I don't have the ability to add images to posts.</p>\r\n<p>Thanks</p>\r\n<p>Fred</p>",
    "PostedDate": "2009-08-25T09:49:59.447-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "227547",
    "ThreadId": "66911",
    "Html": "<p>Yep, I just looked at the icon with the generated Self-extractor.&nbsp; It's the default .NET application icon, pretty nondescript.</p>\r\n<p>I just made a change so that the SFX gets a &quot;zip file&quot; icon by default, and also lets you set it to an arbitrary icon value.</p>\r\n<p>I will make available a version with that change, for you to try,&nbsp;shortly.</p>\r\n<p>you can include images in your posts - you have to edit the HTML of your post to do it.&nbsp; And, the images have to be hosted &quot;somewhere else&quot;&nbsp;&nbsp;.&nbsp; Try tinypic.com.&nbsp;</p>\r\n<p>I use a screenshot tool called cropper (available free on codeplex) that snaps a screen image, saves it, and then uploads it to tinypic.com.&nbsp; It's handy for this kind of thing.</p>\r\n<p>here's an image I snapped while composing this reply:</p>\r\n<p><img src=\"http://i29.tinypic.com/2zgwuug.jpg\" border=1 alt=\"\"></p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-08-25T10:10:54.223-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "227550",
    "ThreadId": "66911",
    "Html": "This discussion has been copied to a work item. Click <a href=\"http://dotnetzip.codeplex.com/WorkItem/View.aspx?WorkItemId=8616\">here</a> to go to the work item and continue the discussion.",
    "PostedDate": "2009-08-25T10:13:01.197-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "227551",
    "ThreadId": "66911",
    "Html": "<p>If only everyone worked as quickly as you......thanks again and I'll keep an eye for the new version to try out.</p>\r\n<p>Fred</p>",
    "PostedDate": "2009-08-25T10:17:31.963-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "227573",
    "ThreadId": "66911",
    "Html": "<p>running some tests now...</p>",
    "PostedDate": "2009-08-25T11:10:45.42-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "227582",
    "ThreadId": "66911",
    "Html": "<p>Ok, Fred, try out v1.8.4.22.&nbsp; It should do what you want:</p>\r\n<ul>\r\n<li>there's a reasonable default icon now for SFX files</li>\r\n<li>You can specify an icon file when saving an SFX</li>\r\n</ul>\r\n<p>Please let me know if this works for you.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-08-25T11:39:41.783-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "227604",
    "ThreadId": "66911",
    "Html": "<p>Sweet. &nbsp;I think your idea to use the typical zip icon as default is a good one. &nbsp;After thinking about it, I'm pretty sure that's what I'll end up using. &nbsp;I'll test out adding in a custom one also. &nbsp;Can you let me know which files were affected in work item 8616 so I can do some diff's and see exactly what you did?</p>\r\n<p>Thanks</p>\r\n<p>Fred</p>",
    "PostedDate": "2009-08-25T12:30:36.007-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "227605",
    "ThreadId": "66911",
    "Html": "<p>The only changes for this fix were in the file ZipFile.SaveSelfExtractor.cs .</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-08-25T12:35:45.233-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "227611",
    "ThreadId": "66911",
    "Html": "<p>Yea...I should have looked before I asked. &nbsp;Testing now. &nbsp;I'll let you know if I have any problems.</p>\r\n<p><br>Fred</p>",
    "PostedDate": "2009-08-25T12:42:22.247-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "227617",
    "ThreadId": "66911",
    "Html": "<p>ok great</p>",
    "PostedDate": "2009-08-25T12:54:14.023-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]