wbracken
Posts: 1036
Score: 22 Joined: 4/12/2002 From: St. Louis Status: offline
|
I use the following script in my BDD 2.5/SMS 2003 infrastructure for that very reason.
' =======================================================
' # Declare variables
' =======================================================
Set oShell= CreateObject("Wscript.Shell")
Set oEnv = oShell.Environment("PROCESS")
' =======================================================
' # Remove the file open security warning
' =======================================================
oEnv("SEE_MASK_NOZONECHECKS") = 1
' =======================================================
' # Run process
' =======================================================
' Example - oShell.Run "WindowsInstaller-KB893803-v2-x86.exe /passive /norestart",0,True
oShell.Run "",0,True
oEnv.Remove("SEE_MASK_NOZONECHECKS")
Should at least point you in the right direction.. :)
_____________________________
William Bracken Visit my new Blog http://wbracken.wordpress.com/
|