We are needing to quickly deploy a Microsoft Security hotfix to our NT users without having to go from one machine to another. I want to attach a batch file to our login scripts using qchain.exe but how do I keep the system from reinstalling the patch if its already installed? Also, I do not want user interaction so how can I automate answers the the install questions? I have located the following batch script, how would I modify it for these needs?
@echo off
setlocal
set pathoffixes= d:\
%pathoffixes%\MS00-077\q299796_w2k_sp3_x86_en.ex e -z -m
%pathoffixes%\MS00-079\q276471_w2k_sp3_x86_en.exe -z -m
%pathoffixes%\MS01-007\q285851_w2k_sp3_x86_en.exe -z -m
%pathoffixes%\MS01-013\Q285156EventViewer_W2k.exe -z -m
%pathoffixes%\MS01-022\rbupdate.exe -z -m
%pathoffixes%\MS01-025\q296185_w2k_sp3_x86_en.exe -z -m
%pathoffixes%\MS01-031\q299553_w2k_sp3_x86_en.exe -z -m
%pathoffixes%\MS01-037\q302755_w2k_sp3_x86_en.exe -z -m
%pathoffixes%\MS01-041\q298012_w2k_sp3_x86_en.exe -z -m
%pathoffixes%\MS01-046\q252795_w2k_sp3_x86_en.exe -z -m
%pathoffixes%\qchain.exe