cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jesuraj
Level 4

How to get Command line parameters passed in MSI Installer

From a command line, my installer is run as setup.exe /v"ValueSet=12 Address=server.com". The installer does what it wants, but I am not able to do anything special based on the value passed. I do know how to get the command line parameters passed. Is there a command that I could use in the Basic MSI scripting to retrieve the parameters?

Thanks,
Elizabeth.
Labels (1)
0 Kudos
(1) Reply
Barbara
Level 7

It is not completely clear to me what you want to do. As I understand it, you give some properties through the command line and wonder if they are evaluated or not, is this right?
If this is the problem you can write a verbose MSI Log file and look in this, if your properties are set correctly.
Use a commandline like:
Setup.exe /v"/L*v c:\test.log "MYPROPERTY1=value1"
You will write a MSI-logfile to c:\test.log

Barbara
0 Kudos