Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22-06-2020, 13:25
DiCaPrIo DiCaPrIo is offline
Registered User
 
Join Date: Apr 2017
Location: Don't Know
Posts: 48
Thanks: 90
Thanked 49 Times in 30 Posts
DiCaPrIo is on a distinguished road
Quote:
Originally Posted by bunti_o4u View Post
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..
here
download ISutils and got the CaptureConsole.iss
https://www.fileforums.com/showthread.php?t=99835
Reply With Quote
Sponsored Links
  #2  
Old 22-06-2020, 14:59
bunti_o4u's Avatar
bunti_o4u bunti_o4u is offline
Registered User
 
Join Date: Aug 2017
Location: India
Posts: 162
Thanks: 29
Thanked 172 Times in 61 Posts
bunti_o4u is on a distinguished road
Quote:
Originally Posted by DiCaPrIo View Post
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 View Post
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.
Attached Images
File Type: png Untitled.png (22.4 KB, 104 views)
Reply With Quote
  #3  
Old 22-06-2020, 15:34
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,073
Thanks: 1,814
Thanked 2,302 Times in 786 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by bunti_o4u View Post
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.
Reply With Quote
  #4  
Old 23-06-2020, 07:30
bunti_o4u's Avatar
bunti_o4u bunti_o4u is offline
Registered User
 
Join Date: Aug 2017
Location: India
Posts: 162
Thanks: 29
Thanked 172 Times in 61 Posts
bunti_o4u is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
If you want, send me the script by PM that I take a look.
I have shared the script...

Quote:
Originally Posted by DiCaPrIo View Post
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..

Last edited by bunti_o4u; 23-06-2020 at 07:41.
Reply With Quote
  #5  
Old 23-06-2020, 01:57
DiCaPrIo DiCaPrIo is offline
Registered User
 
Join Date: Apr 2017
Location: Don't Know
Posts: 48
Thanks: 90
Thanked 49 Times in 30 Posts
DiCaPrIo is on a distinguished road
[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
Reply With Quote
  #6  
Old 23-06-2020, 01:59
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by bunti_o4u View Post
Thanks.. It worked with my script. But it throwing weird output don't know why.
Thanks for info.
seems to be a incorrect encoding.
Reply With Quote
  #7  
Old 23-06-2020, 02:39
DiCaPrIo DiCaPrIo is offline
Registered User
 
Join Date: Apr 2017
Location: Don't Know
Posts: 48
Thanks: 90
Thanked 49 Times in 30 Posts
DiCaPrIo is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
seems to be a incorrect encoding.
No it's correct you need to use ReadConsoleOutputW for exact output
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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



All times are GMT -7. The time now is 11:10.


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