cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
smathur
Level 3

how to stop Windows silent command from running in background

Using an .exe, is there a way to have the command stay on the command line (not run in the background) when running
.exe -silent. Is there some parameter/option, to be able to do this?
Labels (1)
0 Kudos
(3) Replies
Lary0083
Level 3

Is there a way to do this ^ ?

Or is it just working as designed and the minute you kick off silent install you get the command line back ??

My main concerned is, how does the user know if silent install finished ??
0 Kudos
enanrum
Level 9

If you put the command in a bat file it will not run in the BG.
0 Kudos
jewels
Level 3

You have to create a console launcher. You specify this under "Distributions". We ship 2 launchers for our product, and doc that the console launcher should be used for silent installations.

This is from the docs under "Installation Exit Codes":

"There is no way to check the exit code for a Windows GUI-based launcher (for example, setup.exe) because the command prompt returns before the wizard actually exits. To have the ability to check the exit code of a Windows installation, create a Windows Console Launcher—either Windows Console Launcher, Windows IA64 Console Launcher, or Windows AMD64 Console Launcher (Premier Edition) in the Releases/Distributions view. These launchers enable you to test the exit code of a Windows installation because control does not return until the Java process has completed."
0 Kudos