In-depth analysis of Win2003 automatic upgrade patch

  

Some readers have reported problems using batch Windows auto-upgrade files. Some patch packages have an error message during installation and cannot be continued.

After research, it is found that this is because Windows mainly has two different types of patches, which need to use different parameters. Once the parameters are wrong, it will not be installed, so different parameters are required for different patches. Let's analyze it in detail. From the picture to see the patch type shown in Figure 1, the Windows 2003 Server patch file in the same directory,

can clearly see the patch file name in front of the icon, there are two types, one is A simple executable icon, and the other is an executable icon that marks the compressed file.

from the icon attribute analysis format WindowsServer2003-KB823559-x86-ENU.exe file is a simple executable file icon. You can see the help information for this patch from Figure 2 and found that it uses the Microsoft update program to install the patch. The version information of the patch can be viewed from Figure 3. It is made by SFXCAB.EXE, and all other patches with common executable file icons have similar properties.

icon DirectX9-KB819696-x86-ENU.exe file is an executable file icon sign a compressed file, you can view the patch help. The parameters it recognizes do not include /U and /Z, and if you use the /U parameter to run it will generate an error. Similarly, looking at the version information of the patch, it can be seen that the DirectX9-KB819696-x86-ENU patch is derived from WEXTRACT.EXE, and all other patches with executable file icons with flag compressed files have similar characteristics. .

Copyright © Windows knowledge All Rights Reserved