|
|
|
#1
|
|||
|
|||
|
ISDone & Time Remaining
Hello, i have edited ISDone_Exemple.iss with the compressor i use, yes finally i have understand how it work lol... but for some reason, only elapsed time work, remaining shot nothinh and all elapsed also, someone can help me to correct that please?
Also, how do you define "arc archive as a component?" Code:
#ifdef Components
[Types]
Name: full; Description: Full installation; Flags: iscustom
[Components]
Name: text; Description: ßçûê ñóáòèòðîâ; Types: full; Flags: fixed
Name: text\rus; Description: Ðóññêèé; Flags: exclusive; ExtraDiskSpaceRequired: 100000000
Name: text\eng; Description: Àíãëèéñêèé; Flags: exclusive; ExtraDiskSpaceRequired: 200000000
Name: voice; Description: ßçûê îçâó÷êè; Types: full; Flags: fixed
Name: voice\rus; Description: Ðóññêèé; Flags: exclusive; ExtraDiskSpaceRequired: 500000000
Name: voice\eng; Description: Àíãëèéñêèé; Flags: exclusive; ExtraDiskSpaceRequired: 600000000
#endif
// Ïîäãîòàâëèâàåì ïåðåìåííóþ, ñîäåðæàùóþ âñþ èíôîðìàöèþ î âûäåëåííûõ êîìïîíåíòàõ äëÿ ISDone.dll
// ìàêñèìóì 96 êîìïîíåíòîâ.
Comps1:=0; Comps2:=0; Comps3:=0;
#ifdef Components
TmpValue:=1;
if IsComponentSelected('text\rus') then Comps1:=Comps1+TmpValue; //êîìïîíåíò 1
TmpValue:=TmpValue*2;
if IsComponentSelected('text\eng') then Comps1:=Comps1+TmpValue; //êîìïîíåíò 2
TmpValue:=TmpValue*2;
if IsComponentSelected('voice\rus') then Comps1:=Comps1+TmpValue; //êîìïîíåíò 3
TmpValue:=TmpValue*2;
if IsComponentSelected('voice\eng') then Comps1:=Comps1+TmpValue; //êîìïîíåíò 4
// .....
// ñì. ñïðàâêó
#endif
Last edited by Midnights; 26-10-2018 at 23:18. |
| Sponsored Links |
|
#2
|
||||
|
||||
|
@Midnights If your are using component then u have to run first and the records.inf for showing correct progress and remaining time and other reason is you are not value the ISARCEXTRACT means the second value should be any value, example
if not ISArcExtract ( 0, 100, ExpandConstant('{src}\data1.bin'), ExpandConstant('{app}'), '', false,(''), ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\temp-fileforums'), false) then break; |
|
#3
|
||||
|
||||
|
For three archives :
if not ISArcExtract ( 0, 60, ExpandConstant('{src}\data1.arc'), ExpandConstant('{app}\'), '', false, '',ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break; if not ISArcExtract ( 0, 30, ExpandConstant('{src}\data2.arc'), ExpandConstant('{app}\'), '', false, '',ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break; if not ISArcExtract ( 0, 10, ExpandConstant('{src}\data3.arc'), ExpandConstant('{app}\'), '', false, '',ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break; i hope now u understand |
|
#4
|
|||
|
|||
|
Why 60 30 10? also the timer not work with a single archive...
Ok for add line, but how make it selective and optionnal... as a component? |
|
#5
|
||||
|
||||
|
Quote:
and for component see the ISDONE complete example src which is available in krinkels (search for profrager's ISDONE) |
|
#6
|
|||
|
|||
|
Can you give me that? I can't register at krinkels because is russian...
|
|
#7
|
||||
|
||||
|
bottom left corner click the Russian (RU) and then select english or use google page translator
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| new tool | doofoo24 | Conversion Tutorials | 175 | 19-04-2026 05:38 |
| [Dev]XTool | Razor12911 | Conversion Tutorials | 180 | 23-10-2020 06:26 |
| GMT Time??? | FreeFighter | Chit Chat | 2 | 05-03-2004 11:50 |
| Time Limits on Demos question | Joephis19 | PC Games | 1 | 23-01-2004 23:03 |
| Backups boot first time only ... | Stringster | PS2 Games | 1 | 19-09-2003 03:28 |