How do I Send "soft switches" or Parameters

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
terryyakki
Newbie
Posts: 1
Joined: Fri Apr 23, 2004 1:59 pm
Location: Washington, DC

How do I Send "soft switches" or Parameters

Post by terryyakki » Fri Apr 23, 2004 2:10 pm

Hi;
I'm trying to run a setup.exe program that accepts soft switches or parameters. I've tried several ways of sending the parameters, but they are either ignored or InstallShield throws up a message box listing the accepted switches. The only time I have had it work is when I did a recorded macro and launched the following using the Start\Run box...
d:\clients\w32intel\sertup.exe /s/v"/gb+"
The /s/v:/gb+" runs setup in a silent mode, but shows a progress bar. When the switches are ignored the setup program runs and waits for user input.

Anyone know how to send these parameters to setup.exe so it will run in silent mode?

Thanks for you help,
Terry Yakki

Lumumba

Post by Lumumba » Fri Apr 23, 2004 9:16 pm

Have you tried to separate each parameter with a space character:
Run Program>CMD /C "d:\clients\w32intel\setup.exe /s /v /gb+"
or create a batch file
WLN>C:\mybatch.bat,RESULT,Start "d:\clients\w32intel\setup.exe /s /v /gb+"
Run Program>C:\mybatch.bat
If Start won't work try Run

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Fri Apr 23, 2004 9:25 pm

Or have you tried putting the switches in as a variable:
Let>switches=/s/v"/gb+"
Run Program>d:\clients\w32intel\setup.exe %switches%
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts