Can people automate Windows apps installation?

I understand a Linux application installation can be automated through a script, but I am not so sure if this is true in Windows world. Here I have specific scenario.

I want to install Word onto a Windows 10 machine. Normally, I would select and click through the buttons along the installation wizard (and I guess that is 99% of user's way of installation).

Now, I am wondering if I could achieve the above manual process in a fully automated way. If so, how do I do it?

2 Answers

It ... depends.

Most programs use Windows Installer, which is a Windows API with a standard package format (MSI) and flags for scripted install/uninstall. These can also be deployed via Group Policy in corporate networks.

Some programs will have a custom installer, though most of those have their own scripted install methods. For example, InnoSetup, NSIS or InstallShield.

Microsoft Office uses something different yet again: as of 2013, the default installation method is Click-To-Run. I'm not sure if this allows scripted installs in the standard home/business versions, but you can check if any flags are available by running setup.exe /?. There are deployment tools for larger businesses. There is also a Volume License version, which comes as a traditional ISO with MSI installer.

Program installation isnt some cryptic process. The core of any install is typical creating a folder and copying files. Past that, there might be some registry modification. Unless we are discussing something uniquely complex, that's all there is to it.

You could automate the install of Word fairly easily. You can use any installer making program that can take a snapshot of the computer before the installation and after. Then it compares the difference between then and creates an installer. This method works, but there can be some drawbacks, depending on the situation.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like