VB Script to install MS updates...

I have been trying to get these updates to install by vbscript: WindowsXP-KB942288-v3-x86.exe, WindowsXP-KB958655-v2-x86-ENU.exe, vjredist.exe, dotnetfx3setup.exe, dotnetfx30SP1setup.EXE and office2003-KB907417-FullFile-ENU.exe... I can install all of these by way of batch but due to complexity of the deployment project I'm creating 1 vbscript for the SAP GUI 7.x deployment... The issue is that these will not install in silent mode and I have tried different ways...

Example for: WshShell.Run """WindowsXP-KB942288-v3-x86.exe""" & "/passive", 1, True and oShell.Run "WindowsXP-KB942288-v3-x86.exe /passive /norestart", 1, True...

I have been successfull with these msxml6_x86.msi, netfx.msi, NetFx20SP1_x86.exe, RGB9RAST_x86.msi, O2003PIA.msi, o2007PIA.msi and ExchangeCdo.MSI within the vbscript...

Any help wouldd be great because I think if one of them will install silent, then all of them will install silent...

Thanks Rob

0 Comments   [ + ] Show comments

Answers (2)

Posted by: anonymous_9363 13 years ago
Red Belt
The silence is nothing to do with the script. If the EXE wants to shout by default, it will. I suspect that you need a different switch for the shouters. Open them up in a hex editor (or, at a push, Notepad) and browse for likely-looking text strings. Or, even easier, look them using your favoured search engine. A Google for 'WindowsXP-KB942288-v3-x86.exe silent -appdeploy' tells me that, for this one, you need to use '/quiet'. I'll leave you to research the remainder.
Posted by: RoBolton 13 years ago
Senior Yellow Belt
VBScab always good to here from you... Here is what makes the "shouters" go away... WSHShell.Exec... I guess the only issue is with using WSHShell.Exec, it will not wait for the install to finish before kicking out another install.... That is an easy fix...
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ