The WixUI_Advanced dialog set provides the option of a one-click install like WixUI_Minimal, but it also allows directory and feature selection like other dialog sets if the user chooses to configure advanced options.
This dialog set is defined in the file WixUI_Advanced.wxs in the WixUIExtension in the WiX source code.
To use WixUI_Advanced, you must include the following information in your setup authoring:
<Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder" Name="PFiles"> <Directory Id="APPLICATIONFOLDER" Name="My Application Folder"> ... </Directory> </Directory> </Directory>
<Property Id="ApplicationFolderName" Value="My Application Folder" />
<Property Id="WixAppFolder" Value="WixPerMachineFolder" />
It is possible to suppress the install scope dialog in the WixUI_Advanced dialog set so the user will not be able to choose a per-machine or per-user installation. To do this, you must set the WixUISupportPerMachine or WixUISupportPerUser WiX variables to 0. The default value for each of these variables is 1, and you should not set both of these values to 0 in the same .msi. For example, to remove the install scope dialog and support only a per-machine installation, you can set the following:
<WixVariable Id="WixUISupportPerUser" Value="0" />
The install scope dialog will automatically set the ALLUSERS property for the installation session based on the user's selection. If you suppress the install scope dialog by setting either of these WiX variable values, you must manually set the ALLUSERS property to an appropriate value based on whether you want a per-machine or per-user installation.
WixUI_Advanced includes the following dialogs:
In addition, WixUI_Advanced includes the following common dialogs that appear in all WixUI dialog sets:
See the WixUI dialog reference for detailed descriptions of each of the above dialogs.