
15-06-2019, 04:45
|
 |
Registered User
|
|
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 596
Thanks: 599
Thanked 659 Times in 234 Posts
|
|
Quote:
Originally Posted by wollercoller
Can you tell me How I can add ISARCEXTRACT in wpi.
|
If you first time to use it:
Quote:
|
function ISArcExtract(CurComponent:Cardinal; PctOfTotal:double; InName, OutPath, ExtractedPath: AnsiString; DeleteInFile:boolean; Password, CfgFile, WorkPath: AnsiString; ExtractPCF: boolean ):boolean; external 'ISArcExtract@files:ISDone.dll stdcall delayload';
|
then here's of example:
Quote:
|
if not ISArcExtract(0, 50, ExpandConstant('{src}\Data1.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
|
|