Inno setup ShellExecuteEx error 299

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?

As you’re a developer, read here…

https://support.avast.com/article/229/
https://support.avast.com/article/228/

In my first post I write that I tried to submit my software to whitelist program, but the form can take max 50 MB file - I have 120 MB. What should I do?

There is e.g. no EULA in our installator. If I add it to our installator, will Aavast stop scanning our SW so our users won’t see the error message? Please confirm that.

It’s explained in the FAQ. Did you read them…?
https://support.avast.com/en-ww/article/160?option=ftpwhitelisting

Is the installer downloadable anywhere?