FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Blackbox Inno Setup Script (https://fileforums.com/showthread.php?t=94425)

r4ll 17-01-2014 19:54

1 Attachment(s)
Quote:

Originally Posted by y_thelastknight (Post 428344)
file is not available to extract.
file name is different or dir is different.

Code:

if not IS7ZipExtract    ( 0, 25, ExpandConstant('{src}\data1.7z'),  ExpandConstant('{app}\data1.srep'), false, '') then break;
{src} = where you archive file is.
data1.7z = Your archive file name.

Thanks I got my problem solved but there is now another problem with precomp.Hope you can again help me regarding this.

Thanks,

y_thelastknight 17-01-2014 21:22

Quote:

Originally Posted by r4ll (Post 428357)
Thanks I got my problem solved but there is now another problem with precomp.Hope you can again help me regarding this.

Thanks,


Im sorry mate i don't know about precomp :/

pakrat2k2 18-01-2014 00:22

Quote:

Originally Posted by r4ll (Post 428343)
I am getting this error.I have also renamed Data1 to My Data name:(

check the script, is it expecting precomp.exe or precomp041.exe. You might have to rename the exe to what its looking for.

r4ll 18-01-2014 01:04

1 Attachment(s)
:(:(

pakrat2k2 18-01-2014 01:12

look at the error picture you posted.. it tells you what the error is...

your installing / extracting into C:\Program Files x86\Fileforums\Kurutucu ??

is that where you want it to extract too ??

Razor12911 18-01-2014 01:48

if not IS7ZipExtract ( 0, 25, ExpandConstant('{src}\data1.7z'), ExpandConstant('{app}\'), false, '') then break;
if not ISSRepExtract ( 0, 25, ExpandConstant('{app}\data1.srep'), ExpandConstant('{app}\data1.pcf'), true) then break;
if not ISPrecompExtract ( 0, 25, ExpandConstant('{app}\data1.pcf'), ExpandConstant('{app}\data1.arc'), true) then break;
if not ISArcExtract ( 0, 25, ExpandConstant('{app}\data1.arc'), ExpandConstant('{app}\'), '', true, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;

7Zip can contain more than 1 file.

and there might something wrong.

when compressing

7Zip > Precomp > Srep > Arc

when decompressing it has to be in reverse

Arc > Srep > Precomp > 7Zip

The steps either compressing or decompression may be incorrect.

I suggest to replace 7Zip with Arc

r4ll 18-01-2014 22:36

1 Attachment(s)
Quote:

Originally Posted by Razor12911 (Post 428368)
if not IS7ZipExtract ( 0, 25, ExpandConstant('{src}\data1.7z'), ExpandConstant('{app}\'), false, '') then break;
if not ISSRepExtract ( 0, 25, ExpandConstant('{app}\data1.srep'), ExpandConstant('{app}\data1.pcf'), true) then break;
if not ISPrecompExtract ( 0, 25, ExpandConstant('{app}\data1.pcf'), ExpandConstant('{app}\data1.arc'), true) then break;
if not ISArcExtract ( 0, 25, ExpandConstant('{app}\data1.arc'), ExpandConstant('{app}\'), '', true, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;

7Zip can contain more than 1 file.

and there might something wrong.

when compressing

7Zip > Precomp > Srep > Arc

when decompressing it has to be in reverse

Arc > Srep > Precomp > 7Zip

The steps either compressing or decompression may be incorrect.

I suggest to replace 7Zip with Arc

Thanks for replying.I started everything from scratch but i found this precomp error while installing and if i remove precomp during compression installer runs nicely.:o

Razor12911 18-01-2014 23:49

you may wanna check precomp version used.

r4ll 19-01-2014 01:09

Quote:

Originally Posted by Razor12911 (Post 428388)
you may wanna check precomp version used.

Sorry but i don't understand what you are saying

mmhsagor 21-01-2014 12:26

precomp .42 keeps crassing. Trying to use precomp .43 and creating the setup.exe using Main(Compact.Mode+Slideshow & Video).iss but when I try to install it says wrong version of precomp.
Copied precomp .43 and arc.ini from Black_Box_Script_By_Kurutucu_V1.8\Precomp Versions\0.43 directory to include directory. nothing good happened. Any help????

y_thelastknight 21-01-2014 13:09

Quote:

Originally Posted by mmhsagor (Post 428477)
precomp .42 keeps crassing. Trying to use precomp .43 and creating the setup.exe using Main(Compact.Mode+Slideshow & Video).iss but when I try to install it says wrong version of precomp.
Copied precomp .43 and arc.ini from Black_Box_Script_By_Kurutucu_V1.8\Precomp Versions\0.43 directory to include directory. nothing good happened. Any help????

you have to use Main(Compact.Mode-precomp.0.43).iss to use precomp0.43.

r4ll 22-01-2014 23:57

@y_thelastknight
could you tell me what should i write for lzma in archive.ini

thanks,

y_thelastknight 23-01-2014 02:18

Quote:

Originally Posted by r4ll (Post 428539)
could you tell me what should i write for lzma in archive.ini

lzma Mean arc compression?

nhinchihap3 03-02-2014 07:54

How to change orther language
Thx

Razor12911 03-02-2014 14:50

you need to first add language file then translate some parts to your language.


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