Commandline parameters for Setup.exe

I have created a exe which launches the external MSI. This has been created using WISE.

How can i pass the commandline arguments to the MSI file by passing it to the exe. can anyone help.

0 Comments   [ + ] Show comments

Answers (4)

Posted by: anonymous_9363 13 years ago
Red Belt
Er...if the MSI is external, what's wrong with using MSIExec?
Posted by: desert_rose 13 years ago
Orange Belt
its like this..i have added vcredist as a prerequisite and created a exe. running this exe first launch the vcredist installation and the proceed with the main MSI installation.
therefore i need to find a way to pass prarameter to exe which in turn can be passed to MSI
Posted by: MSIPackager 13 years ago
3rd Degree Black Belt
Assuming you've created the .exe with WiseScript, it's pretty straight forward to pick up command line arguements and pass them to your internal msiexec command line...

Sounds like hard work to me though, why not just use a cmd or vbs to chain the installations together?

Posted by: bheers 13 years ago
Second Degree Blue Belt
in the wise script you can capture the commandline using
CMDLINE Variable

If you use setup.exe /QB!

and in the wise script

you can use MSIEXEC /i msinams.msi CMDLINE
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ