Цитата tiger30:
Чтобы устанавливался только тот компонент, которого выбрали. »
|
Скрытый текст
Код:
[Files]
Source: "E:\Lang\fre\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs overwritereadonly uninsremovereadonly; Components:"fre"
Source: "E:\Lang\ita\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs overwritereadonly uninsremovereadonly; Components:"ita"
Source: "E:\SOURCE\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs overwritereadonly uninsremovereadonly
Source: E:\Lang\fre\source\fre1.txt; DestDir: {app}\Lang; Attribs: readonly; Flags: ignoreversion recursesubdirs createallsubdirs overwritereadonly uninsremovereadonly; Components:"fre"
Source: E:\Lang\fre\source\fre2.txt; DestDir: {app}\Lang\2\; Attribs: readonly; Flags: ignoreversion recursesubdirs createallsubdirs overwritereadonly uninsremovereadonly; Components:"fre"
Source: E:\Lang\ita\source\ita1.txt; DestDir: {app}\Lang; Attribs: readonly; Flags: ignoreversion recursesubdirs createallsubdirs overwritereadonly uninsremovereadonly; Components:"ita"
Source: E:\Lang\ita\source\ita2.txt; DestDir: {app}\Lang\2\; Attribs: readonly; Flags: ignoreversion recursesubdirs createallsubdirs overwritereadonly uninsremovereadonly; Components:"ita"
[Components]
Name: "eng"; Description: "English version"; Flags: exclusive checkablealone disablenouninstallwarning
Name: "fre"; Description: "Francais (french)"; Flags: exclusive checkablealone disablenouninstallwarning
Name: "ita"; Description: "Italiano (Italian)"; Flags: exclusive checkablealone disablenouninstallwarning
Ниже в примере отметил красным жирным шрифтом как это выглядит.
Пример
Код:
[Components]
Name: Component1; Description: Component 1
Name: Component2; Description: Component 2
Name: Component3; Description: Component 2
[Files]
Source: C:\Component 1\*; DestDir: {app}\Component 1; Flags: recursesubdirs createallsubdirs; Components: Component1
Source: C:\Component 2\*; DestDir: {app}\Component 2; Flags: recursesubdirs createallsubdirs; Components: Component2
Source: C:\Component 3\*; DestDir: {app}\Component 3; Flags: recursesubdirs createallsubdirs; Components: Component3
И ещё:
tiger30, Вам
сюда.