bug fix, code cleanup
Last edited by nononsence; 15 Jul 2011 at 12:05.
Hi there nononsence,
I had a look at your first script a couple of days ago and i thought it was very functional. Definitely unprecedented speed as far as drive-finding goes as the right drive is being found instantly after code execution.
However, with this latest package i get a virus warning for Form1.vb upon unpacking:
I assume this is because of this line:
Dim objOStream = CreateObject("ADODB.Stream")
Since the same will obviously happen on other peoples computers you might want to use some other method here, otherwise they might think its actually malware...
Last edited by nononsence; 04 Sep 2009 at 06:54.
changes to a wait cursor durring key install, progress bar works better now.
Maybe try declare "ADODB.Stream" as a string variable and pass that variable to create object line. That may alter the heuristics (or it may not). Obviously the laziness at that particular Virus company is just to assume all ADODB connections are bad.
Dim strADO = "ADODB.Stream"
Dim objOStream = CreateObject(strADO)
Be curious for know if they catch that.
I did some checking; for the ADODB-Alarm to be triggered these codebits have to be present in the script:
If any of these lines/parameters are removed then the alarm is not being triggered anymore...Code:Dim CreateObject("ADODB.Stream") file.exe .Open .SaveToFile