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

Posted on 2006-05-01
Last Modified: 2013-11-14
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.  
Question by:Cad Coder
    1 Comment
    LVL 10

    Accepted 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 to answer the dialogs it presents.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
    RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now