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
FOLLOW US
Get the latest news in Application Packaging