Re: VBScript will not install Security Patches Silently.

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: rdl_clark (rdl_clark.1dfibq_at_news.webfrustration.com)
Date: 10/01/04


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


Relevant Pages

  • Re: Office 2003 Updates error - ouerror.gif (0/1)
    ... it would not let me install ... attempting to install any of the individual, downloaded patch EXE?s? ... No valid sequence could be found for the set of patches. ... Office Professional Edition 2003 Version 11.0.6361.0: ...
    (microsoft.public.officeupdate)
  • Errors applying kernel patch 118833-36
    ... install of Solaris 10 11/06. ... However, once the package list is done, I see a worrisome message: ... Below is the complete console output of the patch run. ... Changes for package SUNWnfsskr will not be applied to the system. ...
    (SunManagers)
  • problem installing patches ufter upgrade of Solaris 10u2
    ... download directory. ... Failed to install patch 119081-23. ... Reason code:0 ...
    (SunManagers)
  • OpenOffice? OMG!! Has ANYONE actually managed to install it?
    ... How do I send a patch ... The 'hedabu' action is particularly interesting, inasmuch that it cosmetically re-formats the header to shrink it on install. ... Getting an OO.o CVS account ... Using patch / diff ...
    (alt.os.linux)
  • RE: Security Update Office 2007 KB934062
    ... So it sounds like the hang up is trying to extract the .msp out of the .exe. ... I would ask that you make a folder at c:\ named patch for the ease ... Open that log file. ... Could you please provide a verbose log from a failed install for review? ...
    (microsoft.public.officeupdate)