Re: VBScript will not install Security Patches Silently.
From: rdl_clark (rdl_clark.1dfibq_at_news.webfrustration.com)
Date: 10/01/04
- Next message: Derek: "Help with debugging"
- Previous message: Ray Costanzo [MVP]: "Re: Changing user password"
- Next in thread: NickB: "Re: VBScript will not install Security Patches Silently."
- Reply: NickB: "Re: VBScript will not install Security Patches Silently."
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 1 Oct 2004 17:59:24 +0100
Kevin Wrote:
> Need Help!!!
>
> I am trying to install patches for Office 2000 silently. I want
> users to have no interaction these are installing. Below is the
> following code.
>
> 'On error Resume next
>
> Set Wshshell = WScript.CreateObject("WScript.Shell")
>
>
> WshShell.Run
> "U:\AppLauncher\OfficeSP3\office2000-KB830347-client-enu.exe
> /q /R:N", 1, True
>
>
> Even through I have used /q switch, the windows install displays and
> also the pop up message that the patch has installed? Is there anyway
> to keep this message pop ups hidden?
Hi Kevin,
Create a folder for each patch or update
e.g.
U:\AppLauncher\OfficeSP3\KB830347
Extract the files from the exe by clicking on start\ run and type in
U:\AppLauncher\OfficeSP3\office2000-KB830347-client-enu.exe /c
browse to the folder you created for this patch and extract the files.
Now edit the ohotfix.ini for each extracted patch to:
[OHotfix]
IsNormalUpdate=1
AdminUsesShortFilenames=1
AdminPath=
MessageTitle=Word 2000 Security Patch: KB830347
CopyFilesToRerun=1
ShowSuccessDialog=0
RunSetupWatson=0
RequireAllPatchesNeeded=0
RequireAllProductsAtMinVersion=0
MinProductVersion=
MinMsiVersion=2.0
UpgradeMsi=0
MsiUpgradeURL=http://office.microsoft.com/ProductUpdates/ExtlinkPages/Ohotfix.aspx
OHotfixLogLevel=n
MsiLogLevel=n
OHotfixUILevel=q
MsiUILevel=q
RebootInQuietMode=0
FeatureToCheck=
Do this for each patch or update.
Now change the vb script to run the ohotfix.exe in each folder and it
all runs in the background and no-one will notice anything.
Cheers
R
-- rdl_clark
- Next message: Derek: "Help with debugging"
- Previous message: Ray Costanzo [MVP]: "Re: Changing user password"
- Next in thread: NickB: "Re: VBScript will not install Security Patches Silently."
- Reply: NickB: "Re: VBScript will not install Security Patches Silently."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|