title: InnoSetup: "The volume for a file has been externally altered"
body: <p>InnoSetup appears to be corrupting my executable when compiling the setup project.
  Executing the source file works fine, but executing the file after installation produces Win32  error 1006 "The volume for a file has been externally altered".</p>
  
  <p>I've tried disabling compression and setting various flags, to no avail.</p>
  
  <p>Has anyone experienced this? </p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Okay there's been some twists to the situation:</p>
  
  <p>At the moment, I can even manually copy a working file to the location it is installed to and get "The volume for a file...". To be clear: I uninstall the application, create the same folder and paste the files there and run.</p>
  
  <p><strong>UPDATE 2</strong></p>
  
  <p>Some more details for those that want it:
  The InnoSetup script is compiled by FinalBuilder using output from msbuild, also executed by FinalBuilder, running on my machine with XP SP3. The executable is a C# .Net assembly compiled in configuration Release|AnyCPU. The file works when executed in the folder the Install Script takes it from. It produces the same behaviour on an XP Virtual Machine. The MD5 hashes of the source file and the installed file are the same.</p>