How to Write a Simple Script to Install a Program

How to Write a Simple Script to Install a Program thumbnail
Write a Simple Script to Install a Program

If you have a large number of computers that all need new programs installed, it can be very time-consuming to sit at each machine and manually start the installation programs. If you write a simple script program and distribute it to each computer, you can have the users start the installation on their own by running the script.

Instructions

    • 1

      Power on your computer and click on the "Start" button at the bottom-left side of the desktop. Click on "Programs" and then scroll through the list of options and choose "Microsoft Notepad."

    • 2

      Click on "My Computer" and navigate to the folder where the installation file is located for the program you want to install. Right-click on the file and then click on "Properties" from the menu that pops up.

    • 3

      Highlight the full path location of the file, such as "D:\CD\Install.exe," and then right-click. Choose "Copy" from the menu that pops up to copy the location information.

    • 4

      Navigate back to the Notepad program you opened earlier. Type the word "START" in all caps on the first line. Press the space bar once and then right-click and choose "Paste" to paste the location of the installation program. Check that the line reads exactly like "START D:\CD\Install.exe" without any extra spaces or characters.

    • 5

      Click on "File" at the top toolbar and then click on "Save." Name the file whatever you want, but change the extension from ".txt" to ".bat," such as "InstallFile.bat."

    • 6

      Close the file. Double-click on it to run the script and install the program. Save the file to an external source, such as a jump drive or CD-RW, and take it to any other computer that needs to run the script and install the program.

    • 7

      Navigate to the location where you saved the batch file and right-click on it if you need to edit it. Choose "Edit" or "Open With Notepad" from the new menu that pops up to open the file in Notepad for editing.

Tips & Warnings

  • Never use Wordpad, Microsoft Word or any other advanced word processing program to write a batch file since the text formatting those programs use will prevent the file from running properly.

Related Searches:

Resources

  • Photo Credit MetroDish

Comments

You May Also Like

  • How to Write a Script to Install Software

    Performing installations and updates on multiple computers can sometimes be a long and frustrating process. The most efficient way to tackle the...

  • How to Write a Simple PHP Script

    PHP is a popular scripting language you can use for building interactive websites or manipulating server files. PHP provides many functions that...

  • How to Write PHP Scripts

    PHP offers a more dynamic and interesting web experience than any straight HTML coding, since it allows for server generated content on...

  • How to Create an Install Script

    Installation through Microsoft scripts is used by administrators who oversee several client and server computers on a network. A script is distributed...

  • How to Write a Radio Script

    Learning how to write a radio script is critical for proper execution of a radio performance. The script must include various cues...

  • How to Install Website Scripts

    6 Steps to website script install success. If this isn't enough, check out the videos at http://www.installscriptsvideos.com

  • How to Install Scripts for Greasemonkey

    Greasemonkey is a browser extension program on Fire Fox and allows the user to alter script settings for their computer. This is...

  • How to Uninstall Software With a VB Script

    VB Script is a language used on a Windows machine to automate functions like installing software, setting registry values or configuring network...

  • How to Install the Script Isscript.msi

    The Microsoft Installer (MSI) packaging allows developers to distribute software in one file. As a user, you double-click the MSI file, and...

  • How to Write Radio News Scripts

    Learning how to write news for radio broadcasting can be a challenge because it is a format that has its own rules....

Related Ads

Featured