InnoSetup: "File size has been changed externally"

InnoSetup seems to distort my executable when compiling the installation project. Executing the source file works fine, but executing the file after installation results in Win32 error 1006 "The volume for the file was changed externally."

I tried disabling compression and setting various flags to no avail.

Has anyone experienced this?

UPDATE

It’s good that the situation has changed:

At the moment, I can manually copy the working file to the place where it is installed, and get "Volume for the file ...". To be clear: I uninstall the application, create the same folder and insert the files there and run.

UPDATE 2

Some details for those who want this: The InnoSetup script compiled FinalBuilder using the output from msbuild, also executed by FinalBuilder, running on my machine with XP SP3. The executable file is a C # .Net assembly compiled in the configuration Release | AnyCPU. The file works when it is executed in the folder where the Install script is included. It creates the same behavior on an XP virtual machine. The MD5 hashes of the source file and the installed file match.

+5
source share
3 answers

, . , . - , , , . .

... good lucK!

+9

ERROR_FILE_INVALID 1006 (0x3EE): , .

, . , - - , , , - - (, ), " .

, :

  • , , - / .
  • , , .
+2

. : - EXE ? , . - , ?
- /LOG ="c:\install.log . -, . - MD5 EXE EXE. ? ?

0
source

All Articles