Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #76  
Old 21-11-2015, 04:38
JRD!'s Avatar
JRD! JRD! is offline
Registered User
 
Join Date: Sep 2015
Location: Matrix
Posts: 274
Thanks: 225
Thanked 600 Times in 168 Posts
JRD! is on a distinguished road
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;
That answer your question?

Last edited by JRD!; 21-11-2015 at 04:45.
Reply With Quote
Sponsored Links
  #77  
Old 21-11-2015, 05:48
ShadowEagle's Avatar
ShadowEagle ShadowEagle is offline
Registered User
 
Join Date: Dec 2014
Location: Wonderland
Posts: 138
Thanks: 18
Thanked 21 Times in 18 Posts
ShadowEagle is on a distinguished road
No, i only want to remove that the app folder will be deleted if a isdone error will happen.
Reply With Quote
  #78  
Old 21-11-2015, 05:59
JRD!'s Avatar
JRD! JRD! is offline
Registered User
 
Join Date: Sep 2015
Location: Matrix
Posts: 274
Thanks: 225
Thanked 600 Times in 168 Posts
JRD! is on a distinguished road
Quote:
Originally Posted by ShadowEagle View Post
No, i only want to remove that the app folder will be deleted if a isdone error will happen.
Did you try to modify the code in the UltraArc module in the section CurStepChanged ?

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.
Reply With Quote
  #79  
Old 21-11-2015, 06:53
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 696 Times in 191 Posts
rinaldo is on a distinguished road
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.
Reply With Quote
  #80  
Old 21-11-2015, 07:46
Newbie's Avatar
Newbie Newbie is offline
Registered User
 
Join Date: Sep 2012
Location: Croatia
Posts: 81
Thanks: 112
Thanked 13 Times in 11 Posts
Newbie is on a distinguished road
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!
Reply With Quote
  #81  
Old 21-11-2015, 08:13
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 696 Times in 191 Posts
rinaldo is on a distinguished road
Quote:
Newbie
yes ... copy codex installer, it was made a request on the forum and I did the script

=>

Last edited by rinaldo; 21-11-2015 at 08:17.
Reply With Quote
The Following User Says Thank You to rinaldo For This Useful Post:
Newbie (21-11-2015)
  #82  
Old 21-11-2015, 09:49
ShadowEagle's Avatar
ShadowEagle ShadowEagle is offline
Registered User
 
Join Date: Dec 2014
Location: Wonderland
Posts: 138
Thanks: 18
Thanked 21 Times in 18 Posts
ShadowEagle is on a distinguished road
JRD!:

Yes, but doesn`t work. Don`t know why. The messages

Quote:
MemoExecute:='Scanning files...' + #13#10 +
'Rolling back changes...' + #13#10 +
won`t be displayed.

I want this:

If isdonerror will happen, there should be shown "Error!" in the Memolist and no roleback shout be done.
Reply With Quote
  #83  
Old 21-11-2015, 11:00
JRD!'s Avatar
JRD! JRD! is offline
Registered User
 
Join Date: Sep 2015
Location: Matrix
Posts: 274
Thanks: 225
Thanked 600 Times in 168 Posts
JRD! is on a distinguished road
Quote:
Originally Posted by ShadowEagle View Post
JRD!:

Yes, but doesn`t work. Don`t know why. The messages



won`t be displayed.

I want this:

If isdonerror will happen, there should be shown "Error!" in the Memolist and no roleback shout be done.
1) Edit the text in the 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;
2) Change the code of the main file as shown below:

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;
3) I would tend to this:

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;
Main file:

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?
Reply With Quote
  #84  
Old 21-11-2015, 11:07
JRD!'s Avatar
JRD! JRD! is offline
Registered User
 
Join Date: Sep 2015
Location: Matrix
Posts: 274
Thanks: 225
Thanked 600 Times in 168 Posts
JRD! is on a distinguished road
Quote:
Originally Posted by rinaldo View Post
New Installer by Inno Setup EE Type Skin (.cjstyles and VCL) First Version 1.0

Change log v 1.2
Group folder (stored in the directory is correct)
Dir Folder (elongated and moved + added a call for combobox)
Layered Transparency (Code moved .... the closure was faulty)
Desktop and MenuStart icon (Moved)



please .. posted only questions of malfunction or any improvements, but do not post questions about personal changes that not have time to waste for wishes
please .. posted only questions of malfunction or any improvements, but do not post questions about personal changes that not have time to waste for wishes

Because

- VclStylesInno.dll modified

- Add Windows10Dark.vsf

I delete no problem, just want to help make it closer to the original, clear?
Reply With Quote
  #85  
Old 21-11-2015, 12:06
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 696 Times in 191 Posts
rinaldo is on a distinguished road
Thumbs up

Quote:
JRD!

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.
Reply With Quote
  #86  
Old 21-11-2015, 13:28
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 696 Times in 191 Posts
rinaldo is on a distinguished road
Quote:
ShadowEagle
1) insert codeline to [Setup]
Code:
SetupLogging=yes
2) open %temp% and send me logfile

bat for move logfile:

@echo off
xcopy %temp%\Setup*.txt %USERPROFILE%\Desktop\LOG\

runtime error is error in bytecode
Attached Images
File Type: png Screenshot_1.png (29.1 KB, 495 views)

Last edited by rinaldo; 21-11-2015 at 14:03.
Reply With Quote
  #87  
Old 25-11-2015, 03:07
JRD!'s Avatar
JRD! JRD! is offline
Registered User
 
Join Date: Sep 2015
Location: Matrix
Posts: 274
Thanks: 225
Thanked 600 Times in 168 Posts
JRD! is on a distinguished road
Quote:
Originally Posted by rinaldo View Post
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
Ok sorry I misunderstood
Reply With Quote
The Following User Says Thank You to JRD! For This Useful Post:
rinaldo (25-11-2015)
  #88  
Old 13-12-2015, 07:54
ShadowEagle's Avatar
ShadowEagle ShadowEagle is offline
Registered User
 
Join Date: Dec 2014
Location: Wonderland
Posts: 138
Thanks: 18
Thanked 21 Times in 18 Posts
ShadowEagle is on a distinguished road
What line i`ve to add into script for using password protected FreeARC archives? Greetz







Reply With Quote
  #89  
Old 13-12-2015, 12:21
Lucas65 Lucas65 is offline
Registered User
 
Join Date: Nov 2015
Location: Italy
Posts: 59
Thanks: 110
Thanked 23 Times in 15 Posts
Lucas65 is on a distinguished road
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.
Reply With Quote
  #90  
Old 08-02-2016, 23:03
taporocrufeljan taporocrufeljan is offline
Registered User
 
Join Date: Jun 2013
Location: davao
Posts: 2
Thanks: 2
Thanked 0 Times in 0 Posts
taporocrufeljan is on a distinguished road
hi Guys! I'm having error when i'm compiling it.
i dunno what to do.
thanks in advance.
please help.
Attached Images
File Type: png codex inno.png (53.1 KB, 362 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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



All times are GMT -7. The time now is 06:40.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com