Newbie Question - Hotfix / Patching script
From: Chris Henderson (please_at_dont.ask.com)
Date: 10/13/04
- Next message: Al Dunbar [MS-MVP]: "Re: Defining Parameter"
- Previous message: Ray Costanzo [MVP]: "Re: Memory stick"
- Next in thread: Torgeir Bakken \(MVP\): "Re: Newbie Question - Hotfix / Patching script"
- Reply: Torgeir Bakken \(MVP\): "Re: Newbie Question - Hotfix / Patching script"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 13 Oct 2004 10:47:43 -0700
Hi All,
I'm pretty new to this scripting stuff so I'll keep it brief. I'm trying to
create a script that will install multiple hotfixes one after the other
(like qchain used to do). The problem is that when I run the script it
doesn't wait until the first hotfix is applied before starting the other
therefore some dont install because there is another hotfix being installed
at the same time. I need something like an exit code to input so I can start
the next one. This is what I have so far.
set wshShell = WScript.CreateObject ("WSCript.shell")
wshshell.run "WindowsServer2003-KB834707-x86-enu.EXE /quiet /norestart"
wshshell.run "WindowsServer2003-KB841356-x86-enu.EXE /quiet /norestart"
wshshell.run "WindowsServer2003-KB883935-x86-enu.EXE /quiet /norestart"
wshshell.run "WindowsServer2003-KB840987-x86-enu.EXE /quiet /norestart"
wshshell.run "WindowsServer2003-KB873376-x86-enu.EXE /quiet /norestart"
wshshell.run "WindowsServer2003-KB841533-x86-enu.EXE /quiet /norestart"
wshshell.run "WindowsServer2003-KB824151-x86-enu.EXE /quiet /norestart"
Any help would be greatly appreciated.
Thanks in advance,
Chris
- Next message: Al Dunbar [MS-MVP]: "Re: Defining Parameter"
- Previous message: Ray Costanzo [MVP]: "Re: Memory stick"
- Next in thread: Torgeir Bakken \(MVP\): "Re: Newbie Question - Hotfix / Patching script"
- Reply: Torgeir Bakken \(MVP\): "Re: Newbie Question - Hotfix / Patching script"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|