Using batch processing to implement automatic installation of software to install Sogou Pinyin as an example _dos/bat

Source: Internet
Author: User

The following to install Sogou pinyin as an example to do a small experiment, other software installation can be used as a reference to achieve.

Experiment Objective:

Using batch processing to automatically install Sogou pinyin

Experiment steps:

1. Download Sogou Pinyin installation package, this experiment using Sogou_pinyin_50a.exe.

2. Create a new batch file Sogou_install.bat in the directory where the installation package resides.

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

[Plain]

Start/wait. \sogou_pinyin_50a.exe/s

4. Double-click the batch file to execute it.

5. If you perform this batch file as an administrator, you may be reminded that file XXX cannot be found. At this point, you can modify the batch file slightly.

[Plain]

The path where the CD installation files are located

Start/wait. \sogou_pinyin_50a.exe/s

6. After the batch process is executed, the software is automatically installed.

Experiment Summary:

1. The automatic installation method of other software is similar to the method shown in the experiment.

2. The automatic installation commands for all types of software are not necessarily the same, and most software installation commands can be found on the Internet.

3. Under the Win7 system, the installation of software may be prompted to "allow changes to the computer", which will have a certain impact on the batch automatic installation software. At this point: you can use the administrator to execute the batch file. You can also set it up in Control Panel-Operations center-Change user Account Control settings.

That's it.
Related Article

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.