• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 619
  • Last Modified:

vbScript to run Application patch (.exe or .msi) in silent mode

I need to have a script that will run an application patch without having the dialog boxes comes and have to be clicked OK, etc.  
Cad Coder
Cad Coder
1 Solution

If the application patch is MSI based (ie. a .MSI or .MSP) you may be able to use the /q parameter when you install using msiexec.exe; ie.

msiexec /i "ApplicationUpdate.MSI" /qn   - no user interface shown
msiexec /i "ApplicationUpdate.MSI" /qb   - basic user interface shown
msiexec /update "ApplicationUpdate.MSP" /qn   - install patch file, no interface shown.

If the above works, then it's a small step to launch the appropriate command line from, for example, a VBScript.

If the application patch *isn't* MSI based, then you may be able to use something like AutoIt at http://www.autoitscript.com/autoit3/index.php to answer the dialogs it presents.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now