I suggest you ...

Setup/Uninstall: Allow automatic output redirection to installation log

Hi all,
Right not logging the output of command run during install is not very nice, you would have to run the tool through cmd and manually redirect the output to a file. Maybe even have to manually check if log has been requested on install and redirect to nul if it hasn't.
All these makes it a little harder to maintain a install script (maybe you just forgot to put the whole command inside quotes, etc).

So, having a way to redirect command output to the main log file or to a custom log file, as an option for each command run or at installer level would be a great feature which will increase usability and productivity of the one making the install script.

Thanks,
florin

30 votes
Vote 0 votes Vote Vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service

    You'll receive a confirmation email with a link to create a password (optional).

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    florinflorin shared this idea  ·   ·  Admin →

    2 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service

      You'll receive a confirmation email with a link to create a password (optional).

      Signed in as (Sign out)
      Submitting...
      • Martin BaschneggerMartin Baschnegger commented  · 

        It would also be interesting if it is possible for processes that are created via DLL-API and CReateProcess(Win32) to redirect their stdout+stderr to the logfile.

      • liviu trifoiliviu trifoi commented  · 

        Yes, I definitely agree with that. It would be nice especially for vb scripts that are called from inno setup, in order to log any errors they throw directly into the inno setup log, and would be a good idea for all other utilities that are called and wish to log actions performed during install. It's tedious to redirect.

      Knowledge Base and Helpdesk