|
#76
|
||||
|
||||
|
Juste modify CurStepChanged section on 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;
// MemoExecute:='Scanning files...' + #13#10 +
// 'Rolling back changes...' + #13#10 +
// 'Error!';
// MemoIsdoneList.Lines.Add(MemoExecute);
// UnBtn.Enabled:=False;
// Exec2(ExpandConstant('{uninstallexe}'), '/VERYSILENT', false);
// DelTree(ExpandConstant('{app}'), True, True, True);
// end;
end;
Last edited by JRD!; 21-11-2015 at 04:45. |
| Sponsored Links |
|
#77
|
||||
|
||||
|
No, i only want to remove that the app folder will be deleted if a isdone error will happen.
|
|
#78
|
||||
|
||||
|
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;
MemoExecute:='Scanning files...' + #13#10 +
'Rolling back changes...' + #13#10 +
'Error!';
MemoIsdoneList.Lines.Add(MemoExecute);
UnBtn.Enabled:=False;
// Exec2(ExpandConstant('{uninstallexe}'), '/VERYSILENT', false);
// DelTree(ExpandConstant('{app}'), True, True, True);
end;
end;
Last edited by JRD!; 21-11-2015 at 06:07. |
|
#79
|
||||
|
||||
|
just create a .ini file and tell him what to delete and what not
or ex: Code:
[UninstallDelete]
Type: files; Name: {app}\bla
Type: filesandordirs; Name: {app}\bla bla
Type: dirifempty; Name: {app}\bla bla bla
Last edited by rinaldo; 21-11-2015 at 07:08. |
|
#80
|
||||
|
||||
|
That installer design looks so similar to others I already saw this year, even if I don't use inno anymore (I like other program more), I always liked seeing unique setup designs, but that is just my opinion of course.
But nevertheless users also love to have sth simple, who doesn't. For .cjstyles style I would recommend Trinium, I think that's the name of it (available with inno ultra iirc), and for vcl style CobaltXEMedia, I liked it the most while using inno. And of course: Great Work rinaldo! |
|
#81
|
||||
|
||||
|
Quote:
=> Last edited by rinaldo; 21-11-2015 at 08:17. |
| The Following User Says Thank You to rinaldo For This Useful Post: | ||
Newbie (21-11-2015) | ||
|
#82
|
||||
|
||||
|
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. |
|
#83
|
||||
|
||||
|
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? |
|
#84
|
||||
|
||||
|
Quote:
Because - VclStylesInno.dll modified - Add Windows10Dark.vsf I delete no problem, just want to help make it closer to the original, clear? |
|
#85
|
||||
|
||||
|
Quote:
o no no no message nor for you is for me, i can not edit my scripts always .. you can post what you want and I thank you for this friend Windows10Dark.vsf is Good Thanks fo you support
Last edited by rinaldo; 21-11-2015 at 12:12. |
|
#86
|
||||
|
||||
|
Quote:
Code:
SetupLogging=yes bat for move logfile: @echo off xcopy %temp%\Setup*.txt %USERPROFILE%\Desktop\LOG\ runtime error is error in bytecode Last edited by rinaldo; 21-11-2015 at 14:03. |
|
#87
|
||||
|
||||
|
Quote:
|
| The Following User Says Thank You to JRD! For This Useful Post: | ||
rinaldo (25-11-2015) | ||
|
#88
|
||||
|
||||
|
What line i`ve to add into script for using password protected FreeARC archives? Greetz
|
|
#89
|
|||
|
|||
|
Hello Rinaldo. Thank you so much for the script: a simple, yet elegant. Really nice!
I would have a problem though with the decompression of files created with the method reflate in the compressor created by Felice. I followed these steps: added the string in arc.ini "unpackcmd = reflate -restore123 $$arcpackedfile$$.tmp $$arcdatafile$$.tmp"; added in the script "UltraArc.iss" files precomp.exe, reflate.exe, raw2hif.exe, rawdet.exe and rawrest.exe but installation me two errors: ![]() ![]() Any idea to solve the problem? Ciao Rinaldo. Grazie mille per lo script: semplice e allo stesso tempo elegante. Veramente bello! Avrei un problema perņ con la decompressione di file creati con il metodo reflate presente nel compressore creato da Felice. Io ho seguito questi passaggi: aggiunto la stringa in arc.ini "unpackcmd = reflate -restore123 $$arcpackedfile$$.tmp $$arcdatafile$$.tmp"; aggiunto nello script "UltraArc.iss" i file precomp.exe, reflate.exe, raw2hif.exe, rawdet.exe e rawrest.exe ma l'installazione mi da quei due errori in successione Hai qualche idea per risolvere il problema? Io ci sto provando ma non capisco l'inghippo. |
|
#90
|
|||
|
|||
|
hi Guys! I'm having error when i'm compiling it.
i dunno what to do. thanks in advance. please help. ![]()
|
![]() |
|
|
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 |