I was able to get the same issue in a local virtual machine. The issue shows up less often, but still happens pretty regularly. Disabling the anti-virus on this virtual machine does seem to prevent the issue.
... View more
Version: InstallShield 2020 R3 SP1
When building our installer we get error 7141 on one or multiple files (different each time we try to build the installer), a description of the error and a workaround is specified here:
Unfortunately we are unable to use the workaround (disable anti-virus) due to company policies. Is there another way to prevent this error? Is this fixed in newer versions?
The build can fail on one or more files when building. The files it fails on are not always the same, even when using the exact same source. Occasionally the build might succeed, even though the exact same source is used that failed to build 50 times before.
Considering that the files that give an error is not always the same and that disabling the anti-virus should prevent the error, it seems like this is caused by a timing issue where the anti-virus is still checking a new file when InstallShield wants to access it.
If this is the case then it might be pretty easy to fix within InstallShield by implementing a check/wait till the file is free to use and/or just implement a retry with a short delay. On the other hand, you would expect the issue to have been fixed already if it was that simple.
Thanks in advance
... View more