I have a setup.exe that when run will spawn a MSI. I want to pass some command line variables to this MSI. I need to pass it a ALLUSERS=1 yet nothing I type seems to work.

Setup.exe /s /v ALLUSERS=1 /qb!
Setup.exe /v ALLUSERS=1 /qb!
Setup.exe /s /v "ALLUSERS"=1 /qb!

and many other and they all fail.

What is the proper syntax to do this?

Thank you.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
could you not just grab the msi when it extracts itself and that way bypass the exe all together?
Answered 09/19/2007 by: brianb0177
Senior Yellow Belt

Please log in to comment
0
Yes, I could do that but it is not needed for this EXE. I really would like to know the syntax for this. 1) for this EXE and 2) for future EXE's.

Thank you.
Answered 09/19/2007 by: mhsl808
Fifth Degree Brown Belt

Please log in to comment
0
is it a wise or installshield exe?
Answered 09/19/2007 by: brianb0177
Senior Yellow Belt

Please log in to comment
1
Hi mh..,
you need it to type like this:
Setup.exe /s /v"ALLUSERS=1 /qb!" There is no space after /v.

See also: http://itninja.com/blog/view/installshield-setup-parameters

Regards, Nick
Answered 09/19/2007 by: nheim
Tenth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity