FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   INNO TROUBLESHOOT - Questions Here (https://fileforums.com/showthread.php?t=93193)

Razor12911 09-09-2013 18:18

total progress is 100, so just split the current process.

danswano 09-09-2013 18:23

Quote:

Originally Posted by Razor12911 (Post 423096)
total progress is 100, so just split the current process.

Sure dude but it's not working for me this time.

Razor12911 09-09-2013 19:29

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);

danswano 09-09-2013 19:34

Can you please explain what these codes can do to the overall progress? :)

Razor12911 09-09-2013 20:03

post your entire CurStepChanged procedure.

danswano 09-09-2013 21:15

Quote:

Originally Posted by Razor12911 (Post 423100)
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');

Razor12911 09-09-2013 21:47

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

danswano 09-09-2013 21:54

1 Attachment(s)
Got this error when installation starts:

Razor12911 09-09-2013 22:02

fix this

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

space of cm in between

to this

ExpandConstant('{cm:Extracted}');

danswano 09-09-2013 22:04

Each ArcInt i set represent a full 100% bar
i mean if i set it to 3 i get 300%.
should i enable records?

Razor12911 09-09-2013 22:06

yep. totally. will go offline. going to attend my classes. :D

danswano 09-09-2013 22:07

Quote:

Originally Posted by Razor12911 (Post 423109)
yep. totally. will go offline. going to attend my classes. :D

Catch you later :D

kashifagaria 10-09-2013 17:22

Quote:

Originally Posted by Razor12911 (Post 418597)
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...:rolleyes:

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

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

Razor12911 10-09-2013 20:10

Not Complete yet
Link

inovateqsa 12-09-2013 00:22

@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?


All times are GMT -7. The time now is 07:48.

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