Silently Install Applications Via Script

Posted on 2008-11-07
Last Modified: 2012-05-05
Right now at my organization each time that an app needs to be installed we do so by visiting each PC and installing the app located on a file server.  I know that we can use Group Policy to push an app but I wanted to go beyond that.  What I want to do is create a .vbs or .wsf script to silently install the app which is on a file server.  What I need to know is what all changes are made during the install (registry changes, folder creation, etc) and then create a script to automate those changes.  The ideal situation would be to have an SMS server but at this moment I am unable to convince management that this is needed.

I know this can be done but I am not really sure where to begin.  I have only a basic knowledge of VB Scripting so creating the script from scratch could be interesting.  I was just hoping to be pointed in right direction.

Thank you,
Question by:Adam82
    LVL 5

    Expert Comment

    Dear Adam it would not be possible to do the installation throgh a scriping language as the registry entries for all softwares are different and cannbot be generalied under one script. Also writing a new script everytime a software needs to be installed does not seem feasible.
    LVL 1

    Author Comment

    Ok, so do you have any recommendations for easy mass app deployment with custom install options?  I have also looked at auto-it but I am not sure how to use it to make a silent install (without seeing any GUI).
    LVL 29

    Accepted Solution

    Hi Adam

    Please see my post

    Overall almost every package has silent switches, you just need to determine the switches for you particular application for example, msi are simply /qn, Wise compiled scripts are generally /s, InnoSetup Applications /verysilent.  Recommend bookmarking as well, this site has a ton of information on distributing applications and what there switches are.

    Hope that helps.

    LVL 52

    Assisted Solution

    Track the changes with a freeware tool made just for this purpose: wininstall LE,
    It produces msi packages.
    LVL 1

    Author Comment

    @matrixnz and @McKnife

    Really cool guys that winstall is a very robust app that I think will handle everything that I needed.


    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    One of the frequent problems with the installations is when some file or registry entry is not removed from the system upon un-installation of the product. Clean removal is always highly desirable. One major reason for that is badly authored inst…
    Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
    Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

    745 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

    14 Experts available now in Live!

    Get 1:1 Help Now