Looks good.
:)
I organize them in Folders by Q number - makes figuring out what's what
laetr easier.
My batch is roughly the same.
I keep a folder on C:\ named QFEs, when i update the set I blow the
directory away and copy the current set down.
The batch loos something like this.
REM Set the Service Pack and Hotfix set
REM SP is applied via slipstreaming so it isn't really used here.
set SPLEVEL=2
set QFELEVEL=pre-sp3
REM Clear the local, potentially stale QFEs
rd c:\qfes /y
md c:\qfes
REM Grab the QFEs
pushd \\servername\qfeshare
cd %QFELEVEL%
xcopy *.* c:\qfes\ /s
REM run 'em
c:
cd qfes
For /f %%i in ('dir /b c:\qfes') do (
%%i\hotfix.exe -z -q
)
qchain.exe
shutdown
The advantage with this method, is if I change the distribution all I have
to do is expand the hotfix into the appropriate QFEfolder and it runs
anytime I update a machine. My batch file never changes. i also drop a
similar batch file on the machine to rerun all in c:\qfes so I can run that
when i do maintenance requiring it.
----Original Message Follows----
From: "Eric van Vianen" <[EMAIL PROTECTED]>
Reply-To: "MSWinNT Discussions" <[EMAIL PROTECTED]>
To: "MSWinNT Discussions" <[EMAIL PROTECTED]>
Subject: RE: using qchain.exe to install multiple hotfixes
Date: Thu, 4 Oct 2001 13:07:33 +0200
This is my batchfile...
E:\Downloads\Microsoft\PostSP2\a\hotfix.exe -m -z
E:\Downloads\Microsoft\PostSP2\a0\hotfix.exe -m -z
E:\Downloads\Microsoft\PostSP2\a1\hotfix.exe -m -z
E:\Downloads\Microsoft\PostSP2\a2\hotfix.exe -m -z
E:\Downloads\Microsoft\PostSP2\a3\hotfix.exe -m -z
E:\Downloads\Microsoft\PostSP2\a4\hotfix.exe -m -z
E:\Downloads\Microsoft\PostSP2\a5\hotfix.exe -m -z
E:\Downloads\Microsoft\PostSP2\a6\hotfix.exe -m -z
E:\Downloads\Microsoft\PostSP2\a7\hotfix.exe -m -z
E:\Downloads\Microsoft\PostSP2\a8\hotfix.exe -m -z
E:\Downloads\Microsoft\PostSP2\a9\hotfix.exe -m -z
E:\Downloads\Microsoft\PostSP2\b\hotfix.exe -m -z
E:\Downloads\Microsoft\PostSP2\b0\hotfix.exe -m -z
E:\Downloads\Microsoft\PostSP2\b1\hotfix.exe -m -z
E:\Downloads\Microsoft\PostSP2\b2\hotfix.exe -m -z
E:\Downloads\Microsoft\PostSP2\Qchain\qchain.exe test.log
"C:\Program Files\Resource Kit\shutdown.exe" /L /R /T:10 /C
Eric
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Patrick Sweeney
Sent: Thursday, October 04, 2001 3:02 AM
To: MSWinNT Discussions
Subject: RE: using qchain.exe to install multiple hotfixes
I strongly suggest using a variable name other than PATH for the path to
the
QFEs.
BTW -m specifies unattend, in other words display a dialog just don't
look
for input.
I think you want -z -q.
I don't know that these values are passed reliably to hotfix.exe. I
always
expand each hotfix to its own directory named based on the q number and
organized by what SP they are slated for inclusion in.
I suggest the following:
1. Copy all the fixes into a clean directory.
2. Make a subdirectory for each
3. Run them with the -x switch to expand them
4. Run the respective instances of hotfix.exe with the -z and -q
switches.
----Original Message Follows----
From: "Mehringer, Doug" <[EMAIL PROTECTED]>
Reply-To: "MSWinNT Discussions" <[EMAIL PROTECTED]>
To: "MSWinNT Discussions" <[EMAIL PROTECTED]>
Subject: RE: using qchain.exe to install multiple hotfixes
Date: Wed, 3 Oct 2001 15:35:52 -0500
Here is a copy of one that works for you tom compare it to:
@echo off
setlocal
set PATH=D:\Apps\HotFixes\2000
%PATH%\q276471_w2k_sp3_x86_en.exe -z -m
%PATH%\q285156_w2k_sp3_x86_en.exe -z -m
%PATH%\q285851_w2k_sp3_x86_en.exe -z -m
%PATH%\q296185_w2k_sp3_x86_en.exe -z -m
%PATH%\q298012_w2k_sp3_x86_en.exe -z -m
%PATH%\q299553_w2k_sp3_x86_en.exe -z -m
%PATH%\q299796_w2k_sp3_x86_en.exe -z -m
%PATH%\q301625_w2k_sp3_x86_en0815.exe -z -m
%PATH%\q302755_w2k_sp3_x86_en.exe -z -m
%PATH%\q300972_w2k_sp3_x86_en.exe -z -m
%PATH%\ALLq293826_w2k_sp3_x86_en.exe -z -m
%PATH%\rbupdate.exe
rem %PATH%\q299618.exe
%PATH%\qchain.exe
Douglass W. Mehringer
Network Administrator
Stinson Mag & Fizzell, P.C.
100 South Fourth Street
St. Louis, MO 63102
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
(314) 393-1404 (cell)
(314) 259-4541(office)
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 03, 2001 2:53 PM
To: MSWinNT Discussions
Subject: using qchain.exe to install multiple hotfixes
I have a created a batch to install multiple hotfixes at once and
according
to Q296861, this should only require one reboot.
My batch is the following:
@echo off
setlocal
set PATHTOFIXES=C:\localpath
%PATHTOFIXES%\q252795_w2k_sp3_x86_en.exe -z -m
%PATHTOFIXES%\q276471_w2k_sp3_x86_en.exe -z -m
%PATHTOFIXES%\q285156_w2k_sp3_x86_en.exe -z -m
%PATHTOFIXES%\q285851_w2k_sp3_x86_en.exe -z -m
%PATHTOFIXES%\q299553_w2k_sp3_x86_en.exe -z -m
%PATHTOFIXES%\q299796_w2k_sp3_x86_en.exe -z -m
%PATHTOFIXES%\q302755_w2k_sp3_x86_en.exe -z -m
%PATHTOFIXES%\qchain.exe
I am still getting prompted to reboot after the first patch installs and
am
getting the windows messages to reboot. It is as if the -m switch is
not
being read.
What is going on?
Thanks in advance.
James Gregg
------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]
------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]
_________________________________________________________________
Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp
------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]
------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
------
You are subscribed as [email protected]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]