Home > Software engineering >  Compiled program is a single exe file, under what circumstances will produce a series of installatio
Compiled program is a single exe file, under what circumstances will produce a series of installatio

Time:09-23

Programs compiled using VS is a single exe program, or can also be compiled into a DLL, we usually install program is mostly have a lot of installation files under the installation directory, the files when the program is how to get in? If it is added when packaging, how should these documents and the main program to establish contact? For example, if you need to use a class, this class contains directly to the resources can not yet, why produce so many files in the installation directory? A single executable is not enough to use it?

CodePudding user response:

I understand it is the EXE contains everything you need to perform the logic operation, but does not contain your operation objects and resources, such as EXE may need to read their own ini configuration file, such as EXE may want to use third-party libraries (EXE is others for you to write good DLLS, etc., etc.), an EXE to perform, you not only just a file, will involve a lot of things, just some basic things inside the operating system, like/system32 DLL files

CodePudding user response:

"Windows PE authoritative guide
""Programmers self-improvement, links, loaded with library"

CodePudding user response:

Necessary support files are indispensable

CodePudding user response:

Necessary support files are indispensable

CodePudding user response:

Didn't quite understand, some exe rely on DLL can run normally, not very normal

CodePudding user response:


If you write a game, you a naked exe? Resources is also packaged into exe? The best way is, of course, as a resource file,

CodePudding user response:

Compilation is complete, you need to make the installation file, will need the support of the file is packaged in

CodePudding user response:

Can search program installation deployment

CodePudding user response:

Question 1/2.
Refer to https://blog.csdn.net/l357630798/article/details/52780961

Question 3/4.
Assuming that if all the class or function in a project, the project will be very bloated and unfavorable to extend and maintain, divided into a lot of DLL can well realize the modular programming,
Second, a large and medium-sized software is usually a few people synchronous development, if there is a project, is unable to achieve synchronous development and save development time,

CodePudding user response:

EXE is a program that is the entry point, such as the door of a house
The images, MP3, video,... Increase in: equivalent to TV, acoustics, wall paintings.
Open a window, the equivalent of a room,
Such an understanding

CodePudding user response:

"" "under what circumstances will produce a series of installation directory file "
Need to run the installer "installer"
  • Related