Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions

Reply
 
Thread Tools Display Modes
  #1  
Old 21-08-2014, 16:17
gatosky1620's Avatar
gatosky1620 gatosky1620 is offline
Registered User
 
Join Date: Oct 2011
Location: Perú
Posts: 287
Thanks: 13
Thanked 965 Times in 131 Posts
gatosky1620 is on a distinguished road
Help with Peterff1999 The Witcher 2 scrip

Hello friends i try extract various .cab files in different locations with a single Setup.exe and between Folders show me the change disk window

Example


Folder "A": Setup.exe, Data1.cab, Data2.cab... Change Disk

Folder "B": Data3.cab... Change Disk

Folder "C"
: Data4.cab, Data5.cab end

I also want the file Setup.exe does not start installing until you find the first file "Data1.cab"

This is the code, What i need change?
Code:
      StartRecord(ExpandConstant('{tmp}\records.inf'),0);
      repeat
         MyError:=true;
//       if not ISRarExtract    ( 0, OveralPct, 0, ExpandConstant('{src}\aaa.rar'), ExpandConstant('{app}'),            false,CallBack, ''              ) then break;
         WizardForm.Caption:='Estrazione archivio FreeArc...';
         //if not ISArcExtract    ( 0, OveralPct, 0, ExpandConstant('{src}\Data*.cab'),  ExpandConstant('{app}'),                false,CallBack, '',    '',    '') then break; //cambio tipo y nombre de archivo
         if not ISArcExtract ( 1, 0, ExpandConstant('{src}\data1.cab'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;

         if not ShowChangeDiskWindow ('please insert next disk and click ok', ExpandConstant('{src}'),'data2.cab') then break;

          
         if not ISArcExtract ( 3, 0, ExpandConstant('{src}\data2.cab'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
         
         //if not ISArcExtract ( 1, 0, ExpandConstant('{src}\data1.x'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
         //if not ShowChangeDiskWindow('Description', ExpandConstant('{src}'),'Data2.cab'                 ) then break;
         ResetProgressBar();
         //if not ISSRepExtract   ( 0, OveralPct, 0, ExpandConstant('{app}\data1\CODMW2.srep'), ExpandConstant('{app}\data1\CODMW2.pcf'), '', true, CallBack                  ) then break;
         WizardForm.Caption:='Ricompressione Precomp file...';
         if not ISPrecompExtract( 0, OveralPct, 0, ExpandConstant('{app}\Dead_Rising_2.pcf'),  ExpandConstant('{app}\Dead_Rising_2.arc'),      true, CallBack                  ) then break;
         ResetProgressBar();
         WizardForm.Caption:='Estrazione archivio FreeArc...';
         if not ISArcExtract    ( 0, OveralPct, 0, ExpandConstant('{app}\Dead_Rising_2.arc'),  ExpandConstant('{app}\data'),                true,CallBack, '',    '',    '') then break;
         //WizardForm.Caption:='Estrazione archivio 7Zip';
         //if not IS7ZipExtract   ( 0, OveralPct, 0, ExpandConstant('{src}\Tron_Evolution_1xDVD5.7z'),   ExpandConstant('{app}'),                false, CallBack, ''              ) then break;
         //if not ShowChangeDiskWindow('Description', ExpandConstant('{src}'),'Data2.cab'                 ) then break;
         //if not ISArcExtract    ( 1, OveralPct, 0, ExpandConstant('{src}\rustext.arc'), ExpandConstant('{app}'),                false,CallBack, '',    '',    '') then break;
         //if not ISArcExtract    ( 2, OveralPct, 0, ExpandConstant('{src}\engtext.arc'), ExpandConstant('{app}'),                false,CallBack, '',    '',    '') then break;
         //if not ISArcExtract    ( 3, OveralPct, 0, ExpandConstant('{src}\rusvoice.arc'),ExpandConstant('{app}'),                false,CallBack, '',    '',    '') then break;
         //if not ISArcExtract    ( 4, OveralPct, 0, ExpandConstant('{src}\engvoice.arc'),ExpandConstant('{app}'),                false,CallBack, '',    '',    '') then break;
         MyError:=false;
      until true;
      StopRecord;
Reply With Quote
Sponsored Links
Reply

Tags
cab, freearc, inno

Thread Tools
Display Modes

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
The Witcher 2: Assassins of Kings (2DVD9 to 3DVD5) English only *INNO SETUP* mark-o PC Games - CD/DVD Conversions 21 07-02-2012 07:24
The Witcher [UK Only] (DVD9 To DVD5) FREEMAN100 PC Games - CD/DVD Conversions 9 25-09-2008 03:41
The Witcher - Enhanced Edition cdkiller PC Games - Protection List 0 23-09-2008 01:00



All times are GMT -7. The time now is 23:03.


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