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.
Copy Code code as follows:
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.
Copy Code code as follows:
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 (such as "Automatic installation of the software batch file" in the article summed up a lot).
3. About software Automatic (silent) installation of knowledge can read the article "Using batch processing automatic (silent) installation of common software."
4. 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.