Home Support

AVG Support Community

Share tips and solutions on AVG Products

Have a question?

Community topics

AVG Gurus

These community experts are here to help

  • (AB) Alan Binch
  • (BA) Borislav Angelov
  • (VB) Vladimir Bartl
  • (SK) Subhadeep Kanungo
  • (MS) Miloslav Serba
Sven PranSven Pran 

ShellExecuteEx error 299 when launching installer created with inno setup

Error 299 says: Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
This error occurs on my systgem after I replaced my Norman protection with AVG protection. The installation process apparently still  completes correctly.  I have found a Google search leading to the following suggestion: "A co-worker ran into the same issue. It turned out that the Virus scan, Avast, was the cause. Disabling the virus scan, then installer ran without any issue."
Is this a known problem with AVG? Do I have to disable virus scan or is there any way I can "convince" AVG that my inno-created installers are safe?

Alan BinchAlan Binch
Sven, 1st things 1st.. Please see your other posting (https://support.avg.com/answers?id=906b0000000Dy3hAAC).
AVG Guru
Akash ChandaAkash Chanda (Avast)
Hi Sven,
I can understand how upset you must be.
Please add the Inno Setup to exceptions and check the issue once. Here is an article with the steps to add the installers to exceptions : http://bit.ly/2w8ciuc
Also, since adding it to exceptions is a Temporary solution, please submit a sample for Whitelisting for a permanent fix. Please check this link for more information on AVG Whitelisting Service : https://www.avg.com/en-us/whitelist

Could you also tell me the Service Pack of your Windows XP PC?
Please try to keep the whole conversation in one question/thread to speed up the resolution.
Sven PranSven Pran
As I mentioned in the other thread - these are two completely unrelated issues, that was why I posted them separately.
I shall do some tests on the inno issue along your suggestions, the funny thing is that the installation of my program was not corrupted in any way. Regards Sven
Bhuvaneswari VairavanBhuvaneswari Vairavan (Avast)
Sven, I appreciate your efforts. You can follow the previous post and submit a sample for us to analyze. 
Sven PranSven Pran
I wonderf if I have discovered the cause of this "problem":
As I found myself unable to recreate the ShellExecutetEx error 299 message when I ran my inno-created install program unchanged a second time I did some further testing and found that the "hold on ...15 seconds" message from AVG while testing for possible malware seems to have some significance here.
Results from my testing:
Whenever I run any of my own created programs (including inno-created install programs) for the first time on my PC I receive the "hold on..." message from AVG. (Quite understandable.)
When the program is an inno-created programs I also receive the ShellExecutetEx error 299 message more or less(?) in connection with this "hold on" message.
In either case the affected program appears to complete execution without any error from either of these messages.
No such message is given when I run my (unchanged) programs at a later time.

So it would appear that the real cause for the ShellExecutetEx error 299 message is some kind of a time-out due to the 15 seconds delay imposed by AVG during the initiation of the program to be executed?

With this knowledge I now consider this an inconvenience but not a serious error.

Regards Sven   . 
Balasubramanian SBalasubramanian S (Avast) 
Thank you for understanding.
Your submitted file will be analyzed  and will be added to whitelist as soon as possible.
Sven PranSven Pran
I was unable to submit file(s) to http://www.avg.com/submit-sample,
I don't understand why, but my inno-created installation files can be found and downloaded from my own web-site: http://www.svenpran.net where you select "Miine programmer for nedlasting".
I recommend "Slipper" or "Spillere" as the precise programs rcently causing problem. 
regards Sven 
Alok KumarAlok Kumar (Avast)
Hello Sven,
I have sent you an email, please follow the email instruction to help us with the log file. This information will allow us to analyze the situation and provide you with a solution and also attach a screenshot of the error to assist you further. You can check the following link to see the instructions about taking the screenshot (http://support.avg.com/SupportArticleView?urlname=How-to-create-a-screenshot). You can post the screenshot here in your topic. Click on 'Answer' & then click on the 'Image' [mountain symbol] & follow the instructions.
Best regards,
Ask a question
Struggling with non-AVG technology? We can fix that, too!