cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jcjets
Level 3

Execute process and arguments

I am trying to launch an install silently by passing -silent as a parameter to the setup.exe file that I drop on the target machine.

When I put -silent in as a parameter I get an error "silent" invalid parameter.

When I pass silent in as a parameter I get an error "silent" invalid parameter.

When I pass --silent in as a parameter I get an error "-silent" invalid parameter.

I can run the setup.exe -silent after the install without any problems from the command line. I am only having this problem through the execute process action during install time.

Any ideas on how to pass the parameter -silent?

Command: $P(absoluteInstallLocation)\temp\setup.exe
Arguments: -silent
Bundle Executable: false

Thanks,
Joe
Labels (1)
0 Kudos
(4) Replies
gamlidek
Level 4

If the setup is a universal installer, then you need to use: -is:silent.

cheers,

/gam/
0 Kudos
jcjets
Level 3

It is a universal install, but if I pass -is:silent as a parameter to the execute process bean it is just ignored.
0 Kudos
jcjets
Level 3

It turns out that for every parameter that has a space in it requires a blank line in the argument list.

If you want the following parameters: -silent c:\path with space It would look like this:
-silent

c:\path

with

space

Wrapping the argument in quotes does not work. "c:\path with space" passes the quotes and failed for me.

This is only true for windows though. For Unix one argument per line works great.
0 Kudos
gamlidek
Level 4

Oooh, that's a nifty trick!

-gam
0 Kudos