• Register
0 votes
234 views

Problem :

I am troubled by following inno setup error
the volume for a file has been externally altered so that the opened file is no longer valid
6 5 3
6,930 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I guess you are having this issue after you moved the files to a network share. I think you have the open file handle most probably to a temp file you must be creating and after that some other process is trying to rename or dele that file or the parent directory tree.

So try following steps to solve your issue:

  1. Firstly try to install it to a local directory
  2. Now Run an anti-virus scan in safe-mode to check if there are some background nasty changing volume or directory properties while your program is running.
  3. So please make sure that the program itself is not doing anything weird with the volume or directory tree you are working with.
9 7 4
38,600 points

Related questions

0 votes
1 answer 7 views
7 views
Problem: I have a c# program that runs every night and it connects to a remote server using a sftp connection to read files. //get first level directory string[] dirs = Directory.GetDirectories(remoteDir, "*", SearchOption.TopDirectoryOnly); foreach ( ... `1 collection) at System.IO.Directory.GetFiles(String path) at WebImageP.Program.PopulateWEBIMAGEP() at WebImageP.Program.Main(String[] args)
asked Apr 25 ochena 23.3k points
0 votes
1 answer 8 views
8 views
Problem: 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". I've tried disabling compression and setting various flags, to no avail. Has anyone experienced this?
asked Mar 20 ummesalma 29.2k points
0 votes
1 answer 3 views
3 views
Problem: This thing is bugging me, please help > Installer has detected that a machine restart may be pending.
asked 6 days ago Irenka Kiri 17.9k points
0 votes
1 answer 3 views
3 views
Problem: I am stuck now .. need some suggestions .. please help me .. you have revoked your certificate, so it is no longer valid.
asked Apr 7 Ifra 37.2k points
0 votes
1 answer 21 views
21 views
Problem: Please help me fix this dilemma of Khắc phục lỗi internal error:cannot find utcompiledcode record for this version of the uninstaller?
asked Apr 6 tuhin1 48.9k points
0 votes
1 answer 31 views
31 views
Problem: cannot find utcompiledcode record for this version of the uninstaller.
asked Feb 15 Ethan ross 2.7k points
0 votes
1 answer 2 views
2 views
Problem: How to fix this error> The drive or unc share you selected does not exist or is not accessible
asked May 6 ummeshani 10.8k points
0 votes
1 answer 23 views
23 views
Problem: The java_home environment variable is not defined correctly.
asked Feb 18 Ethan ross 2.7k points
0 votes
1 answer 4 views
4 views
Problem: In my production error logs I occasionally see: SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction I know which query is trying to access the database at that moment but is there a way to find out which query had the lock at that precise moment?
asked May 1 anika11 32.2k points
0 votes
1 answer 7 views
7 views
Problem: Runtime error (at -1:0): Cannot import ISSkin.dll with InnoSetup.How to fix this problem?
asked Apr 18 Humaira ahmed 50.7k points