Installing Patches using QChain

Vincent

Distinguished
Jan 13, 2004
49
0
18,530
Archived from groups: microsoft.public.win2000.security (More info?)

I have several remove machines that I have to use alternative method to
patching them. I use QChain since it works but I have two questions:

1. If I navigate to a batch file that will start a QChain installation and
then execute that batch file, I get a "Command line option syntax error. Type
Command /? for help. I followed the instructions on creating a batch file for
this in article - http://support.microsoft.com/?kbid=296861. Here is that
batch file:

@echo off
setlocal
set PATHTOFIXES=c:\patches
%c:\patches%\Q832894.exe -z -m
%c:\patches%\Windows2000-KB329115-x86-ENU.EXE -z -m
%c:\patches%\Windows2000-KB823182-x86-ENU.EXE -z -m
%c:\patches%\Windows2000-KB823559-x86-ENU.EXE -z -m
%c:\patches%\Windows2000-KB824105-x86-ENU.EXE -z -m
%c:\patches%\Windows2000-KB824146-x86-ENU.EXE -z -m
%c:\patches%\Windows2000-KB825119-x86-ENU.EXE -z -m
%c:\patches%\Windows2000-KB826232-x86-ENU.EXE -z -m
%c:\patches%\Windows2000-KB828035-x86-ENU.EXE -z -m
%c:\patches%\Windows2000-KB828741-x86-ENU.EXE -z -m
%c:\patches%\Windows2000-KB828749-x86-ENU.EXE -z -m
%c:\patches%\Windows2000-KB835732-x86-ENU.EXE -z -m
%c:\patches%\Windows2000-KB837001-x86-ENU.EXE -z -m
%c:\patches%\Windows2000-KB839643-x86-ENU.EXE -z -m
%c:\patches%\Windows2000-KB839645-x86-ENU.EXE -z -m
%c:\patches%\Windows2000-KB840315-x86-ENU.EXE -z -m
%c:\patches%\Windows2000-KB841872-x86-ENU.EXE -z -m
%c:\patches%\Windows2000-KB841873-x86-ENU.EXE -z -m
%c:\patches%\Windows2000-KB842526-x86-ENU.EXE -z -m
%c:\patches%\qchain.exe

Is there something wrong here when I type in the batch file name and execute
it?

2. I tried adding these patches to this same batch file and they error:
ENU_Q832483_MDAC_x86.EXE
IE6.0sp1-KB823353-x86-ENU.exe
OE6.0sp1-KB837009-x86-ENU.exe
Windows-KB870669-x86-ENU.exe

Why is that? And is there a way to apply these patches via a batch or script
file?

Any help with both questions will be most appreaciated, TIA.

Vincent
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.security (More info?)

Hi Vincent,

Your script should look like this. Copy it from here and save it in a batch
file. Run the batch file.

*************************
@echo off
setlocal
set PATHTOFIXES=c:\patches
%PATHTOFIXES%\Q832894.exe -z -m
%PATHTOFIXES%\Windows2000-KB329115-x86-ENU.EXE -z -m
%PATHTOFIXES%\Windows2000-KB823182-x86-ENU.EXE -z -m
%PATHTOFIXES%\Windows2000-KB823559-x86-ENU.EXE -z -m
%PATHTOFIXES%\Windows2000-KB824105-x86-ENU.EXE -z -m
%PATHTOFIXES%\Windows2000-KB824146-x86-ENU.EXE -z -m
%PATHTOFIXES%\Windows2000-KB825119-x86-ENU.EXE -z -m
%PATHTOFIXES%\Windows2000-KB826232-x86-ENU.EXE -z -m
%PATHTOFIXES%\Windows2000-KB828035-x86-ENU.EXE -z -m
%PATHTOFIXES%\Windows2000-KB828741-x86-ENU.EXE -z -m
%PATHTOFIXES%\Windows2000-KB828749-x86-ENU.EXE -z -m
%PATHTOFIXES%\Windows2000-KB835732-x86-ENU.EXE -z -m
%PATHTOFIXES%\Windows2000-KB837001-x86-ENU.EXE -z -m
%PATHTOFIXES%\Windows2000-KB839643-x86-ENU.EXE -z -m
%PATHTOFIXES%\Windows2000-KB839645-x86-ENU.EXE -z -m
%PATHTOFIXES%\Windows2000-KB840315-x86-ENU.EXE -z -m
%PATHTOFIXES%\Windows2000-KB841872-x86-ENU.EXE -z -m
%PATHTOFIXES%\Windows2000-KB841873-x86-ENU.EXE -z -m
%PATHTOFIXES%\Windows2000-KB842526-x86-ENU.EXE -z -m
%PATHTOFIXES%\qchain.exe
*************************

Mike

"Vincent" <Vincent@discussions.microsoft.com> wrote in message
news:A3ABE9D8-DE80-4DB9-831A-A78E66F3017A@microsoft.com...
> I have several remove machines that I have to use alternative method to
> patching them. I use QChain since it works but I have two questions:
>
> 1. If I navigate to a batch file that will start a QChain installation and
> then execute that batch file, I get a "Command line option syntax error.
Type
> Command /? for help. I followed the instructions on creating a batch file
for
> this in article - http://support.microsoft.com/?kbid=296861. Here is that
> batch file:
>
> @echo off
> setlocal
> set PATHTOFIXES=c:\patches
> %c:\patches%\Q832894.exe -z -m
> %c:\patches%\Windows2000-KB329115-x86-ENU.EXE -z -m
> %c:\patches%\Windows2000-KB823182-x86-ENU.EXE -z -m
> %c:\patches%\Windows2000-KB823559-x86-ENU.EXE -z -m
> %c:\patches%\Windows2000-KB824105-x86-ENU.EXE -z -m
> %c:\patches%\Windows2000-KB824146-x86-ENU.EXE -z -m
> %c:\patches%\Windows2000-KB825119-x86-ENU.EXE -z -m
> %c:\patches%\Windows2000-KB826232-x86-ENU.EXE -z -m
> %c:\patches%\Windows2000-KB828035-x86-ENU.EXE -z -m
> %c:\patches%\Windows2000-KB828741-x86-ENU.EXE -z -m
> %c:\patches%\Windows2000-KB828749-x86-ENU.EXE -z -m
> %c:\patches%\Windows2000-KB835732-x86-ENU.EXE -z -m
> %c:\patches%\Windows2000-KB837001-x86-ENU.EXE -z -m
> %c:\patches%\Windows2000-KB839643-x86-ENU.EXE -z -m
> %c:\patches%\Windows2000-KB839645-x86-ENU.EXE -z -m
> %c:\patches%\Windows2000-KB840315-x86-ENU.EXE -z -m
> %c:\patches%\Windows2000-KB841872-x86-ENU.EXE -z -m
> %c:\patches%\Windows2000-KB841873-x86-ENU.EXE -z -m
> %c:\patches%\Windows2000-KB842526-x86-ENU.EXE -z -m
> %c:\patches%\qchain.exe
>
> Is there something wrong here when I type in the batch file name and
execute
> it?
>
> 2. I tried adding these patches to this same batch file and they error:
> ENU_Q832483_MDAC_x86.EXE
> IE6.0sp1-KB823353-x86-ENU.exe
> OE6.0sp1-KB837009-x86-ENU.exe
> Windows-KB870669-x86-ENU.exe
>
> Why is that? And is there a way to apply these patches via a batch or
script
> file?
>
> Any help with both questions will be most appreaciated, TIA.
>
> Vincent
>
>
 

Vincent

Distinguished
Jan 13, 2004
49
0
18,530
Archived from groups: microsoft.public.win2000.security (More info?)

Miha,

Thanks, that did not exactly fix the problem until I rem'd out echo off and
found that q823894.exe had different switches and I changed it to /q and
only had to press N to stop it from wanting to reboot. I was also able to
answer my second question by doing the same for those listed patches. Thanks
for your help.

Vincent

"Miha Pihler" wrote:

> Hi Vincent,
>
> Your script should look like this. Copy it from here and save it in a batch
> file. Run the batch file.
>
> *************************
> @echo off
> setlocal
> set PATHTOFIXES=c:\patches
> %PATHTOFIXES%\Q832894.exe -z -m
> %PATHTOFIXES%\Windows2000-KB329115-x86-ENU.EXE -z -m
> %PATHTOFIXES%\Windows2000-KB823182-x86-ENU.EXE -z -m
> %PATHTOFIXES%\Windows2000-KB823559-x86-ENU.EXE -z -m
> %PATHTOFIXES%\Windows2000-KB824105-x86-ENU.EXE -z -m
> %PATHTOFIXES%\Windows2000-KB824146-x86-ENU.EXE -z -m
> %PATHTOFIXES%\Windows2000-KB825119-x86-ENU.EXE -z -m
> %PATHTOFIXES%\Windows2000-KB826232-x86-ENU.EXE -z -m
> %PATHTOFIXES%\Windows2000-KB828035-x86-ENU.EXE -z -m
> %PATHTOFIXES%\Windows2000-KB828741-x86-ENU.EXE -z -m
> %PATHTOFIXES%\Windows2000-KB828749-x86-ENU.EXE -z -m
> %PATHTOFIXES%\Windows2000-KB835732-x86-ENU.EXE -z -m
> %PATHTOFIXES%\Windows2000-KB837001-x86-ENU.EXE -z -m
> %PATHTOFIXES%\Windows2000-KB839643-x86-ENU.EXE -z -m
> %PATHTOFIXES%\Windows2000-KB839645-x86-ENU.EXE -z -m
> %PATHTOFIXES%\Windows2000-KB840315-x86-ENU.EXE -z -m
> %PATHTOFIXES%\Windows2000-KB841872-x86-ENU.EXE -z -m
> %PATHTOFIXES%\Windows2000-KB841873-x86-ENU.EXE -z -m
> %PATHTOFIXES%\Windows2000-KB842526-x86-ENU.EXE -z -m
> %PATHTOFIXES%\qchain.exe
> *************************
>
> Mike
>
> "Vincent" <Vincent@discussions.microsoft.com> wrote in message
> news:A3ABE9D8-DE80-4DB9-831A-A78E66F3017A@microsoft.com...
> > I have several remove machines that I have to use alternative method to
> > patching them. I use QChain since it works but I have two questions:
> >
> > 1. If I navigate to a batch file that will start a QChain installation and
> > then execute that batch file, I get a "Command line option syntax error.
> Type
> > Command /? for help. I followed the instructions on creating a batch file
> for
> > this in article - http://support.microsoft.com/?kbid=296861. Here is that
> > batch file:
> >
> > @echo off
> > setlocal
> > set PATHTOFIXES=c:\patches
> > %c:\patches%\Q832894.exe -z -m
> > %c:\patches%\Windows2000-KB329115-x86-ENU.EXE -z -m
> > %c:\patches%\Windows2000-KB823182-x86-ENU.EXE -z -m
> > %c:\patches%\Windows2000-KB823559-x86-ENU.EXE -z -m
> > %c:\patches%\Windows2000-KB824105-x86-ENU.EXE -z -m
> > %c:\patches%\Windows2000-KB824146-x86-ENU.EXE -z -m
> > %c:\patches%\Windows2000-KB825119-x86-ENU.EXE -z -m
> > %c:\patches%\Windows2000-KB826232-x86-ENU.EXE -z -m
> > %c:\patches%\Windows2000-KB828035-x86-ENU.EXE -z -m
> > %c:\patches%\Windows2000-KB828741-x86-ENU.EXE -z -m
> > %c:\patches%\Windows2000-KB828749-x86-ENU.EXE -z -m
> > %c:\patches%\Windows2000-KB835732-x86-ENU.EXE -z -m
> > %c:\patches%\Windows2000-KB837001-x86-ENU.EXE -z -m
> > %c:\patches%\Windows2000-KB839643-x86-ENU.EXE -z -m
> > %c:\patches%\Windows2000-KB839645-x86-ENU.EXE -z -m
> > %c:\patches%\Windows2000-KB840315-x86-ENU.EXE -z -m
> > %c:\patches%\Windows2000-KB841872-x86-ENU.EXE -z -m
> > %c:\patches%\Windows2000-KB841873-x86-ENU.EXE -z -m
> > %c:\patches%\Windows2000-KB842526-x86-ENU.EXE -z -m
> > %c:\patches%\qchain.exe
> >
> > Is there something wrong here when I type in the batch file name and
> execute
> > it?
> >
> > 2. I tried adding these patches to this same batch file and they error:
> > ENU_Q832483_MDAC_x86.EXE
> > IE6.0sp1-KB823353-x86-ENU.exe
> > OE6.0sp1-KB837009-x86-ENU.exe
> > Windows-KB870669-x86-ENU.exe
> >
> > Why is that? And is there a way to apply these patches via a batch or
> script
> > file?
> >
> > Any help with both questions will be most appreaciated, TIA.
> >
> > Vincent
> >
> >
>
>
>