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

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
Er...if the MSI is external, what's wrong with using MSIExec?
Answered 01/13/2010 by: VBScab
Red Belt

Please log in to comment
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
Answered 01/13/2010 by: desert_rose
Orange Belt

Please log in to comment
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.
Answered 01/13/2010 by: MSIPackager
Third Degree Black Belt

Please log in to comment
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
Answered 01/13/2010 by: bheers
Second Degree Blue Belt

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