#1411
|
||||
|
||||
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; If yes then pl tell how to do it.. Thanks in advance.. |
Sponsored Links |
#1412
|
|||
|
|||
Quote:
download ISutils and got the CaptureConsole.iss https://www.fileforums.com/showthread.php?t=99835 |
#1413
|
||||
|
||||
Quote:
Be aware that the commands used do not ask for confirmation. |
#1414
|
||||
|
||||
Quote:
Thanks for info. |
#1415
|
||||
|
||||
If you want, send me the script by PM that I take a look.
|
#1416
|
|||
|
|||
[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 |
#1417
|
||||
|
||||
Quote:
![]() |
#1418
|
|||
|
|||
No it's correct you need to use ReadConsoleOutputW for exact output
|
#1419
|
||||
|
||||
I have shared the script...
Quote:
I think it is writing the output per second.... Ideally it should write output if there is change in output string.. Last edited by bunti_o4u; 23-06-2020 at 07:41. |
#1420
|
||||
|
||||
Why
![]() ![]() ![]()
__________________
Haters gonna hate
|
#1421
|
|||
|
|||
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 Last edited by pincoball; 26-06-2020 at 12:16. |
#1422
|
||||
|
||||
I already got it
![]() But it's not that bad anyway. I was just courios.
__________________
Haters gonna hate
|
#1423
|
||||
|
||||
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; Code:
#if UseComponents == "1" Code:
var //////////////////////// Check boxes //////////////////////// IconsCB, StartMenuCB, {#if CheckCRC == "1"}CRCCheckCB,{#endif} PauseCB, UninstallCB, LimitRAMCB: TNewCheckBox; |
#1424
|
|||
|
|||
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 ![]() ![]() ![]() |
#1425
|
||||
|
||||
Quote:
RC_ERRCODE_INVALID_COMPRESSOR= -2; (* Invalid compression method or parameters *)
__________________
It would be nice if you appreciate my work with the thanks Button |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 05:51 |
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 06:57 |
Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |