Verb Element

WiX Help

Verb Element

Description

Verb definition for an Extension. When advertised, this element creates a row in the Verb table. When not advertised, this element creates the appropriate rows in Registry table.

Windows Installer references
Verb Table, Registry Table
Parents
Extension
Inner Text
None
Children
None
Attributes
Name Type Description Required
Id String The verb for the command. Yes
Argument String Value for the command arguments. Note that the resolution of properties in the Argument field is limited. A property formatted as [Property] in this field can only be resolved if the property already has the intended value when the component owning the verb is installed. For example, for the argument "[#MyDoc.doc]" to resolve to the correct value, the same process must be installing the file MyDoc.doc and the component that owns the verb.  
Command String The localized text displayed on the context menu.  
Sequence Integer The sequence of the commands. Only verbs for which the Sequence is specified are used to prepare an ordered list for the default value of the shell key. The Verb with the lowest value in this column becomes the default verb. Used only for Advertised verbs.  
Target String Target file to be executed for the verb. The value should be a formatted Property to refer to the short path to the file, for example: [!TargetFileId]. Only valid for non-Advertised verbs.  
See Also
Wix Schema