BAT batch processing Enables automatic software installation

Source: Internet
Author: User

BAT batch processing Enables automatic software installation

This article mainly introduces the automatic installation of BAT batch processing software (taking sogou pinyin as an example). This article takes the installation of sogou pinyin as an example for a small experiment. The installation of other software can be implemented as a reference, for more information, see

The following describes how to install sogou pinyin in a small experiment. The installation of other software can be implemented as a reference.

Lab objectives:

Use batch processing to automatically install sogou pinyin

Tutorial steps:

1. Download the installation package for sogou pinyin. In this tutorial, use sogou_pinyin_50a.exe.

2. Create a new batch file sogou_install.bat in the directory where the installation package is located.

3. Edit the batch file sogou_install.bat, enter the following command, and save it.

The Code is as follows:

Start/wait. \ sogou_pinyin_50a.exe/S

4. Double-click the batch file for execution.

5. to execute this batch of files as an administrator, the system may prompt "file XXX not found ". In this case, you can slightly modify the batch processing file.

The Code is as follows:

Path of the cd Installation File

Start/wait. \ sogou_pinyin_50a.exe/S

6. After the batch processing is executed, the software will be automatically installed.

Experiment summary:

1. The Automatic Installation Method of other software is similar to that demonstrated in this experiment.

2. the Automatic Installation commands of various types of software are not necessarily the same. The installation commands of most software can be found on the Internet (for example, the article "batch processing files for Automatic Installation Software" summarizes a lot ).

3. for fully automated (silent) software installation knowledge, read the article "using batch processing to fully automated (silent) install common software".

4. In Windows, the system may prompt "whether to allow changes to the computer" when installing software. This will have a certain impact on the automatic installation of software for batch processing. In this case, you can use the Administrator to execute batch files. You can also set it in "Control Panel-operation center-Change User Account Control Settings.

That's it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.