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
  #721  
Old 09-09-2013, 18:18
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
total progress is 100, so just split the current process.
Reply With Quote
Sponsored Links
  #722  
Old 09-09-2013, 18:23
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
Quote:
Originally Posted by Razor12911 View Post
total progress is 100, so just split the current process.
Sure dude but it's not working for me this time.
Reply With Quote
  #723  
Old 09-09-2013, 19:29
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
I see, ISExec progress percentage don't want to work.
I also don't know how to use records.inf.

But I have a solution to this.

don't set progress for all archives, leave it to zero

add this

Var
ArcInt: integer;

begin
ArcInt:=3 //defines the number of archives involved in process.

ISDoneProgressBar1.Max:= ISDoneProgressBar1.Max * ArcInt
end;

Put these lines under procedure CurStepChanged(CurStep: TSetupStep);
Reply With Quote
  #724  
Old 09-09-2013, 19:34
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
Can you please explain what these codes can do to the overall progress?
Reply With Quote
  #725  
Old 09-09-2013, 20:03
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
post your entire CurStepChanged procedure.
Reply With Quote
  #726  
Old 09-09-2013, 21:15
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
Quote:
Originally Posted by Razor12911 View Post
post your entire CurStepChanged procedure.
procedure CurStepChanged(CurStep: TSetupStep);

var Comps1,Comps2,Comps3, TmpValue:cardinal;
FindHandle1,ColFiles1,CurIndex1,tmp:integer;
ExecError:boolean;
InFilePath,OutFilePath,OutFileName:PAnsiChar;
begin
if CurStep = ssInstall then begin
CheckTasks;
WizardForm.ProgressGauge.Hide;
WizardForm.CancelButton.Hide;
CreateControls;
WizardForm.StatusLabel.Caption:=ExpandConstant('{c m:Extracted}');
ISDoneCancel:=0;
ExtractTemporaryFile('CallbackCtrl.dll');
InitWin7TaskBar;
ExtractTemporaryFile('unarc.dll');
Reply With Quote
  #727  
Old 09-09-2013, 21:47
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
procedure CurStepChanged(CurStep: TSetupStep);

var Comps1,Comps2,Comps3, TmpValue:cardinal;
FindHandle1,ColFiles1,CurIndex1,tmp:integer;
ExecError:boolean;
InFilePath,OutFilePath,OutFileName:PAnsiChar;
ArcInt: integer;
begin
if CurStep = ssInstall then begin
CheckTasks;
WizardForm.ProgressGauge.Hide;
WizardForm.CancelButton.Hide;
CreateControls;
WizardForm.StatusLabel.Caption:=ExpandConstant('{c m:Extracted}');
ISDoneCancel:=0;
ExtractTemporaryFile('CallbackCtrl.dll');
InitWin7TaskBar;
ExtractTemporaryFile('unarc.dll');
ArcInt:=3 //defines the number of archives involved in process, You can use {#ArcNumber}.
ISDoneProgressBar1.Max:= ISDoneProgressBar1.Max * ArcInt
Reply With Quote
  #728  
Old 09-09-2013, 21:54
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
Got this error when installation starts:
Attached Images
File Type: jpg 9-10-2013 7-54-07 AM.jpg (19.2 KB, 148 views)
Reply With Quote
  #729  
Old 09-09-2013, 22:02
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
fix this

ExpandConstant('{c m:Extracted}');

space of cm in between

to this

ExpandConstant('{cm:Extracted}');
Reply With Quote
  #730  
Old 09-09-2013, 22:04
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
Each ArcInt i set represent a full 100% bar
i mean if i set it to 3 i get 300%.
should i enable records?

Last edited by danswano; 09-09-2013 at 22:06.
Reply With Quote
  #731  
Old 09-09-2013, 22:06
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
yep. totally. will go offline. going to attend my classes.
Reply With Quote
  #732  
Old 09-09-2013, 22:07
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
Quote:
Originally Posted by Razor12911 View Post
yep. totally. will go offline. going to attend my classes.
Catch you later
Reply With Quote
  #733  
Old 10-09-2013, 17:22
kashifagaria kashifagaria is offline
Registered User
 
Join Date: Sep 2012
Location: pakistan
Posts: 5
Thanks: 0
Thanked 2 Times in 1 Post
kashifagaria is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
45% complete

now, you can load jpg or bmp and png, re-arrange all you want,

create quick conversions

test attachment added

Requesting language translators...

it's kinda funny, that all of this is been created just by using inno setup and nothing else,

Select Backgrounds under Autorun Interface Select tab standard configuration to load a simple file .jpg, Select tab advanced configuration to load a folder which has autorun#.jpg, Select tab expert configuration to load bmp and png image.
this Designer for download
Reply With Quote
  #734  
Old 10-09-2013, 20:10
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Not Complete yet
Link
Reply With Quote
  #735  
Old 12-09-2013, 00:22
inovateqsa inovateqsa is offline
Registered User
 
Join Date: Oct 2011
Location: South Africa
Posts: 30
Thanks: 8
Thanked 1 Time in 1 Post
inovateqsa is on a distinguished road
@Pakrat:

After Removing the "Precsrep:1" and adding "Precompver=inside" to the "[InstallOptions]" section of the Setup.ini, I now get the Following error:

"Srep:
Not an Srep Compressed File"

Then,

"An error occurred while unpacking!
Unarc.dll returned an error code: -1
ERROR: archive data corrupted (decompression fails)"

The first error is weird, because you can see the batch file i used to compress clearly uses srep (I also have the srep.exe in the same folder as the .bat file while compressing).

The second error makes no sense, as I have tried compressing multiple times, the odds of all of them being corrupted are almost nil.

I should probably add that this is the first time I am using external compression in innosetup, up till now I have only used internal (The second disc for R.A Uprising is only 18mb, so It would really be a waste of a disc). Do you think I might have missed something?
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 00:11.


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