Installing from a command line

Got a problem you cannot solve? Try here.
Post Reply
wcc
Posts: 2
Joined: Mon May 19, 2008 9:23 am

Installing from a command line

Post 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.
Ken McClain
ulrichard
Posts: 150
Joined: Thu Dec 27, 2007 5:45 am
Location: Switzerland
Contact:

Post by ulrichard »

If your control app has no "wait for completion" option, try this :

start /wait mysetup.exe /s
wcc
Posts: 2
Joined: Mon May 19, 2008 9:23 am

Post by wcc »

Thank you.

start /wait setup.exe /s

was exactly what I was looking for.
Ken McClain
Post Reply