Delphi offers two ways to compile your program: using a package or a separate EXE
Using the package, you can set it up in the following ways:
Project Options (menu Project->options->packages page),
Tick the build with runtime packages in the runtimes packages. This will allow you to compile with the package.
But not all of the packages here are what you need, and this includes all the packages installed in Delphi. If the environment changes, maybe your program will not execute, then you can adjust the package you include here.
1. The program is complete and needs to be released, how do we know that our programs are running those packages?
Run the program in the IDE, open the menu project->information for your project name. You can see the names of all the packages that are used by the current project. Be sure to run to see.
2. Where do all these packages exist?
A part is saved under the windows/system32 of your system disk.
Part of the installation path of the default package saved in Delphi: $ (Delphi)/PROJECTS/BPL
Part is placed under the $ (DELPHI)/bin. You can also get them by searching.
For third-party components, it depends on where you are installed.
The most stable method: Copy EXE and package to the computer in a no D environment, run EXE under test.
Package compilation is not recommended (only EXE is smaller).
What files should I bring with the Delphi program (build with runtime package)?