01/13/2010 2926 views
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


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

All Answers

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

Answered 01/13/2010 by: MSIPackager
3rd Degree Black 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
Answered 01/13/2010 by: bheers
Second Degree Blue Belt