C# (CSharp) WixSharp.Controls Namespace

Classes

Name Description
Buttons Defines values (names) for the WiX custom UI predefined buttons.
CloseDialog Defines custom UI control "Close Dialog" action.
CommomDialogsUI Class defining all Publish declarations associated with the WixUI_Common dialogs. This class is used as a starting point for UI customization with injection of CLR Dialog (WinForms).
CommonDialogs Defines values (names) for the WiX custom UI predefined dialog types.
Control Defines generic WiX Control.
ControlAction Predefined WiX custom UI control (element) action types.
ControlActionData Predefined values for the Control actions.
CustomUI Defines custom UI (WiX UI element). This class is to be used to define the customization of the standard MSI UI. The usual scenario of the customization is the injection of the custom T:WixSharp.Dialog into the sequence of the standard dialogs. This can be accomplished by defining the custom dialog as T:WixSharp.WixForm. Such a T:WixSharp.WixForm can be edited with the Visual Studio form designer.

When T:WixSharp.WixForm is complete it can be converted into T:WixSharp.Dialog with the T:WixSharp.Dialog.ToWDialog() call. And at compile time Wix# compiler converts T:WixSharp.Dialog into the final WiX UI element XML definition.

While it is possible to construct T:WixSharp.CustomUI instance manually it is preferred to use Factory methods of T:WixSharp.CustomUIBuilder (e.g. BuildPostLicenseDialogUI) for this.

project.UI = WUI.WixUI_Common; project.CustomUI = CustomUIBuilder.BuildPostLicenseDialogUI(productActivationDialog, onNextActions: new DialogAction[]{ new ExecueteCustomAction ("ValidateLicenceKey"), new ShowDialog(Dialogs.InstallDirDlg, "SERIALNUMBER_VALIDATED = \"TRUE\"")});
CustomUIBuilder The Factory class for building T:WixSharp.CustomUI.

While it is possible to construct instance manually it is preferred to use Factory methods of T:WixSharp.CustomUIBuilder for this.

project.UI = WUI.WixUI_Common; project.CustomUI = CustomUIBuilder.BuildPostLicenseDialogUI(productActivationDialog, onNextActions: new DialogAction[]{ new ExecueteCustomAction ("ValidateLicenceKey"), new ShowDialog(Dialogs.InstallDirDlg, "SERIALNUMBER_VALIDATED = \"TRUE\"")});
Dialog Defines MSI Dialog. It represents WiX Dialog element.
DialogAction Defines custom UI control generic action.
DialogSequence Simple class that defines custom UI (WiX UI element). This is a specialized version of T:WixSharp.CustomUI class designed to allow simple customization of the dialogs sequence without the introduction of any custom dialogs. The following is an example demonstrates how to skip License Agreement dialog, which is otherwise displayed between Welcome and InstallDir dialogs. project.CustomUI = new DialogSequence() .On(Dialogs.WelcomeDlg, Buttons.Next, new ShowDialog(Dialogs.InstallDirDlg)) .On(Dialogs.InstallDirDlg, Buttons.Back, new ShowDialog(Dialogs.WelcomeDlg));
EndDialogValue Predefined values for the EndDialog action.
ExecuteCustomAction Defines T:WixSharp.DialogAction for executing MSI CustomAction ("DoAction").
NativeDialogs Defines values (names) for the standard WiX dialogs.
PublishingInfo Defines the association between an MSI dialog control and the T:WixSharp.PublishingInfo.
SetProperty Defines T:WixSharp.DialogAction for setting property.
SetTargetPath Defines "SetTargetPath" T:WixSharp.DialogAction.
ShowDialog Defines T:WixSharp.DialogAction for showing MSI dialog.
SpawnDialog Defines T:WixSharp.DialogAction for creating a child of a modal dialog box while keeping the present dialog box running.
WixButton
WixCheckBox
WixControl
WixControlCondition
WixForm
WixLabel
WixTextBox