/build/static/layout/Breadcrumb_cap_w.png

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 14 years ago
Red Belt
0
Er...if the MSI is external, what's wrong with using MSIExec?
Posted by: desert_rose 14 years ago
Orange Belt
0
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 14 years ago
3rd Degree Black Belt
0
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?

Cheers,
Rob.
Posted by: bheers 14 years ago
Second Degree Blue Belt
0
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.
 
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