Performing installations and updates on multiple computers can sometimes be a long and frustrating process. The most efficient way to tackle the job is to make it as automated as possible. This prevents the need for you to copy the package over to each computer. It also prevents you from having to execute the package manually. Automating a software distribution starts with learning very basic scripting. You can create a simple batch file that launches an installation package on a single network share and call it to distribute to all computers on a domain. Combining a simple batch script with the Group Policy or Task Scheduler will make it much easier for you to deploy a software installation.
- Skill level:
Other People Are Reading
Press the "Windows" and "R" keys simultaneously on your keyboard. This loads a "Run" box on your screen.
Type "Notepad.exe" and click the "OK" button. This opens the Windows Notepad utility.
Type one of the following scripts into Notepad. (Replace the executable name and location with the actual location and name of the installation package.) Single Computer:
C:\ProgramFiles\Program Folder\Package.exe /S
Deploy Across Domain:
@ Echo Off
Click "File" and click "Save As." This opens a "Save As" dialogue window. Choose a save location from the left pane.
Click in the "Save as Type" drop-down menu and click "All Files." Type "InstallSript.BAT" in the "File Name" box, and then click the "Save" button.
Tips and warnings
- Some installation packages will require you to copy a .txt document to the destination. The installer determines advanced installation instructions by reading this file. If your package includes this file, follow the instructions inside the file for deployment.
- While triggers can be set via script, if you are still learning scripting you can set simple triggers via Task Scheduler or Group Policy. This allows easy set-up to trigger your .bat file to run at user logon or at a scheduled time. For example, use the scheduler to trigger the script to run after everyone has left for the evening.
- Ensure everyone on your network as access rights to the share folder.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for