kingshady,
nazbek010,
[SOURCE="inno"][Setup]
AppName=My Application
AppVersion=1.5
DefaultDirName={pf}\My Application
SolidCompression=yes
Compression=lzma/ultra
PrivilegesRequired=none
OutputDir=userdocs:Inno Setup Examples Output
[Components]
Name: text; Description: Язык интерфейса:; Types: full; Flags: fixed;
Name: text\rus; Description: Русский; Flags: exclusive;
Name: text\eng; Description: Английский; Flags: exclusive;
[Registry]
Root: HKLM; SubKey: SOFTWARE\CAPCOM\RERC; ValueType: string; ValueName: locale; ValueData: 1049; Components: text\rus; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: CheckError
Root: HKLM; SubKey: SOFTWARE\CAPCOM\RERC; ValueType: string; ValueName: locale; ValueData: 1033; Components: text\eng; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: CheckError[/source]
AppName=My Application
AppVersion=1.5
DefaultDirName={pf}\My Application
SolidCompression=yes
Compression=lzma/ultra
PrivilegesRequired=none
OutputDir=userdocs:Inno Setup Examples Output
[Components]
Name: text; Description: Язык интерфейса:; Types: full; Flags: fixed;
Name: text\rus; Description: Русский; Flags: exclusive;
Name: text\eng; Description: Английский; Flags: exclusive;
[Registry]
Root: HKLM; SubKey: SOFTWARE\CAPCOM\RERC; ValueType: string; ValueName: locale; ValueData: 1049; Components: text\rus; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: CheckError
Root: HKLM; SubKey: SOFTWARE\CAPCOM\RERC; ValueType: string; ValueName: locale; ValueData: 1033; Components: text\eng; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: CheckError[/source]
[SOURCE="inno"] procedure CancelButtonOnClick(Sender: TObject);
begin
SuspendProc;
MyExitMessage();
if MyExit.ShowModal() = mryes then ISDoneCancel:=1;
ResumeProc;
end;
MyCancelButton.OnClick := @CancelButtonOnClick;[/source]
begin
SuspendProc;
MyExitMessage();
if MyExit.ShowModal() = mryes then ISDoneCancel:=1;
ResumeProc;
end;
MyCancelButton.OnClick := @CancelButtonOnClick;[/source]
Последнее редактирование: