PDA

View Full Version : Run Program Function



Darrel Witham
09-23-2008, 12:56 PM
I have created install program A and install program B. Within install program B, I may need to run install program A. Install program A and B have dialogs and message boxes that he user needs to see / use / respond to. After install program A finishes, I need install program to finish. Do I use the Run Program function? Is there an example I can follow? Thanks.

linder
09-24-2008, 01:20 AM
Darrel,

To start an application, you can use the "Run Command Line..." or "Run Program..." script functions.

BTW, why do you need two install programs (A and B). Why don't you provide one install with an option to install A and/or B?

Friedrich

Darrel Witham
09-24-2008, 07:27 AM
Install program B is already written and in production. I didn't want to duplicate code.

A completely different question - if I have an install program that must be installed / executed on a server. Is there an easy way to check to see if the computer that is running the install program is the server?

Darrel

linder
09-24-2008, 07:40 AM
Darrel,

Then just use "Run Program..." to execute the other installer.

It's not easy to detect a "server". The problem is that even a standard Windows XP edition can act as a server. If you know how to detect the "server", let me know and I can tell you how to code it in SetupBuilder.

Friedrich