Avoiding anti-virus warnings with scripts.
-
Hi, In one of our applications, we are using a lot VBScripts to get some work done like file transfer, etc., since the requirements for these normally varies and hence is not nice to put into our application itself. Now, the problem we are facing is that when these scripts are executed by our application using the CSCRIPT interpreter, common anti-virus apps like Norton, disable them or pop-up a question to the user. Is there a way to avoid this?? Thanks, Krishnan
-
Hi, In one of our applications, we are using a lot VBScripts to get some work done like file transfer, etc., since the requirements for these normally varies and hence is not nice to put into our application itself. Now, the problem we are facing is that when these scripts are executed by our application using the CSCRIPT interpreter, common anti-virus apps like Norton, disable them or pop-up a question to the user. Is there a way to avoid this?? Thanks, Krishnan
We wrote the management scripts for our project using python to get around this problem, but I guess that isn't what you wanted to hear, :) From a quick experiment it looks like NAV hooks into the actual COM objects that of WSH (only a guess) - I tried getting smart and renaming the interpreters, but it still brings up the error dialogs. This Microsoft Knowledge Base Article seems to indicate that Microsoft don't even have a consistent approach to working around this problem. http://www.python.org/ Python Windows Extensions
If you can keep you head when all about you Are losing theirs and blaming it on you; If you can dream - and not make dreams your master; If you can think - and not make thoughts your aim; Yours is the Earth and everything that's in it. Rudyard Kipling