scripting software installation

  • Thread starter Thread starter surferboy
  • Start date Start date
S

surferboy

Thanks in advance.
I was wondering if anyone has any tips about how i could
script installation of patches for windows xp such that it
would check to see if that patch was already installed and
then if not install that patch in silent mode. i have this
implemented with just silent mode but the problem is that
computers that have the patches are wasting time installing
the patches.

thanks
 
surferboy said:
Thanks in advance.
I was wondering if anyone has any tips about how i could
script installation of patches for windows xp such that it
would check to see if that patch was already installed and
then if not install that patch in silent mode. i have this
implemented with just silent mode but the problem is that
computers that have the patches are wasting time installing
the patches.

Hi

The safest is of course to check file versions, but it is a bit complicated
because each OS version and even each OS Service Pack level have different file

versions for the same hotfix.

At least for all NT based OSes, usually a hotfix install is creating a registry

key under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\HotFix\ with a
value
"installed" that is set to 1 when it is installed (for IE updates it is under
HKLM\Software\Microsoft\Active Setup\Installed Components\)

Read the Knowledge base article or security bulletin for each update to see
what to check for.

VBScript/WMI example:
http://groups.google.com/[email protected]

VBScript RegRead example:
http://groups.google.com/[email protected]
 
Back
Top