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
  #1  
Old 05-12-2016, 00:29
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Thank you razor, i thought it should be set in cls.ini
Reply With Quote
Sponsored Links
  #2  
Old 05-12-2016, 04:09
nizcoz nizcoz is offline
Registered User
 
Join Date: Apr 2016
Location: argentina
Posts: 53
Thanks: 2
Thanked 1 Time in 1 Post
nizcoz is on a distinguished road
1) How to add a message at the finish of the ¨Cancel while installing¨?? ¨the installation was succefully aborted¨

2) How to resize the uninstall`s WizardSmallBitmapImage to Left := ScaleX(0);
Width := ScaleX(500);
Height := ScaleY(60);

3) How to add timeelapsed, porcentage, etc to install and uninstall pages?

Thanks!!!

PD: sorry, bad english.
Reply With Quote
  #3  
Old 05-12-2016, 10:56
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,223 Times in 2,312 Posts
Razor12911 is on a distinguished road
1) if isdone was not used, meaning if you rely on internal installation, i don't think that's possible.
2)
procedure InitializeUninstallProgressForm;
begin
with UninstallProgressForm.WizardSmallBitmapImage do
begin
left...
Width...
end;
end;
3) add labels, apply math, add a counter for the elapsed time x (100 - current progress), use a timer to update labels.

Last edited by Razor12911; 05-12-2016 at 10:59.
Reply With Quote
  #4  
Old 05-12-2016, 11:18
nizcoz nizcoz is offline
Registered User
 
Join Date: Apr 2016
Location: argentina
Posts: 53
Thanks: 2
Thanked 1 Time in 1 Post
nizcoz is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
1) if isdone was not used, meaning if you rely on internal installation, i don't think that's possible.
2)
procedure InitializeUninstallProgressForm;
begin
with UninstallProgressForm.WizardSmallBitmapImage do
begin
left...
Width...
end;
end;
3) add labels, apply math, add a counter for the elapsed time x (100 - current progress), use a timer to update labels.
2) How define the bmp file? i wish that uninstaller shows the same that the installer. The installer show the bmp file with this size.

3) A simple example? with seconds and porcentage? it`s possible?

Thanks a lot!
Reply With Quote
  #5  
Old 14-03-2017, 01:38
Viper645 Viper645 is offline
Banned
 
Join Date: Feb 2017
Location: The Gaming World
Posts: 61
Thanks: 28
Thanked 3 Times in 3 Posts
Viper645 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
1) if isdone was not used, meaning if you rely on internal installation, i don't think that's possible.
2)
procedure InitializeUninstallProgressForm;
begin
with UninstallProgressForm.WizardSmallBitmapImage do
begin
left...
Width...
end;
end;
3) add labels, apply math, add a counter for the elapsed time x (100 - current progress), use a timer to update labels.
Will you please check your PM please?
Reply With Quote
  #6  
Old 24-03-2017, 03:30
nizcoz nizcoz is offline
Registered User
 
Join Date: Apr 2016
Location: argentina
Posts: 53
Thanks: 2
Thanked 1 Time in 1 Post
nizcoz is on a distinguished road
Quote:
Originally Posted by Viper645 View Post
Will you please check your PM please?
I do not have messages.
Reply With Quote
  #7  
Old 10-12-2016, 14:11
nizcoz nizcoz is offline
Registered User
 
Join Date: Apr 2016
Location: argentina
Posts: 53
Thanks: 2
Thanked 1 Time in 1 Post
nizcoz is on a distinguished road
Hi! How to add the function of TotalSpace, freeSpace, NeedSpace to a readypage??

Last edited by nizcoz; 11-12-2016 at 05:56.
Reply With Quote
  #8  
Old 26-12-2016, 13:04
nizcoz nizcoz is offline
Registered User
 
Join Date: Apr 2016
Location: argentina
Posts: 53
Thanks: 2
Thanked 1 Time in 1 Post
nizcoz is on a distinguished road
What characteristics are required for an avi file with Inno Media Player? Because a particular avi file works ok, but with another video file, it doesn't work.

Last edited by nizcoz; 26-12-2016 at 22:36.
Reply With Quote
  #9  
Old 27-12-2016, 06:38
nizcoz nizcoz is offline
Registered User
 
Join Date: Apr 2016
Location: argentina
Posts: 53
Thanks: 2
Thanked 1 Time in 1 Post
nizcoz is on a distinguished road
Quote:
Originally Posted by nizcoz View Post
What characteristics are required for an avi file with Inno Media Player? Because a particular avi file works ok, but with another video file, it doesn't work.
Solved.
Reply With Quote
  #10  
Old 24-03-2017, 00:47
sanujsahu sanujsahu is offline
Registered User
 
Join Date: Feb 2017
Location: India
Posts: 6
Thanks: 2
Thanked 2 Times in 2 Posts
sanujsahu is on a distinguished road
Bro how to make your own design innovative script
Reply With Quote
  #11  
Old 24-03-2017, 03:32
nizcoz nizcoz is offline
Registered User
 
Join Date: Apr 2016
Location: argentina
Posts: 53
Thanks: 2
Thanked 1 Time in 1 Post
nizcoz is on a distinguished road
How to decompress an arc file with password when i use a isdone (ini) script? (by dante1995)
Reply With Quote
  #12  
Old 24-03-2017, 03:58
-XCX-'s Avatar
-XCX- -XCX- is offline
Registered User
 
Join Date: Nov 2016
Location: In Any Planet
Posts: 60
Thanks: 121
Thanked 92 Times in 23 Posts
-XCX- is on a distinguished road
Quote:
Originally Posted by nizcoz View Post
How to decompress an arc file with password when i use a isdone (ini) script? (by dante1995)
if not ISArcExtract ( 0, 100, ExpandConstant('{src}\data.bin), ExpandConstant('{app}\'), '', false, '{#PasswordHere}', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
Reply With Quote
  #13  
Old 24-03-2017, 05:19
nizcoz nizcoz is offline
Registered User
 
Join Date: Apr 2016
Location: argentina
Posts: 53
Thanks: 2
Thanked 1 Time in 1 Post
nizcoz is on a distinguished road
Quote:
Originally Posted by -XCX- View Post
if not ISArcExtract ( 0, 100, ExpandConstant('{src}\data.bin), ExpandConstant('{app}\'), '', false, '{#PasswordHere}', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
@-XCX-

In this code http://ww2.fileforums.com/showthread.php?t=96170 (see ISDone v0.6 lite (ini), it is not the classic isdone, it is a custom isdone (dante1995)) . There is not a line of code like that where to replace what you say.
Reply With Quote
  #14  
Old 24-03-2017, 07:02
-XCX-'s Avatar
-XCX- -XCX- is offline
Registered User
 
Join Date: Nov 2016
Location: In Any Planet
Posts: 60
Thanks: 121
Thanked 92 Times in 23 Posts
-XCX- is on a distinguished road
Quote:
Originally Posted by nizcoz View Post
@-XCX-

In this code http://ww2.fileforums.com/showthread.php?t=96170 (see ISDone v0.6 lite (ini), it is not the classic isdone, it is a custom isdone (dante1995)) . There is not a line of code like that where to replace what you say.
paste this
if ISDoneInit(ExpandConstant('{tmp}\records.inf'), $F777, 0,0,0, MainForm.Handle, 512, @ProgressCallback) then begin
repeat

case ActiveLanguage of
'en': ChangeLanguage('English');
'it': ChangeLanguage('Italian');
end;

if not SrepInit('',512,0) then ISDoneError := True;
if not PrecompInit('',128,0) then ISDoneError := True;
if not FileSearchInit(true) then ISDoneError := True;
i:=1;
if (GetIniString('FreearcFile' + IntToStr(i),'Archive','',ExpandConstant('{tmp}\Set up.ini')) <> '') then
begin
SetArrayLength(Arc1,4);
SetArrayLength(Arc2,4);
repeat
Arc1[0]:=ExpandConstant(GetIniString('FreearcFile' + IntToStr(i),'Archive','',ExpandConstant('{tmp}\Set up.ini')));
Arc1[1]:=ExpandConstant(GetIniString('FreearcFile' + IntToStr(i),'Output','',ExpandConstant('{tmp}\Setu p.ini')));
Arc1[2]:=ExpandConstant(GetIniString('FreearcFile' + IntToStr(i),'Disk','1',ExpandConstant('{tmp}\Setup .ini')));
Arc1[3]:=GetIniString('FreearcFile' + IntToStr(i),'Password','',ExpandConstant('{tmp}\Se tup.ini'));

if Arc1[0] <> '' then
begin
if not FileExists(Arc1[0]) then
begin
if MsgBox(SetupMessage(msgChangeDiskTitle) +' '+'( '+ Arc1[2]+' )', mbError, MB_OKCANCEL) = IDCANCEL then ISDoneError := True;
end else begin
if not ISArcExtract( 0, 0, Arc1[0], Arc1[1], '', false, 'edward', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then ISDoneError := True;

i:= i + 1;
end;
end;
until ((GetIniString('FreearcFile' + IntToStr(i),'Archive','',ExpandConstant('{tmp}\Set up.ini')) = '') or (ISDoneError = True));
end;
until true;
ISDoneStop;
end;
and
put
[FreearcFile1]
Archive={src}\data.arc
Output={app}
Disk=1
Password=herepassword
Reply With Quote
  #15  
Old 29-03-2017, 16:01
nizcoz nizcoz is offline
Registered User
 
Join Date: Apr 2016
Location: argentina
Posts: 53
Thanks: 2
Thanked 1 Time in 1 Post
nizcoz is on a distinguished road
Quote:
Originally Posted by -XCX- View Post
paste this
if ISDoneInit(ExpandConstant('{tmp}\records.inf'), $F777, 0,0,0, MainForm.Handle, 512, @ProgressCallback) then begin
repeat

case ActiveLanguage of
'en': ChangeLanguage('English');
'it': ChangeLanguage('Italian');
end;

if not SrepInit('',512,0) then ISDoneError := True;
if not PrecompInit('',128,0) then ISDoneError := True;
if not FileSearchInit(true) then ISDoneError := True;
i:=1;
if (GetIniString('FreearcFile' + IntToStr(i),'Archive','',ExpandConstant('{tmp}\Set up.ini')) <> '') then
begin
SetArrayLength(Arc1,4);
SetArrayLength(Arc2,4);
repeat
Arc1[0]:=ExpandConstant(GetIniString('FreearcFile' + IntToStr(i),'Archive','',ExpandConstant('{tmp}\Set up.ini')));
Arc1[1]:=ExpandConstant(GetIniString('FreearcFile' + IntToStr(i),'Output','',ExpandConstant('{tmp}\Setu p.ini')));
Arc1[2]:=ExpandConstant(GetIniString('FreearcFile' + IntToStr(i),'Disk','1',ExpandConstant('{tmp}\Setup .ini')));
Arc1[3]:=GetIniString('FreearcFile' + IntToStr(i),'Password','',ExpandConstant('{tmp}\Se tup.ini'));

if Arc1[0] <> '' then
begin
if not FileExists(Arc1[0]) then
begin
if MsgBox(SetupMessage(msgChangeDiskTitle) +' '+'( '+ Arc1[2]+' )', mbError, MB_OKCANCEL) = IDCANCEL then ISDoneError := True;
end else begin
if not ISArcExtract( 0, 0, Arc1[0], Arc1[1], '', false, 'edward', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then ISDoneError := True;

i:= i + 1;
end;
end;
until ((GetIniString('FreearcFile' + IntToStr(i),'Archive','',ExpandConstant('{tmp}\Set up.ini')) = '') or (ISDoneError = True));
end;
until true;
ISDoneStop;
end;
and
put
[FreearcFile1]
Archive={src}\data.arc
Output={app}
Disk=1
Password=herepassword
@-XCX- First, thanks for your answer, but not work. You wrote ¨if not ISArcExtract( 0, 0, Arc1[0], Arc1[1], '', false, 'edward', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then ISDoneError := True;¨ . Could you check what's wrong? Thanks!
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
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup REV0 Conversion Tutorials 129 21-05-2021 05:51
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 06:57
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 09:48



All times are GMT -7. The time now is 10:34.


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