Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 615
  • 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.  
0
Cad Coder
Asked:
Cad Coder
1 Solution
 
fostejoCommented:
tlwaller,

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.

cheers,
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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