Can the application software be extracted and packaged into an .EXE file and installed on other computers?

1. Some software works, some doesn’t

       For example, some large-scale online games are acceptable. This kind of software can just make the installation directory into a self-extracting .exe file. In fact, it can also be run directly by copying it to another computer.

       Except for those games, most other applications are not allowed. Theoretically your idea is feasible, but it has no practical significance.

       The installation process of application software is to unzip the installation package and release the extracted files to different places on the computer according to the developer's design. For example, some need to be released to the system installation directory, some to the software installation directory, and some to Release to system temporary folder.

       In addition to decompression, it also needs to register many released files in the registry, and many link library files need to be registered in the system, etc. There are many processes .

       Theoretically, if you understand all these processes, you can manually reverse the installation process of this software, repackage all the decompressed files, record the association registration actions of each file, and then Manually decompress on another computer (or use batch processing to decompress automatically), then manually register each file, and then manually modify the registry one by one, so that the software installation can also be completed.

       The installation of software is actually to write a program to automatically execute the tasks that were originally performed manually. This program is called an "installation program."

       There is a setup.exe or Install.exe in each software installation package. This is. How to package EXE installer? Sometimes we need to package multiple files of software or green software or non-installation software into an executable exe installation program to facilitate installation. Ordinary arbitrary files, such as mp3 files or txt text files, only record data and have no executable code. Obviously, it is impossible to directly convert them into exe executable files.

       How to package the contents of a folder into an EXE file? This can be achieved, but it involves many aspects, so I won’t go into details one by one.

2.Finally

Here I will only give you a brief understanding of the specific process of installing the software on the PC, so that you can have a general understanding. It is different from the installation of the Android installation package. If you like it, please give it a like!

Insert image description here

Guess you like

Origin blog.csdn.net/zxz_zxz_zxz/article/details/134458448