Automatic (silent) installation of common software using batch processing

Source: Internet
Author: User

Using batch processing to install common software, we need to grasp the following knowledge points:
I. Package type of common application software:
Model 1.installshield:
InstallShield is a business-Class installer encapsulation tool that many large commercial software uses to encapsulate. For example: Macromedia Flash. Pgtoshop, etc.
Installation parameters:-R for recording the installation process
-S for automatic software Installation
-f1 specifying the path to the Setup.iss answer file
How to use:
1. First used at the command line with the-R parameter of the software installation, its installation process and normal installation is not essential difference, but after the software installation can be found in the C:\Windows (WinXP System) or C:\Winnt (Win2K system) directory under the name of a file named Setup.iss , it is an important answer file that we will use to install automatically.
2. Put the above Setup.iss file in the same directory as your installer and use the-s parameter for automatic installation.
Example: start/wait x:\phtoshop\setup.exe-s-f1 "Y:\setup.iss" (if the Setup.iss file is in the same directory as the installer, you can omit the-F1 parameter)

2.Inno Setup Type:
Inno Setup is a completely free installer package tool that offers the same functionality and stability as commercial packaging tools.
Installation parameters:/silent (/verysilent) for automatic installation of software
Sp-used to skip the confirmation interface of the installer
How to use: Start/wait x:\thunder5.exe/verysilent sp-
Note: This installation parameter is easy to use, but if we write it to a batch file for a large number of software installation, some software will start after installation, such as Thunderbolt, to not affect the performance of the system, we can combine other commands to terminate its process, for example:
@echo off
Start/wait x:\thunder5.exe/verysilent sp-
Echo.
taskkill.exe/f/im Thunder5.exe

3.Microsoft Windows Installer Technology Packager
Microsoft's own products, many software manufacturers now choose this type of package based on Microsoft development
Parameters://qb (/qn) for automatic software Installation
/reboot=suppress not re-up after installation
How to use: Start/wait x:\setup.exe/qb reboot=suppress

4.Nullsoft superrmp Install System (NSIS) type, for example: Winamp
Use parameters:/S for automatic software Installation
Example: x:\winamp\setup.exe/s
Description: This kind of software will give a file association confirmation window, currently can't skip, but I can give everyone a thought, is combined with the Doskey command in VBS script to imitate the keyboard action to achieve the confirmation process, so far I have not written out, looking for master to help improve

two. Test method and Installation type analysis:
1. Test method: Can be used in the current more popular virtual machine for testing
2. Installation Type analysis: Most installers can right-click on the Setup program ___ Select Properties ________ version to view its encapsulation class

Three. Requirements in a batch file
If you plan to re-encapsulate the installation disc with the WinXP Disc tool and use the WinXP answer file to install the application, you must understand that the location of the batch file should be there, which you can read about in this article.

From:http://hi.baidu.com/pzgm/blog/item/f6ef063d0b4fe3e63d6d9793.html

From :http://blog.csdn.net/tianzhu123/article/details/8023539

Automatic (silent) installation of common software using batch processing

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.