Error: "The following applications should be closed before continuing the install.", from my custom code with /qn parameter

  • 22 September 2021
  • 2 replies


I develop desktop software. My software has updates funtionality.
I call installation (.exe) from my custom code with /qn parameter for installaing updates.
When intallation is run the following error occures: The following applications should be closed before continuing the install.
When installing the same application not from my custom application (but by clicking .exe) and without /qn flag no issues occur.
What is the reason of Kaspersky error exactly in this case and is it possible to avoid it?

Looking forward to hearing from you.

Best regards,

This topic has been closed for comments

2 replies

Userlevel 7
Badge +11

Hello @tanya


  1. Please Read before you create a new topic! → is the installed software Kaspersky Internet Security
  2. Which application is generating the alert shown in your image? 
  3. In KIS Reports, are there any errors that match the issue?
  4. Log a case with Kaspersky Technical Support, fill in Application malfunction, Incompatibility with 3rd pty software template; support may request logs, traces & other data, they will guide you: 


  5. After submitting the case, you’ll receive an automated email with an INC+12digits reference number, then, normally, within 5 business days, a Kaspersky Technical Support human will be in touch, also by email, you may continue to engage with the Kaspersky Technical Team via email or by updating the INC in their MyKaspersky account.

:arrow_right: Please share the outcome with the Community when it’s available? 

Thank you:pray_tone3:


Additional resource:

Contacting Technical Support

Hello @Flood and Flood's wife ,


Thanks for your reply!

  1. Configuration:
    - Version of operating system: Windows 10 Pro, 64-bit
    - Version of Kaspersky: Kaspersky Internet Security
  2. This alert generates my own written Application, but when I install it not from my custom code (but by clicking .exe) no issues occur.
  3. In KIS Reports all that is said about Application: File    Not processed    Object not processed    Not processed

Best regards,