Wix - Custom installation directory

The UIRef element refers to one of the standard user interface sequences provided by WiX:

  • WixUI_Mondo
  • WixUI_Advanced
  • WixUI_FeatureTree
  • WixUI_InstallDir
  • WixUI_Minimal

You can only use one of these sequences in your installer. Each one of these has a set of dialogs. For information on what dialogs are included in each of these sequences see the WiX documentation.

The WixUI_Mondo allows the user to specify the installation directory if they choose a Custom install. Only WixUI_Mondo allows the user to choose a typical, custom or complete install.

The simplest way to allow the user to choose the installation directory is to use the WixUI_InstallDir dialog sequence.

SharpDevelop's own installer uses the WixUI_FeatureTree dialog sequence.

So if one of the standard sets of dialogs provided by WiX is not what you want you could look at customising the dialog sequence. Creating your own custom dialogs is generally the last resort.