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)

Cesar82 22-06-2020 13:56

1 Attachment(s)
Quote:

Originally Posted by bunti_o4u (Post 486490)
If we want to run any task during installation we can use below command which run the task or other program in a separate window:
Code:

function Exec(const Filename, Params, WorkingDir: String; const ShowCmd: Integer; const Wait: TExecWait; var ResultCode: Integer): Boolean;
I just want to know - can we add console within wizard page instead of separate windows to show console details to user.

If yes then pl tell how to do it..

Thanks in advance..

If you use capture console you will not be able to interact.
Be aware that the commands used do not ask for confirmation.

bunti_o4u 22-06-2020 14:59

1 Attachment(s)
Quote:

Originally Posted by DiCaPrIo (Post 486493)
here
download ISutils and got the CaptureConsole.iss
https://www.fileforums.com/showthread.php?t=99835

Thanks.. It worked with my script. But it throwing weird output don't know why.

Quote:

Originally Posted by Cesar82 (Post 486494)
If you use capture console you will not be able to interact.
Be aware that the commands used do not ask for confirmation.

Thanks for info.

Cesar82 22-06-2020 15:34

Quote:

Originally Posted by bunti_o4u (Post 486495)
Thanks.. It worked with my script. But it throwing weird output don't know why.
Thanks for info.

If you want, send me the script by PM that I take a look.

DiCaPrIo 23-06-2020 01:57

[QUOTE=bunti_o4u;486495]Thanks.. It worked with my script. But it throwing weird output don't know why.
https://docs.microsoft.com/en-us/win...dconsoleoutput

BLACKFIRE69 23-06-2020 01:59

Quote:

Originally Posted by bunti_o4u (Post 486495)
Thanks.. It worked with my script. But it throwing weird output don't know why.
Thanks for info.

seems to be a incorrect encoding. :rolleyes:

DiCaPrIo 23-06-2020 02:39

Quote:

Originally Posted by BLACKFIRE69 (Post 486502)
seems to be a incorrect encoding. :rolleyes:

No it's correct you need to use ReadConsoleOutputW for exact output

bunti_o4u 23-06-2020 07:30

Quote:

Originally Posted by Cesar82 (Post 486496)
If you want, send me the script by PM that I take a look.

I have shared the script...

Quote:

Originally Posted by DiCaPrIo (Post 486503)
No it's correct you need to use ReadConsoleOutputW for exact output

still the same type of output..
I think it is writing the output per second....
Ideally it should write output if there is change in output string..

KaktoR 26-06-2020 10:42

Why :confused::D

https://i.imgur.com/gx9CBzl.png

pincoball 26-06-2020 12:10

Quote:

Originally Posted by KaktoR (Post 486551)
Why :confused::D

I guess it's from the ASIS.
Could you send the entire code? I don't get that warning when compiling any version of it

Edit: I get it as well with compact mode = 1, that code it's not used after preprocessing (ISPP), that's why it give you that warning
The code after line 4503 shown in the screen it's not present during the compiling

KaktoR 26-06-2020 12:22

I already got it :p

But it's not that bad anyway. I was just courios.

Cesar82 26-06-2020 17:28

Quote:

Originally Posted by KaktoR (Post 486551)
Why :confused::D

Was this capture not made before recompiling (Previous Debug)?

You would not have been able to compile with the variable ReloadComponents outside the area defined in the ISPP
Code:

ReloadComponents: = False;
Copy from the bottom and paste into the variable declaration this:
Code:

#if UseComponents == "1"
NOTES: The ISPP can also be used to limit a variable whether or not it is defined.
Code:

var
  //////////////////////// Check boxes ////////////////////////
  IconsCB, StartMenuCB, {#if CheckCRC == "1"}CRCCheckCB,{#endif} PauseCB, UninstallCB, LimitRAMCB: TNewCheckBox;


mustafaabd 27-06-2020 06:57

i have problem with xtool unpack

i use this method code to Compress


Code:

-mxprecomp+srep:m3f:a16:d1g+lolz:dtb1:d128m:mtt1:mt8:tt8:mc1023:fba0

and this arc.ini fail
Code:

[External compressor:lolz]
header = 0
packcmd = lolz_x64.exe {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

[External compressor:srep]
header = 0
packcmd  = srep64 {-option } $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 -d -s -- <stdin> <stdout>

[External compressor:xprecomp]
header    = 0
packcmd  = xtool.exe e:precomp:t90p:zlib - - <stdin> <stdout>
unpackcmd = xtool.exe d:precomp:t4 - - <stdin> <stdout>

[External compressor:xzlib]
header    = 0
packcmd  = xtool.exe e:precomp:t90p,c128mb:zlib - - <stdin> <stdout>
unpackcmd = xtool.exe d:precomp:t4 - - <stdin> <stdout>

[External compressor:xzstd]
header    = 0
packcmd  = xtool.exe e:precomp:t90p:zstd - - <stdin> <stdout>
unpackcmd = xtool.exe d:precomp:t4 - - <stdin> <stdout>

[External compressor:xlz4]
header    = 0
packcmd  = xtool.exe e:precomp:t90p:lz4 - - <stdin> <stdout>
unpackcmd = xtool.exe d:precomp:t4 - - <stdin> <stdout>

[External compressor:xlzo]
header    = 0
packcmd  = xtool.exe e:precomp:t90p:lzo - - <stdin> <stdout>
unpackcmd = xtool.exe d:precomp:t4 - - <stdin> <stdout>


but

this error when use any Script to unpack

https://i.imgur.com/eNZpaMU.jpg

https://i.imgur.com/WAoRxYb.jpg

:confused:

mausschieber 27-06-2020 13:03

Quote:

Originally Posted by mustafaabd (Post 486568)
i have problem with xtool unpack

i use this method code to Compress


Code:

-mxprecomp+srep:m3f:a16:d1g+lolz:dtb1:d128m:mtt1:mt8:tt8:mc1023:fba0

and this arc.ini fail
Code:

[External compressor:lolz]
header = 0
packcmd = lolz_x64.exe {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

[External compressor:srep]
header = 0
packcmd  = srep64 {-option } $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep64 -d -s -- <stdin> <stdout>

[External compressor:xprecomp]
header    = 0
packcmd  = xtool.exe e:precomp:t90p:zlib - - <stdin> <stdout>
unpackcmd = xtool.exe d:precomp:t4 - - <stdin> <stdout>

[External compressor:xzlib]
header    = 0
packcmd  = xtool.exe e:precomp:t90p,c128mb:zlib - - <stdin> <stdout>
unpackcmd = xtool.exe d:precomp:t4 - - <stdin> <stdout>

[External compressor:xzstd]
header    = 0
packcmd  = xtool.exe e:precomp:t90p:zstd - - <stdin> <stdout>
unpackcmd = xtool.exe d:precomp:t4 - - <stdin> <stdout>

[External compressor:xlz4]
header    = 0
packcmd  = xtool.exe e:precomp:t90p:lz4 - - <stdin> <stdout>
unpackcmd = xtool.exe d:precomp:t4 - - <stdin> <stdout>

[External compressor:xlzo]
header    = 0
packcmd  = xtool.exe e:precomp:t90p:lzo - - <stdin> <stdout>
unpackcmd = xtool.exe d:precomp:t4 - - <stdin> <stdout>


but

this error when use any Script to unpack

https://i.imgur.com/eNZpaMU.jpg

https://i.imgur.com/WAoRxYb.jpg

:confused:

as the Error says
RC_ERRCODE_INVALID_COMPRESSOR= -2; (* Invalid compression method or parameters *)

naynay 30-06-2020 03:53

Hi guys

I am a beginner at this, I am trying to repack a 60gb game (Heat) and I am confused on how to add FreeARC to my installer. Can someone give me a tutorial? I am super interested in repacking/compressing games. Can you send me some guides through private message?

Thanks

Masquerade 17-07-2020 07:40

Label not showing up
 
Hi all, dipping my feet back into the Inno pool again - I have gotten to the point where I am trying to add a label, but the label does not show up. Perhaps I am missing something?

[CODE]
Code:

var
 DesktopIconCheckBox: TNewCheckBox;
 Progress: TNewProgressBar;
 RequiredLabel: TLabel;

Code:

  Requiredlabel := TLabel.Create(WizardForm);
  with Requiredlabel do
  begin
  SetBounds(10, 160, 390, 25);
  RequiredLabel.Caption := ExpandConstant('{cm:RequiredSpace} {#Size}');
  end;

{#Size} is a predefined variable.

Code:

procedure CurPageChanged(CurPageID: integer);
begin
  if CurPageID = wpWelcome then
  begin
  Progress.Hide;
  RequiredLabel.Show;
  end;

This is the code for the lable, but it does not show when the installer is running:

https://i.imgur.com/7glfbBQ.png

The pink highlights were the label is meant to be.


All times are GMT -7. The time now is 01:23.

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