Windows Updater Installation Parameters Experience Tips

  

In order to block system vulnerabilities in a short period of time, in addition to the upgrade package called Service Pack, Microsoft will release some updates from time to time, such as the June release. There are 6 Windows XP update programs. In order to improve the installation efficiency or meet the special needs of some users, Microsoft designed some installation parameters for the update program. Let's take the Windows XP update program as an example to introduce its installation parameters and usage. Update program installation parameters Windows XP update program installation parameters are divided into the three categories listed in the table below, in addition to a parameter listing the installed update "ldl; /l, and an update program decompression parameters" - x. The following three tables list these installation parameters and their uses: ;

In addition to using the parameters listed above, the updater allows the user to use the parameters in a simplified manner. For example, /f: forces other applications to shut down when shutting down, /n: discards the files needed to back up the uninstaller, /z: does not reboot the system after the updater is installed, /q: installs the update using silent mode, /u: Use the unattended mode to install updates, and more. Update the program parameters using skills According to the specific circumstances of the use of the parameters of the update program, you can meet some special needs of the installation process, the following describes several specific examples: Unzip the update program. Suppose the name of a Windows XP update is WindowsXP-KB896428-x86-CHS. If you need to unzip it and install it, you can open the Windows XP command prompt window and switch to the location where the update is stored. At the prompt, type "WindowsXP-KB896428-x86-CHS -x". Click the “Browse” button in the pop-up box to select the file storage location. “When determined, the “Extracting Files” dialog box will be displayed. After the end, all the files in the update program will be released to the specified location. In addition to using the command prompt window, you can also open the Windows XP "Run" dialog box, enter "ld:;e:/bd/WindowsXP-KB896428-x86-CHS-x" (e:/bd is the file that holds the update program) Clip), “ After the determination, the update program can also be decompressed to the specified location. 2. Listing the update directory Before installing the update program, it is necessary to know how much the system has played. The use of the /l parameter can help us understand the updates that have been installed. We only need to select an update program, add the /l parameter in the command prompt window or the "run dialog" as shown above, you can see the system installation update program in the dialog box shown in the figure. Happening. It should be noted that only the updates installed after the latest service pack upgrade package can be listed, and the updates in the service pack are not included. ;

Tip: To get a printable updater directory, open a Command Prompt window and type ">systeminfo > systeminfo.txt" to create a file named systeminfo in the current directory. The .txt file can not only see the update information of the system installation, but also record the main configuration information of other systems. 3. Batch Install Update Programs If users download more update programs, manual installation will not only need to run one by one, but also answer questions such as restarting. It is very cumbersome to install updates for multiple computers. At this point you can make a script (or "sort") file to install all the updates at once. First copy the update program to be installed to a folder (for example, E:/hotfix), and then enter the contents of the script file into “Notepad in the following format. @echo off setlocal set PATHTOFIXES=E:/hotfix %PATHTOFIXES%/WindowsXP-KB890859-x86-EN/Z %PATHTOFIXES%/WindowsXP-KB890923-x86-EN/Z%PATHTOFIXES%/WindowsXP-KB893066-x86-EN/Z The file "E:/hotfix" should be modified according to the storage location of the update program, and each update (or decrease) of an update program in the "E:/hotfix" folder, such as "%PATHTOFIXES%/WindowsXP-KB890859-x86 Statements such as -CHS /Z are incremented (or decremented), and the name of the updater in the statement is modified according to the name of the updater (for example, "WindowsXP-KB890859-x86-CHS"). If you need to use other updater parameters, just add the required parameters after the updater name in the script file, for example, “%PATHTOFIXES%/WindowsXP-KB890923-x86-CHS /Z /q /forceappsclose. After the script file input is completed, click the “Save As command under the File menu and enter the name bdaz.cmd to save (script file name “bdaz any, the extension must be .cmd or .bat ). After the script file is saved, open the command prompt window, switch to the location where the script file is stored, bdaz.cmd, and type “bdaz” at the command prompt to start the batch installation process of the update program. Tip: After installing the update in bulk using scripts, you must restart the operating system for the installed updates to take effect. Since the update program structure of Windows 2000/2003 is the same as that of Windows XP, the method described in this article can also be used for Windows 2000/2003.

Copyright © Windows knowledge All Rights Reserved