Skip to content

Commit

Permalink
labels name and ini example
Browse files Browse the repository at this point in the history
  • Loading branch information
digao-dalpiaz committed Mar 3, 2019
1 parent 7ca6926 commit ebcb051
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 7 deletions.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,23 @@ If any package has this option enabled, it will be display a checkbox allowing i

>Note: The app compiles your component using **Release** target. This means all packages need to be configured at default output folder (Win32\Release and Win64\Release).
**Check my Delphi components here at GitHub and find CompInstall.ini file to see usage examples.**
### Example

In this example, there is two Delphi packages (DamPackage and DamDesignPackage). The design-time package (DamDesignPackage) is configured to install into Delphi IDE. The runtime package (DamPackage) is configured to copy dfm form file and resource file to release folder.

```
[General]
Name=Dam Component
DelphiVersions=XE2;XE3;XE4;XE5;XE6;XE7;XE8;10;10.1;10.2;10.3
Packages=DamPackage;DamDesignPackage
AddLibrary=1
[P_DamPackage]
Allow64bit=1
PublishFiles=DamDialog.dfm;Dam_Resource.res
[P_DamDesignPackage]
Install=1
```

**Check my Delphi components here at GitHub and find CompInstall.ini file to see others usage examples.**
6 changes: 3 additions & 3 deletions UFrm.dfm
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ object Frm: TFrm
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 13
object Label1: TLabel
object LbComponentName: TLabel
Left = 16
Top = 16
Width = 64
Height = 13
Caption = 'Component:'
end
object Label2: TLabel
object LbDelphiVersion: TLabel
Left = 16
Top = 64
Width = 110
Height = 13
Caption = 'Select Delphi version:'
end
object Label3: TLabel
object LbInstallLog: TLabel
Left = 16
Top = 112
Width = 80
Expand Down
6 changes: 3 additions & 3 deletions UFrm.pas
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ interface

type
TFrm = class(TForm)
Label1: TLabel;
LbComponentName: TLabel;
EdCompName: TEdit;
Label2: TLabel;
LbDelphiVersion: TLabel;
EdDV: TComboBox;
Ck64bit: TCheckBox;
Label3: TLabel;
LbInstallLog: TLabel;
BtnInstall: TBitBtn;
BtnExit: TBitBtn;
M: TRichEdit;
Expand Down

0 comments on commit ebcb051

Please sign in to comment.