FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   INNO TROUBLESHOOT - Questions Here (https://fileforums.com/showthread.php?t=93193)

buttignol 05-03-2014 15:44

Help I am not able to use my installer to unpack files created with precomp043 + srep64 trying without success to two days someone could post a scrip isdone the sample thanks

danswano 07-03-2014 11:03

Hello,
Is it possible to extract a specific folder and/or file inside an arc archive using ISDone?
I have an archive that has many folders and i just want to unpack one of them.
Why i didn't create an archive for each folder?
Because i'm using delta compression to reduce the size for similar files in each folder.
Thanks.

Razor12911 07-03-2014 11:55

hmm, don't think it's possible to extract a certain file/folder using isdone, you could read the documentation. but check the latest isarcextract script, version 4.2 and later.

Razor12911 07-03-2014 11:57

Quote:

Originally Posted by buttignol (Post 429630)
Help I am not able to use my installer to unpack files created with precomp043 + srep64 trying without success to two days someone could post a scrip isdone the sample thanks

check out isdone documentation. full support for precomp038-precomp042.
hooking up precmp043 may be tough but the srep64 is not a problem, it's the same as the normal srep edition, just tweak the arc.ini a bit.

danswano 07-03-2014 14:03

Quote:

Originally Posted by Razor12911 (Post 429692)
hmm, don't think it's possible to extract a certain file/folder using isdone, you could read the documentation. but check the latest isarcextract script, version 4.2 and later.

I don't think ISDONE docu have something like this.
Where do i grab the latest version of the script?

altef_4 08-03-2014 00:07

Quote:

Originally Posted by danswano (Post 429698)
I don't think ISDONE docu have something like this.
Where do i grab the latest version of the script?

Code:

function ISArcExtract (CurComponent: Cardinal; PctOfTotal: double; InputFile, OutputPath, ExtractedPath: string; DeleteInFile: boolean; Password, CfgFile, WorkPath: string; ExtractPCF:boolean):boolean;

danswano 08-03-2014 00:48

altef_4, do you know if it's possible to extract a specific file/folder?

altef_4 08-03-2014 01:18

Quote:

Originally Posted by danswano (Post 429709)
altef_4, do you know if it's possible to extract a specific file/folder?

it's possible, look on red text in my pre post

example how to use:
ISArcExtract(0,0,ExpandConstant('{src}\Data.arc'), ExpandConstant('{app}'),'Some_Path_In_Your_Archive',False,'PASSWoRd',ExpandConstant('{tmp}\Arc.ini'), ExpandConstant('{app}'),False);

danswano 08-03-2014 01:20

Oh, i thought it's the destination, i will try it now :)

danswano 08-03-2014 01:26

Thanks altef_4, it's working but it's unpacking the whole thing instead of just one folder although it's not actually unpacked in the destination folder.

Logrim 08-03-2014 01:48

I have a little problem .. dont know if is the right place to expose my doubt, but .. It is going beyond the mask installer. In photoshop everything is perfect, no fault .. in the script, all the measures are well placed, everything looks in order, except for one thing .. stand out as ridges on the edges that should not be there .. someone can say that this is due?

Here is a picture:

http://i62.tinypic.com/99gcwn.png

altef_4 08-03-2014 02:50

2 Attachment(s)
Quote:

Originally Posted by Logrim (Post 429713)
I have a little problem .. dont know if is the right place to expose my doubt, but .. It is going beyond the mask installer. In photoshop everything is perfect, no fault .. in the script, all the measures are well placed, everything looks in order, except for one thing .. stand out as ridges on the edges that should not be there .. someone can say that this is due?

Here is a picture:...

you must create another form behind main form, then use
CreateFormFromImage(YourNewForm.Handle,ExpandConst ant('{tmp}\your_frame.png')); and move this form when main form is moved.
i create simple example for this, in archive are all nessesary files + two versions: one for Original IS UNICODE and one for Enhanced

UPD: changed mask +added screenshot

altef_4 08-03-2014 03:14

Quote:

Originally Posted by danswano (Post 429712)
Thanks altef_4, it's working but it's unpacking the whole thing instead of just one folder although it's not actually unpacked in the destination folder.

i already tested it and it works for me, can you give example how do you use it?
p.s. you can extract only some folder, not a file (my mistake :)).

Logrim 08-03-2014 03:26

Thanks,, it works,, but i think i dont know how to make the mask well.. can you explain me in little words altef? i'm not new to photoshop, but making mask yup :D..

Edit 1. i start the script by zero, and put your example in the fist place with my background and mask.. it work... but with the same edges bug.. its my mask, i know :d.. i dont know how to make it well.. When i make mask before for other works, i only set the visible space in black and the rest in white... here dont work that :D.

danswano 08-03-2014 03:31

First try to make the archive a little bit big so you can see the actual process.
create 2 folders that contains multiple big files
for example program1 program2 and program3 folders.
Now let's say we want to extract program 2.
You will notice that the installer displaying program1 folder and it's content and program 2 and 3 but it only extract program2 actually.
Extracting the whole archive takes as much as time to extract one folder.
It's like unpacking the whole archive on the fly but not letting the unwanted files to be copied to the destination folder.
Hope i clarified what i meant. :)


All times are GMT -7. The time now is 05:39.

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