Page 1 of 1

Installing from a command line

Posted: Mon May 19, 2008 9:35 am
by wcc
I'm new to InstallAware and have a question about installing from a command line. From a command shell I enter:

mysetup.exe /s

This works just fine, however the command prompt is returned immediately while the install runs seperately. I there a way to pend the command shell from returning until the setup in complete? If not what is the best way to detect when the setup has completed.

I'm doing a remote install from within another program, a control app. It copies the setup file to a remote server that has a 'remote command' service. The 'remote command' service runs the setup in a command shell and returns status back to the control app.

Thanks for any help or suggestions.

Posted: Fri May 30, 2008 3:16 am
by ulrichard
If your control app has no "wait for completion" option, try this :

start /wait mysetup.exe /s

Posted: Fri May 30, 2008 7:57 am
by wcc
Thank you.

start /wait setup.exe /s

was exactly what I was looking for.