PDA

View Full Version : Parsing arguments sent from CMD



Gil Horen
10-18-2012, 08:28 AM
Hi,

How do i parse the arguments that i send from a command line?
I basically need to send some arguments using the /v flag and use those inside the "OnFirstUIBefore" or "OnUpdateUIBefore".

I use the following syntax inside the command line:

setup123.exe /d /v "This is argument number 1"

I also like to know if there is a window in the debugger mode that displays the locals?

Thanks,
Gil.

RobertDickau
10-19-2012, 03:48 PM
It partly depends on your project type: please see the "Passing Data to the Installation" part of the help topic "Setup.exe and Update.exe Command-Line Parameters" for details.

Gil Horen
10-21-2012, 06:17 AM
Hi,

I've found what i was looking for. The keywork CMDLINE holds the arguments sent to the MSI. :cool: