Disabling antivirus - Advanced Installer Community
sonu
Posts: 148
Joined: Tue Oct 30, 2012 10:04 am

Disabling antivirus

Hi Support,

We want to disable any type of installed antivirus software on the target machine temporarily before performing the installation. Can we do it from the advanced installer?

Please suggest.

Regards
Sony
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Disabling antivirus

Hi Sony,

I guess the point of virus scanners is that they cannot be switched off by other software (at least not easily) as the Antivirus software puts a lot of effort into preventing this. Also, it will depend a lot from one tool to another.
However, if you find a way to disable the antivirus, then you can go in the “Custom Actions” page and add a predefined Launch attached file custom action with sequence. This type of custom action can execute an application (EXE or DLL) or run a script (VBScript or Java script). Also, the source file will be embedded in the MSI file but will not be deployed at install time with the other application files.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sonu
Posts: 148
Joined: Tue Oct 30, 2012 10:04 am

Re: Disabling antivirus

Hi Dan,

Thank you for the suggestion.

IS there any way to disable the antivirus? i.e any script or executable that we can try to execute from the installer using custom action. Please let me know.

Regards
Sony
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Disabling antivirus

Hi Sony,

I'm not aware of any programmatic methods to disable an antivirus, and I'm not even sure if there are.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”