Can anyone help me with writing this script? I need to run this Hotfix on all the PCs in my office. Here's what I have so far........

;***Verify that registry entries for HotFix exists.***
If (Existkey("IF EXIST HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows 2000\SP4\Q326830")=0)
? "MS HotFix Subkey already exists in registry."
goto endofscript

Else

run "\\server name\Support\Windows 2000\Security Updates\SMB Patch\Q326830_W2K_SP4_X86_EN.exe"
$ReturnCode = SendKeys("{ENTER}")
{I need to insert a command here that will press the space bar so that the install will continue}
$ReturnCode = SendKeys("I")
$ReturnCode = SendKeys("\\f103003\netlogon\localpolicy.inf")
$ReturnCode = SendKeys("{ENTER}")
:endofscript