After implementing a new antivirus solution at our company, the same problem occurs.
Analysis revealed that the antivirus program was opening files in Share Mode: Read, Write, Delete. That means every other program can make what it want on the file. BUT: This is only true, if these other programs like iscc.exe opens the file also with ShareMode: Read.
It seams, that iscc.exe opens the file a few times with the correct mode ShareMode: Read, but now and then with ShareMode: None. This will be immediately answered by Windows with "SHARING VIOLATION". This is shown in Process Monitor clearly.
So how can I create a request to Inno Setup to check this issue?
Btw:
It's a bit of a race condition and occurs only if a lot of anti virus modules (of the same anti-virus-business solution) are running. A similar mistake was in mt.exe of Microsoft, but newer versions of Microsoft Visual Studio uses link.exe instead of mt.exe for embedding the manifest in the executables.
So I think it's a problem in the tools and not in the anti-virus-program. Exceptions in the ant-virus configuration are not really an option because it is company-wide managed.