|
|
|
#1
|
||||
|
||||
|
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.
__________________
Search and Find |
| Sponsored Links |
|
#2
|
||||
|
||||
|
Quote:
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;
|
| The Following 3 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
|
#3
|
||||
|
||||
|
Quote:
__________________
Search and Find |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ASIS: Advanced Simple Installer Script | KaktoR | Conversion Tutorials | 1477 | 20-05-2026 10:52 |
| INNO TROUBLESHOOT - Questions Here | REV0 | Conversion Tutorials | 1565 | 29-11-2024 09:51 |
| 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 |