Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Setup]
- AppName=Image Presenter Project
- AppVersion=1.0
- DefaultDirName={pf}\Image Presenter Project
- [Code]
- function NeedRestart: Boolean;
- begin
- Result := True;
- end;
- procedure CurPageChanged(CurPageID: Integer);
- begin
- if not FileExists(ExpandConstant('{sd}\RebootFile.txt')) then
- WizardForm.FinishedLabel.Caption := 'RebootFile not found. Restart ?'
- else
- WizardForm.FinishedLabel.Caption := 'RebootFile was found. Restart ?';
- end;
Advertisement
Add Comment
Please, Sign In to add comment