Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #15  
Old 02-03-2020, 02:55
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 701
Thanks: 486
Thanked 2,628 Times in 576 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by ADMIRAL View Post
Sorry, Mr. BlackFire69
I wrote a Script project and compressed it into data.cab and then mistakenly deleted the script file and I don't know how to get it.
what should I do now? There is a way to extract data.cab.
yes.

Code:
[Files]
Source: "pckr.dll"; Flags: dontcopy;

{Code]
var Init: Boolean;

function PInit(const Name, Password: PAnsiChar; Debug: Boolean):Boolean;
  external 'PInit@{tmp}\pckr.dll stdcall delayload';
procedure PExtractFile(const FName, Dest: PAnsiChar);
  external 'PExtractFile@{tmp}\pckr.dll stdcall delayload';

function InitializeSetup(): Boolean;
var
  S:string;
begin
  S:=ExpandConstant('{src}');
  ExtractTemporaryFile('pckr.dll');
  Init:=PInit(S+'\Data.cab','PASSWORD',True);
  if Init then begin
  PExtractFile('Script.iss',S+'\Script_EXTRACTED.iss');
  end;

  if FileExists(S+'\Script_EXTRACTED.iss') then MsgBox('Script.iss extracted.',mbInformation,MB_OK);
  Result:=False;
end;
copy data.cab to Output folder and try. (Requires the password which you used)
Reply With Quote
The Following 3 Users Say Thank You to BLACKFIRE69 For This Useful Post:
ADMIRAL (03-03-2020), Harsh ojha (02-03-2020), joker85 (03-07-2025)
 


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 - Questions Here REV0 Conversion Tutorials 1567 26-08-2026 10:04
ASIS: Advanced Simple Installer Script KaktoR Conversion Tutorials 1482 16-08-2026 16:20
Source Codes Giveaway altef_4 Conversion Tutorials 19 16-10-2020 02:38
Please test the acceleration unpack NBB Conversion Tutorials 18 19-12-2015 08:25
Dungeon Siege: Throne Of Agony codes wolfsrain PSP Games 1 13-05-2008 10:49



All times are GMT -7. The time now is 08:24.


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