Making the mounting distribution program of the program
We shall Consider in кратце to main sections:
Section |
Importance |
| [Setup] |
soderzhit instructions on behaviour инсталяционной routines, as well as, as this must look. The Keywords AppName, AppVerName and DefaultDirName are obligatory. All rest - perforce |
| [Files] |
Here contains files for setup |
| [Icons] |
labels |
| [Components] |
Correlation component to type инсталяционной routines |
| [Dirs] |
allows to create new empty files |
| [INI] |
does record in INI- files |
| [InstallDelete] |
first действое at installations, cистаксис corresponds to sections [UninstallDelete] |
| [Messages] |
allows specific changes to text |
| [Registry] |
does record in регист |
| [Run] |
executes other program after given successfully were, but else before that as will locked be a dialogue window |
| [Tasks] |
allows additional actions in setup |
| [Types] |
installs type setup-but |
| [UninstallDelete] |
the last operation at деинсталяции. Thereby files and/or files will are removed |
| [UninstallRun] |
the first operation under de installations. Sistaksis corresponds to sections [Run] |
| [LangOptions] |
contains information on yazyke. as a rule, is not used |
Inno Setup works inwardly violin with different предопределеными constant, which, as a rule, contains the way (path). The Way of the writing: {name}. Some constants such as {app} and {group} can/must be predestined by user. One, itself wants to define the constants, must address to припроцессеру Alex YAkimova (Alex Yackimoff).
Here is main constants Inno Setup:
constant |
contents |
example |
| {win} |
way in directory/file Windows |
C:\Windows |
| {sys} |
way in system file Windows, in particular file System32 |
C:\Windows\System или
C:\Windows\System32 |
| {app} |
way to own aplique work (program) |
|
| {pf} |
way to programme file |
C:\Programme |
| {cf} |
way to general data |
C:\Programme\Gemeinsame Dateien |
| {dao} |
cоответствует{cf}\Microsoft Shared\DAO |
C:\Programme\Gemeinsame Dateien\Microsoft Shared\DAO |
| {src} |
way to file инсталявионной routines, at moment of the execution setup |
R:\ |
| {group} |
group of the programs for start menu |
|
The Ithaca, shall consider the problems, which it is necessary to solve (define only minimum). Our инсталлятор must do following:
Raspakovati files in necessary places
Create file in directory of the program (file Cop. - for keeping reserve mines bases)
Create menu of the start of application in Starting All program, but in the same way иконку on worker table
This is a necessary minimum. But, of course, this far from all possibility Inno Setup. After all not in vain his(its) use many developers. But in given article I limit only this, interested persons deeper to study the possibility of the program can address to reference system. There is ensemble of the references In Internet both on program, and on translations of the reference. For instance, Inno Setup 5.1.6. and reference to him You may скачать here English site program http://www.innosetup.com
For beginning try поэкспериментировать, creating инсталлятор at master, but then studying structure got violin. In principle, I think no necessities to detail that where press. Inno Setup so forgive;pardon in mastering that without problems is studied that is identified method scientific тыка . Here is for instance скрипт инсталятора, which does determined earlier tasks (all files of the distribution program are found in directory D:\Setup.)
The Example, as so much for works, You may below.
Author: Admin
Size: 510 kB
It Is Added: 07.02.2007