Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Files]
- Source: "EULA_ANSI.txt"; DestDir: "{tmp}"; Flags: dontcopy nocompression
- [Code]
- function InitializeSetup: Boolean;
- var
- EULAText: AnsiString;
- begin
- Result := not WizardSilent;
- if not Result then
- begin
- ExtractTemporaryFile('EULA_ANSI.TXT');
- if LoadStringFromFile(ExpandConstant('{tmp}\EULA_ANSI.txt'), EULAText) then
- Result := MsgBox(EULAText, mbConfirmation, MB_YESNO) = IDYES
- else
- MsgBox('Unable to display EULA.' + #13#10 + #13#10 + 'Installation terminated!', mbCriticalError, MB_OK);
- end;
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement