|
|
|
#1
|
||||
|
||||
|
JRD!:
Yes, but doesn`t work. Don`t know why. The messages Quote:
I want this: If isdonerror will happen, there should be shown "Error!" in the Memolist and no roleback shout be done. |
| Sponsored Links |
|
#2
|
||||
|
||||
|
Quote:
Code:
procedure CurStepChanged(CurStep: TSetupStep);
begin
if (CurStep = ssInstall) and FileExists(ExpandConstant('{src}\records.ini')) then
UltraARC_Process;
if (CurStep=ssPostInstall) and ISDoneError then begin
MemoIsdoneList.clear;
MemoIsdoneList.Lines.Add('An error has occurred!');
UnBtn.Enabled:=False;
// Exec2(ExpandConstant('{uninstallexe}'), '/VERYSILENT', false);
// DelTree(ExpandConstant('{app}'), True, True, True);
end;
end;
Code:
if (CurPageID = wpFinished) then begin IconDesktop.Enabled:=False; StartMenu.Enabled:=False; Soft.Enabled:=False; DrivesComboBox.Enabled:=False; //MemoExecute:=+ #13#10 +'Finished Installation...' + #13#10 + //'Done!'; //MemoIsdoneList.Lines.Add(MemoExecute); UnBtn.Show; WizardForm.GroupEdit.Enabled:=False; WizardForm.GroupBrowseButton.Enabled:=False; WizardForm.DirEdit.Enabled:=False; WizardForm.DirBrowseButton.Enabled:=false; if ISDoneError = False then begin WizardForm.ClientHeight:=604; FInstallationLbl.Caption := 'Installation Successfully'; FInstallationLbl.Left:=105; FInstallationLbl.Font.Color := $0032CD32; end else begin FInstallationLbl.Caption := 'Installation Failed'; FInstallationLbl.Font.Color := $000000FF; WizardForm.ClientHeight:=604; end; end; UltraArc module: Code:
procedure CurStepChanged(CurStep: TSetupStep);
begin
if (CurStep = ssInstall) and FileExists(ExpandConstant('{src}\records.ini')) then
UltraARC_Process;
if (CurStep=ssPostInstall) and ISDoneError then begin
// MemoIsdoneList.clear;
// MemoIsdoneList.Lines.Add('An error has occurred!');
UnBtn.Enabled:=False;
// Exec2(ExpandConstant('{uninstallexe}'), '/VERYSILENT', false);
// DelTree(ExpandConstant('{app}'), True, True, True);
end;
end;
Code:
if (CurPageID = wpFinished) then
begin
IconDesktop.Enabled:=False;
StartMenu.Enabled:=False;
Soft.Enabled:=False;
DrivesComboBox.Enabled:=False;
UnBtn.Show;
WizardForm.GroupEdit.Enabled:=False;
WizardForm.GroupBrowseButton.Enabled:=False;
WizardForm.DirEdit.Enabled:=False;
WizardForm.DirBrowseButton.Enabled:=false;
if ISDoneError = False then begin
WizardForm.ClientHeight:=604;
MemoIsdoneList.clear;
MemoIsdoneList.Lines.Add('Finished Installation...' + #13#10 + 'Done!');
FInstallationLbl.Caption := 'Installation Successfully';
FInstallationLbl.Left:=105;
FInstallationLbl.Font.Color := $0032CD32;
end else begin
MemoIsdoneList.clear;
MemoIsdoneList.Lines.Add('An error has occurred!');
FInstallationLbl.Caption := 'Installation Failed';
FInstallationLbl.Font.Color := $000000FF;
WizardForm.ClientHeight:=604;
end;
end;
![]() ![]() That answer your question? |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Conversion Designer/Installer Creator | Razor12911 | Conversion Tutorials | 1613 | 03-10-2024 01:24 |
| altef_4's installer | altef_4 | Conversion Tutorials | 244 | 24-05-2024 22:20 |
| Game Installer Designer by altef_4 | altef_4 | Conversion Tutorials | 236 | 28-05-2021 02:54 |
| Crysis 3 DVD9 to 3xDVD5 Custom Installer | spawniectes | PC Games - CD/DVD Conversions | 79 | 31-08-2017 07:19 |
| Tutorial using CI 8.0.0 | yener90 | Conversion Tutorials | 424 | 21-10-2014 09:49 |