Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

starting consecutive setups


1 reply to this topic

fvandael

fvandael
  • Members
  • 6 posts

Posted 06 December 2002 - 13:57

Hello there,

I have two installers that I want to start consecutively via a batch file. The first installers has to be finished before the second is allowed to start.

The principle

dir1>setup1.exe
dir2>setup2.exe

does not work because the second installer is launched from the moment the first setup.exe transfers control to _inst32i.ex_

Any ideas how to solve this problem?

Thanks,

Filip

e7a7b7

e7a7b7
  • Members
  • 3 posts

Posted 12 December 2002 - 18:09

You need to pass the first setup the "-sms" command-line option.  This ensures that setup.exe doesn't return until all it's sub-processes have returned.

More documentation on the option can be found in the InstallShield help.

--Ryan