[
  {
    "Id": "1199058",
    "ThreadId": "527403",
    "Html": "I am using: [assembly: AssemblyVersion (&quot;1.9.1.8&quot;)] and getting the following error when I try and create a Self Extracting File.<br />\n<br />\n<br />\nERROR MESSAGE:<br />\n<br />\nexception: System.IO.FileNotFoundException: Could not find file '[filename]/full.exe'.<br />\nFile name: '[filename]/full.exe'<br />\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)<br />\n   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, I<br />\nnt32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions o<br />\nptions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolea<br />\nn useLongPath, Boolean checkHost)<br />\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,<br />\nFileShare share)<br />\n   at Ionic.Zip.ZipFile.get_ReadStream()<br />\n   at Ionic.Zip.ZipFile.ReadIntoInstance(ZipFile zf)<br />\n   at Ionic.Zip.ZipFile.Reset(Boolean whileSaving)<br />\n   at Ionic.Zip.ZipFile.Save()<br />\n   at Ionic.Zip.ZipFile.SaveSelfExtractor(String exeToGenerate, SelfExtractorSav<br />\neOptions options)<br />\n   at GenerateOfflineBrowser.CopyFiles.ZipUp(Boolean bVersion)<br />\n<br />\nCODE:<br />\n<br />\nusing (ZipFile zip = new ZipFile()) {<br />\n<pre><code>    zip.AddDirectory(_destinationFolder); // recurses subdirectories\n    zip.Save(ZipFileToCreate);\n\nSelfExtractorSaveOptions options = new SelfExtractorSaveOptions();\n\n    options.Flavor = SelfExtractorFlavor.WinFormsApplication;\n    options.DefaultExtractDirectory = &quot;%USERPROFILE%\\\\extracthere&quot;;\n    options.RemoveUnpackedFilesAfterExecute = true;\n\nzip.SaveSelfExtractor(EXEFileToCreate, options);\n</code></pre>\n\n}<br />\n<br />\nThe code is in a DLL that is used in a console EXE program. It is zipping up files and then saving as an EXE file.<br />\n<br />\nAny help would be appreciated!<br />\n<br />\nJohn<br />\n",
    "PostedDate": "2014-01-27T10:37:23.907-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]