MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: Parameter Quoting[Next]: Optional Parameters
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Source Code->Parameters->Mandatory Parameters

Mandatory Parameters

A mandatory parameter is one that must always be supplied.

The documentation will always tell you if a parameter is mandatory or optional, any fine detail as to what you can pass will be documented in the information for that command's parameter. Please read the "parameter quoting" section for more information about how parameters should be supplied.

ParameterName="Value"

All mandatory parameters are supplied as the name of the parameter immediately followed by an equal sign ("=") which is also immediately followed by the parameter's value. If you have spaces around the equal sign then most commands will now tell you that this is invalid (keyword parameters not supported).

The Parameter's Name

The name of the parameter is almost always case insensitive (so "component='fred'" is the same as "COMPONENT='fred'"). One main exception to this is for the "row" command where the parameter's name is actually the name of an MSI table's column (which are case-sensitive).

The Parameter's Value

Sometimes the parameter value's case will matter, it is suggested that the documented case always be used.

A lot of commands take "Y" or "N" responses. Please be aware many will not correctly handle "y" or "n" instead. As I update commands I will try to correct this...

Where the data is obviously case sensitive such as with the MSI table name on a "table" command you must supply it in the exact case required.

Please also be aware that an empty or blank value is not always the same as if the parameter is not supplied.


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: Parameter Quoting[Next]: Optional Parameters


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Sunday August 13 2017 at 2:39pm
Visit MAKEMSI's Home Page
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.