If you automate your application installs then you will probably have used an Install Wrapper.
When installing something in an unattended (i.e. automated) way, often there is a simple, single command line that you can use. For example the following single command line will install 7-Zip with a basic msiexec User Interface (UI) whilst ensuring the install doesn’t trigger a reboot,
msiexec /i "C:\Path\To\7z920-x64.msi" ALLUSERS=1 /norestart /qb-
This command line is generally inserted into you your deployment tool of choice to deliver the software to your Windows endpoint (we use Altiris DS6.9 and Altiris CMS7).
But what if your unattended installation has a pre-requisite? Or what if after the installation you need to perform a task or install a post-requisite?
This is the point when most software packagers start writing a batch file. To illustrate, below is an example of a batch file which will install iTunes with its pre-...