We have installer created by Inno Setup and when it is run for the first time, avast pauses and scans it. During this, ShellExecuteEx error 299 or other error is displayed. When the scan completes, the installer is restarted and works as expected. However, the fact that an error message is displayed to the user is serious.
There are several thread with this problem but no solution.
Our installer is signed. I also tried to submit our installer at https://www.avast.com/whitelist-program-registration - however, it can accept only 50 MB files - our installer has 120 MB.
Can you please advise steps neccessary to suppress the error messages, or better to suppres Avast’s scan for our installer?