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
  #1246  
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
Sponsored Links
  #1247  
Old 29-03-2017, 19:12
bairagyakushal4 bairagyakushal4 is offline
Registered User
 
Join Date: May 2015
Location: India
Posts: 33
Thanks: 10
Thanked 0 Times in 0 Posts
bairagyakushal4 is on a distinguished road
How to add components like English lang Russian language in ISDone (ini) anyone know?
Reply With Quote
  #1248  
Old 29-03-2017, 23:38
ImmortalArc's Avatar
ImmortalArc ImmortalArc is offline
Registered User
 
Join Date: Nov 2016
Location: Santiago
Posts: 72
Thanks: 44
Thanked 9 Times in 4 Posts
ImmortalArc is on a distinguished road
Getting descriptor error CRC check error code 14 in inno setup what's the problem???
In arc extract using simply genrate d script
__________________
Sharing is caring : immortal words..
Reply With Quote
  #1249  
Old 30-03-2017, 04:04
78372 78372 is offline
Registered User
 
Join Date: Dec 2016
Location: Bangladesh
Posts: 650
Thanks: 772
Thanked 953 Times in 309 Posts
78372 is on a distinguished road
Quote:
Originally Posted by ImmortalArc View Post
Getting descriptor error CRC check error code 14 in inno setup what's the problem???
In arc extract using simply genrate d script
Can you tell actually which script?
__________________
NOT AVAILABLE
Reply With Quote
  #1250  
Old 30-03-2017, 04:29
ImmortalArc's Avatar
ImmortalArc ImmortalArc is offline
Registered User
 
Join Date: Nov 2016
Location: Santiago
Posts: 72
Thanks: 44
Thanked 9 Times in 4 Posts
ImmortalArc is on a distinguished road
Thats simply genrate inno script than I put code from wpi for inno
Even I tried other setup which requires data.arc but Same error on my pc why???
If extract that same data file with arc.exe it will extract but of i extract with inno it shows that error
Why??
It says archive header corrupt and CRC descriptor failed error code 14
__________________
Sharing is caring : immortal words..
Reply With Quote
  #1251  
Old 30-03-2017, 06:46
78372 78372 is offline
Registered User
 
Join Date: Dec 2016
Location: Bangladesh
Posts: 650
Thanks: 772
Thanked 953 Times in 309 Posts
78372 is on a distinguished road
May be you are using wrong version of unarc.dll
__________________
NOT AVAILABLE
Reply With Quote
  #1252  
Old 30-03-2017, 07:54
ImmortalArc's Avatar
ImmortalArc ImmortalArc is offline
Registered User
 
Join Date: Nov 2016
Location: Santiago
Posts: 72
Thanks: 44
Thanked 9 Times in 4 Posts
ImmortalArc is on a distinguished road
Have anybody got version .67 of freearc next setup if yes then please share here as
I don't think so
__________________
Sharing is caring : immortal words..
Reply With Quote
  #1253  
Old 30-03-2017, 08:36
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
Quote:
Originally Posted by ImmortalArc View Post
Have anybody got version .67 of freearc next setup if yes then please share here as
I don't think so
freearc itself ?
Attached Files
File Type: rar FreeArc-0.67-alpha-win32.rar (7.77 MB, 30 views)
Reply With Quote
  #1254  
Old 31-03-2017, 05:59
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 if i selected a determinate component (from components list) when i use a isdone (ini) script?? (custom ISDone by dante1995).
Reply With Quote
  #1255  
Old 31-03-2017, 21:36
78372 78372 is offline
Registered User
 
Join Date: Dec 2016
Location: Bangladesh
Posts: 650
Thanks: 772
Thanked 953 Times in 309 Posts
78372 is on a distinguished road
Quote:
Originally Posted by nizcoz View Post
How to decompress an arc file if i selected a determinate component (from components list) when i use a isdone (ini) script?? (custom ISDone by dante1995).
I don't have the script, but it should work like this

search for the line starting with "If not ISARCEXTRACT" in the code section. Before this line, add anoher line like this

if IsComponentSelected('ComponentName') then

after that the line starting with "If not ISARCEXTRACT" should be placed

I hope you understand
__________________
NOT AVAILABLE
Reply With Quote
The Following User Says Thank You to 78372 For This Useful Post:
Viper645 (01-04-2017)
  #1256  
Old 01-04-2017, 01:17
bairagyakushal4 bairagyakushal4 is offline
Registered User
 
Join Date: May 2015
Location: India
Posts: 33
Thanks: 10
Thanked 0 Times in 0 Posts
bairagyakushal4 is on a distinguished road
how to stop silent uninstall?

hey when i am rerunning the setup(after 1st time install it uninstalling the gme silently . how to stop this?
Attached Files
File Type: 7z script.7z (4.2 KB, 2 views)

Last edited by bairagyakushal4; 01-04-2017 at 03:35.
Reply With Quote
  #1257  
Old 01-04-2017, 04:35
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 78372 View Post
I don't have the script, but it should work like this

search for the line starting with "If not ISARCEXTRACT" in the code section. Before this line, add anoher line like this

if IsComponentSelected('ComponentName') then

after that the line starting with "If not ISARCEXTRACT" should be placed

I hope you understand


Thanks for answer but the code that i use is not the original ISDone, is the dante1995 version, ISDone(ini).



This is part of code (important):

ISDoneError:=false;
i:=1;
if (GetIniString('FreearcFile' + IntToStr(i),'Archive','',ExpandConstant('{tmp}\Set up.ini')) <> '') then
begin
WizardForm.ProgressGauge.Max:=0;
repeat
WizardForm.ProgressGauge.Max:= WizardForm.ProgressGauge.Max + 1000;
i:= i + 1;
until (GetIniString('FreearcFile' + IntToStr(i),'Archive','',ExpandConstant('{tmp}\Set up.ini')) = '');
end;
if ISDoneInit(ExpandConstant('{tmp}\records.inf'), $F777, 0,0,0, MainForm.Handle, 512, @ProgressCallback) then begin
repeat
ChangeLanguage('English');
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')));
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, Arc1[3], 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;
AllCancel;
HideControls;
WizardForm.ProgressGauge.Hide;
end;
if (CurStep=ssPostInstall) and ISDoneError then begin
Exec(ExpandConstant('{uninstallexe}'), '/SILENT','', sw_Hide, ewNoWait, ResultCode);
end;
end;



How to decompress an arc file if i selected a determinate component (from components list) when i use a isdone (ini) script??



And.... How to decompress 2 files but at a certain percentage each one? Similar to this but for my code (ISDone(ini) by dante1995):



if not ISArcExtract ( 0, 40, ExpandConstant('{src}\video1.arc'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;

if not ISArcExtract ( 0, 60, ExpandConstant('{src}\video2.arc'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;

Last edited by nizcoz; 01-04-2017 at 04:40.
Reply With Quote
  #1258  
Old 04-04-2017, 01:29
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
Anyone can help me? I'm a bit confused

Code:
[Registry]
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed(R) III\1.01"; Flags: uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed(R) III v1.02\1.02"; Flags: uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed(R) III v1.03\1.03"; Flags: uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed(R) III v1.04\1.04"; Flags: uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed(R) III v1.05\1.05"; Flags: uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed(R) III v1.06\1.06"; Flags: uninsdeletekeyifempty

Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3"; ValueName: "SKU"; ValueData: "DIGITAL"; ValueType: string; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3"; ValueName: "InstallDir"; ValueData: "{app}"; ValueType: string; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3"; ValueName: "Language"; ValueData: "English"; ValueType: string; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3"; ValueName: "Language"; ValueData: "French"; ValueType: string; Check: "Language('French')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3"; ValueName: "Language"; ValueData: "Italian"; ValueType: string; Check: "Language('Italian')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3"; ValueName: "Language"; ValueData: "German"; ValueType: string; Check: "Language('German')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3"; ValueName: "Language"; ValueData: "Spanish"; ValueType: string; Check: "Language('Spanish')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3"; ValueName: "Language"; ValueData: "Russian"; ValueType: string; Check: "Language('Russian')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3"; ValueName: "Language"; ValueData: "Polish"; ValueType: string; Check: "Language('Polish')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3"; ValueName: "Language"; ValueData: "ChineseTrad"; ValueType: string; Check: "Language('English')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3"; ValueName: "Language"; ValueData: "Hungarian"; ValueType: string; Check: "Language('English')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3"; ValueName: "Language"; ValueData: "Czech"; ValueType: string; Check: "Language('English')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3"; ValueName: "Language"; ValueData: "Dutch"; ValueType: string; Check: "Language('English')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3"; ValueName: "Language"; ValueData: "Danish"; ValueType: string; Check: "Language('English')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3"; ValueName: "Language"; ValueData: "Norwegian"; ValueType: string; Check: "Language('English')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3"; ValueName: "Language"; ValueData: "Swedish"; ValueType: string; Check: "Language('English')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3"; ValueName: "Language"; ValueData: "Portuguese"; ValueType: string; Check: "Language('English')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3"; ValueName: "Language"; ValueData: "Brazil"; ValueType: string; Check: "Language('English')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3"; ValueName: "Language"; ValueData: "Finnish"; ValueType: string; Check: "Language('English')"; Flags: uninsdeletevalue uninsdeletekeyifempty

Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3\GameUpdate"; ValueName: "execPath"; ValueData: "{app}\AC3SP.exe"; ValueType: string; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3\GameUpdate"; ValueName: "info"; ValueData: "fcc67c4a082f43f0ad2b33428a7ae9f7"; ValueType: string; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3\GameUpdate"; ValueName: "installdir"; ValueData: "{app}"; ValueType: string; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3\GameUpdate"; ValueName: "Language"; ValueData: "en"; ValueType: string; Check: "Language('English')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3\GameUpdate"; ValueName: "Language"; ValueData: "de"; ValueType: string; Check: "Language('German')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3\GameUpdate"; ValueName: "Language"; ValueData: "es"; ValueType: string; Check: "Language('Spanish')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3\GameUpdate"; ValueName: "Language"; ValueData: "fr"; ValueType: string; Check: "Language('French')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3\GameUpdate"; ValueName: "Language"; ValueData: "it"; ValueType: string; Check: "Language('Italian')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3\GameUpdate"; ValueName: "Language"; ValueData: "nl"; ValueType: string; Check: "Language('Dutch')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: "SOFTWARE\Ubisoft\Assassin's Creed 3\GameUpdate"; ValueName: "Language"; ValueData: "prbr"; ValueType: string; Check: "Language('PortugueseBR')"; Flags: uninsdeletevalue uninsdeletekeyifempty
Registry for "Rogue" is even with this, and there it works.

PS: If i remove ' character it works. But then the registry is useless. Even Rogue registry has this ' Character and there it works.

PSS: Someone knows how to use two checks? One for language, one for component (it only works for one, if i use two then it will not work).
Attached Images
File Type: png Unbenannt.png (26.9 KB, 118 views)
__________________
Haters gonna hate

Last edited by KaktoR; 04-04-2017 at 01:41.
Reply With Quote
  #1259  
Old 04-04-2017, 16:37
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
I always put check:Language('English'); at end of the line... same for all languages.

Flags: uninsdeletevalue uninsdeletekeyifempty; Check: Language('English');

Last edited by pakrat2k2; 04-04-2017 at 16:39.
Reply With Quote
  #1260  
Old 04-04-2017, 22:08
ImmortalArc's Avatar
ImmortalArc ImmortalArc is offline
Registered User
 
Join Date: Nov 2016
Location: Santiago
Posts: 72
Thanks: 44
Thanked 9 Times in 4 Posts
ImmortalArc is on a distinguished road
What is class type expected error in inno???
__________________
Sharing is caring : immortal words..
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 11:12.


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