Most software is installed intelligently. In other words, many software can be installed automatically or semi-automatically.
1. Microsoft Windows Installer
If a software is packaged with Windows Installer, you should be able to see the *. MSI file in the folder. This is the most typical feature. These files can be automatically installed using/QB and/Qn parameters.
/QB displays a basic installation process in the window.
The/Qn parameter does not display any windows and is automatically installed in the background.
To prevent someProgramAfter the installation is successful, it is automatically restarted (for example, Kerio Personal Firewall 4). You can use the reboot = suppress flag after the/Qn or/QB parameters.
For example, install the virtual optical drive daemontools: msiexec/I dtools. MSI/QB reboot = suppress
Ii. Windows Patch pack
There are two situations: one is the installation file similar to the IE incremental patch package. to install it silently, you only need to add the/Q: A/R: N parameter after the execution file; one is a common patch file for Windows. Generally, you can install it silently by adding/u/n/Z. (For new system patches, you can also use/Passive/norestart ). This is common in most cases, but some specific patches cannot be installed silently using this method.
Iii. InstallShield
1. to install a program packaged With InstallShield technology through Silent Installation, you must first create a setup. ISS file in the existing operating system. Run the installer using the-R parameter (case sensitive) in the command line window.
Example: setup.exe-R
2. A common installation screen is displayed, and you are asked some questions, such as the Directory to be installed, after the installation is complete, you cannot select the "Restart computer now" option. If you select this option, other commands in the batch file cannot be executed because the computer restarts.
3. After the installation is completed, open your c: \ windows (or c: \ WINNT) directory and find setup. the ISS file. Save the file and the program setup.exe you are about to silently install in the same directory.
4. Run the following command for Silent Installation: setup.exe-s [-SMS]
Note: How do I know which program is packaged Using InstallShield technology?
Most of the installation files of such programs can be decompressed by the compressed software. The Property dialog box of the setup.exe installation file should contain "InstallShield (r) setup launcher" or other similar words.
Finally, if you see a setup. ISS file in the folder that saves the installation file, you can use InstallShield to package it!
Iv. InstallShield with MSI
To install the installation file prepared by InstallShield with MSI, use the following command: setup.exe/S/V "/qb.
V. Wise Installer
When installing software packaged with wise technology, you can use the/S parameter for automatic installation.
6. Inno Setup
For the Installation File Created by Inno Setup, use setup.exe/SP-/silent/norestart.
Note: How do I know which installer is packaged with Inno technology?
The first interface that appears when the software is installed, click the left mouse button on the icon on the left side of the window title bar, and then click "about setup" on the menu to view the installation type.
VII. Nullsoft Installation System
The Installation File Created using Nullsoft installation system can be installed silently ("S" is case-sensitive) by/s (uppercase ).
Example: setup.exe/s
You can also use the/d parameter to select the target partition and folder to be installed:
Example: setup.exe/S/D = E: \ Software \ qq2007
Software such as Winamp and cdex will display a confirmation screen (cdex) or end installation screen (Winamp) after the installation is completed)
Note: How do I know which program is packaged using NSIs technology?
Many programs packaged with NSIs have similar windows during installation, such as Winamp and cdex.
8. Wise installation professional
The installation file can be installed silently with the/silent parameter.