Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Some installers open a console when they are trying to install the program on the machine (specifically on Windows).

Why is it so? What exactly is possible through a console that is not possible otherwise?

share|improve this question
up vote 5 down vote accepted

Apart also from @John T said, it maybe not be the reason that thay -what they do- cannot be done otherwise, but is probably that it is easier to do it this way. For example, copying through a batch file. Nothing easier to setup than that. So why would someone bother making it any other way.

Some things which can be accomplished through a command line are hard to beat.

share|improve this answer
Was just adding a comment to my answer about this as you made your answer, hivemind. – John T Oct 6 '09 at 19:06

They don't need to open a console, I think the verbose information is there to show the user whats going on. They could have also used it for debug purposes when creating the software.

share|improve this answer
@John T no, they do not show the user any info, they just run some commands and then close themselves. I wish I could site the name of some installer like that, but it is not uncommon. – Lazer Oct 6 '09 at 19:01
Some software also uses batch scripts to build extensions that come with it. Batch scripts will run in a command window when executed. – John T Oct 6 '09 at 19:05
I think it also depends on the software installer they used. Some execute console commands, but hide it, other issue console commands and display the output in the pretty wizard window, and others just launch the dos window in the background. – Roy Rico Oct 6 '09 at 19:11
Yep, as Idigas pointed out, sometimes it's easier to type a batch script with a bunch of copy statements as opposed to CopyFileEx() [ ] a bunch of times in code for example. – John T Oct 6 '09 at 19:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .