All Forums >> [Scripting] >> WSH & Client Side VBScript >> Suppressing the "open file" security window Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
I realize that this is probably disabled in Windows for obvious reasons, but is there anyway I can get around the security warning window that pops up when I run an .exe file? I've written a script that needs to load an .exe and silently install it, which is all fine and good, except that it brings up the said window and using SendKeys doesn't seem to work on it. I thought I'd try wrapping the .exe's in msi packages, which I know nothing about beyond the concept.
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
I could be wrong, but I think this is from IE. Try this code.. Put this before your call to the exe IEZoneChecks("ENABLE")'Turns off zone check And this after the call. IEZoneChecks("DISABLE")'reenables zone check
_____________________________
Mike
For useful Scripting links see the Read Me First stickey!