Updated to 2009.3.15 v3.4.4
Some time ago I found a Delphi control package Installation Tool multiinstaller. As long as I write a setup. ini myself, I can automatically decompress the ZIP file and compile and install it to Delphi/BCB.
New features in the original version:
[+] Ide supports up to RAD studio 2009
[+] InstallationProgramCompressed by UPX
[+] Multi-language ide version supported
[+] Supports environment variables
New features of my modified version:
Original Certificate: added rar,7zformat support for caband zipformat. Added support for self-decompressed files at the same time (names must be named in a format similar to a.rar.exe)
RAR supports unrar. dll (this parameter is not required if RAR format is not supported)
7z supports 7za. dll (if 7z format is not supported, it is not required)
[+] Added the compressed file password settings. For usage instructions, see the format description.
[*]When the installation directory does not exist, it will be automatically generated instead of reporting an error.
The setup. ini format is as follows:
The [Package-<package name>] section can contain multiple
Description = display name, for example, "My component v1.2"
The name of the ZIP file, such as mycomp.zip, must be in the same directory as the installer.
Zippassword = compressed file password. If the password package contains spaces, it can be expressed in double quotation marks, such as "pass"
Folder = file decompression path, such as mycomp. Note that the relative directory of the installation directory is entered here.
Searchpath = search path, which refers to the directory in the ZIP file. After the control is installed, the actual installation directory will be added to the Delphi search path. If this parameter is not specified, the directory will be automatically replaced by the decompressed directory.
Includes = contains directory. If the current package uses units of other packages, add the unit directory of other packages.
You can enter multiple parameters, such as "C: \ schemdes", "$ basefolder \ units". $ basefolder is automatically replaced with the installation directory.
Each item is separated by a comma and must contain double quotation marks.
D5 =
...
D12 = the path of the package (dpk) used by Delphi of different versions in the compressed file. The runtime package must be written before the design package.
For example, "Source \ rt_d7.dpk", "Source \ dsgn_d7.dpk"
Installable = whether installation is required. The default value is 1.
0 indicates no installation is required
1 indicates the installation is required
2 indicates that no installation is required, but it must be added to searchpath.
Groupindex = control group. The default value is 0, indicating no group.
Executecount = number of executable items
Execute <index> = executable command. After installation, these commands are executed in sequence. The format is as follows:
"<Action>", "<origin>", "destination", where
Action has the following commands available: Copy, copyandrun, delete
Origin indicates the target file or directory.
Destination indicates the target directory.
$ Basefolder indicates the installation directory.
[Options]
Minimumideversion = the lowest supported Delphi version. You can enter d5.. D10.
Defaultinstallpath = default installation directory
Defaultinstallide = the default version installed in Delphi
With Source: http://www.silverpointdevelopment.com/multiinstaller/index.htm
For the modified version, click to download the setup. ini example for devexpress.