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)

Razor12911 08-09-2013 06:45

1 Attachment(s)
Codejock Quick Style Inno Setup Viewer

Place .cjstyle named as Theme next to program then launch theme.exe it.

danswano 08-09-2013 06:54

Hello razor, how do i call 7z to unpack a file using ISExcec or even call arc to unpack an arc file using it as well.
I need to know how to use ISExcec cause it's not working for me.
for example:
Quote:

if not ISExec ( 0, 0, 0, ExpandConstant('{tmp}\arc.exe'), ExpandConstant('x "{src}\data.arc" "{app}\"'), ExpandConstant('{tmp}'), '...',false) then break;
This one is not unpacking anything.

Razor12911 08-09-2013 07:17

Try this.

if not ISExec ( 0, 0, 0, ExpandConstant('{tmp}\7z.exe'), '-o"' + ExpandConstant('{app}') + '" x -y "' + ExpandConstant('{src}\data.7z') + '" ', ExpandConstant('{tmp}'), '...',false) then break;

pakrat2k2 08-09-2013 10:46

Quote:

Originally Posted by inovateqsa (Post 422994)
Having a rather irritating problem with external compression at the moment:

Every time I try to install using external compression I get an "Unsupported compression method" error.

Full Details:

Using this .Bat for compression:

"echo Compressing files, please wait...
arc a -ep1 -w.\ .\Compressed\Data1.cab -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "C:\Program Files (x86)\Electronic Arts\Red Alert 3 Uprising"
echo.All done.
pause
Exit"

This is my Setup.ini Extract settings:
"FreeArcFile1={src}\Data1.cab;DestDir:{app};Disk:1 ;PrecSrep:1"

The Exact Error I get:
"An Error ocurred Wile Unpacking: Unknown compression Method!
Unarc.dll returned an error code: -2
ERROR: Unsupported compression method
srep+lzma:177mb:normal:bt4:128:mc1000:lc8"

I have tried recompiling, and recompressing at least 3 times and every time it's the same error.

I am using CI 8.5.7.4

Any ideas on how I can get it to work?
I'm Desperate.

remove precsrep:1 from freearcfile1 line & add PrecompVer=inside to top section in setup.ini

danswano 08-09-2013 12:37

You are awesome Razor, i've been googling since days to find a solution and only you did it.
Thank you :)

danswano 08-09-2013 16:35

Dear razor, is it possible to unpack a passworded 7z file?

pakrat2k2 08-09-2013 19:24

only if password is known

danswano 08-09-2013 20:18

Quote:

Originally Posted by pakrat2k2 (Post 423044)
only if password is known

Dude the file is mine but i want to tell IS the password.

Razor12911 08-09-2013 20:59

Code:

if not ISExec ( 0, 0, 0, ExpandConstant('{tmp}\7z.exe'), '-o"' + ExpandConstant('{app}') + '" x -y -pPASSWORD "' + ExpandConstant('{src}\data.7z') + '" ', ExpandConstant('{tmp}'), '...',false) then break;

danswano 08-09-2013 21:03

Razor the awesome, as always. :)
Thanks buddy.

Razor12911 08-09-2013 21:46

You're Welcome bud. :D

danswano 09-09-2013 13:11

Dear razor, can you explain for me what are the first 3 zeros for?
in ISArcExtract there is 2 zeros while in ISExec there is 3
or i f you don't know what they are for at least can you tell me which one stands for process percentage?

Razor12911 09-09-2013 13:13

the second zero from the left defines progress percentage.
first is for components
third is for SpecifiedProcessTime

danswano 09-09-2013 13:21

Quote:

Originally Posted by Razor12911 (Post 423081)
the second zero from the left defines progress percentage.
first is for components
third is for SpecifiedProcessTime

EDIT: Got it, thank you :)

danswano 09-09-2013 17:42

Because the time and accurate percentage is not known properly to IS it jumps from 50% to 150% after the ISExec is done, how to avoid this?
I know that there is a feature related to records.inf but i don't know how to use or even create the right records.inf file.
Can you help me please? :)


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

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