The exe file is an installation package; the installation package is a collection of self-decompressible files, including all files for software installation. Binary executable files in the Windows operating system are divided into two types: com and exe. The installation package The suffix is mostly in exe format, which can be loaded into memory and executed by the operating system loader.
The operating environment of this tutorial: Windows 10 system, DELL G3 computer.
The exe file is an installation package
The suffix of the installation package is mostly in exe format. There are two types of binary executable files in the Windows operating system: one with the suffix .COM and the other with .EXE.
Installation package
The installation package (Install pack), that is, the software installation package, is a collection of self-decompressible files, including all files for software installation. By running this installation package (executable file), you can release all the files of this software to the hard disk, complete modifications to the registry, modify system settings, create shortcuts, etc. Most installation package files are in exe format. It can be installed in multiple files like the cracked version of the game, but some VB coding is required. msi file creation tool, supported by the system's installation wizard. Unfortunately, the disadvantage is that the regular version does not recognize Chinese. Although the picture is not very good, it does not require coding, and it is very easy to get started. The registry allows import, and the best thing is that the file automatically opens after installation, and the file automatically opens and supports files with any suffix name.
EXE
EXE File's full English name is executable file, translated as executable file, a file in Portable Executable (PE) file format, which can be loaded into memory , and is executed by the operating system loader. It is an executable program that can be floated and positioned in the operating system storage space. For example, the notepad program notepad.exe can be used to edit documents, such as: test.txt. Double-click to open the notepad.exe notepad program for editing.
Extended knowledge
EXE File executable program An executable program that can be floated in the operating system storage space. Under MS-DOS and MS-WINDOWS, such files have the extension .exe.
Binary executable files in the WINDOWS operating system are divided into two types, one with the suffix ·COM and the other with .EXE.
.COM is generally used in DOS. The executable files in the WINDOWS system are generally ·EXE files. In MS-DOS, it is the file extension used to identify the executable file. The user can run the executable program by entering the file name without the .exe extension in the prompt line and pressing the Enter key.
EXE files are divided into two parts: EXE file header and program body. The exe file is relatively complex and has a multi-segment structure. It is one of the most successful and complex designs of DOS. Each exe file contains a file header and an image of a relocatable program. The file header contains information used by MS-DOS to load the program, such as the program's size and initial values for registers. The file header also points to a relocation table, which contains a linked list of pointers to the addresses of relocatable segments in the program image. MS-DOS loads the exe program by copying the image directly from the file into memory, and then adjusts the relocatable segment address specified in the location table. The location table is an array of relocation pointers, each pointing to a relocatable segment address in the program image.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of Is the exe file an installation package?. For more information, please follow other related articles on the PHP Chinese website!