3
votes

I want the installer to skip showing setup type screen (where you can choose Typical, Custom, Complete features), How can I do this? I provided only one feature set named product. And I also want the user be able to change the installation directory.

2
I changed from WixUI_Mondo to WixUI_InstallDir. And it worked. Note: you have to add a <property Id="WIXUI_INSTALLDIR" ... />, or you will get a 2189 error when setting up. Check the document of WIXUI_INSTALLDIR for more details. - deerchao

2 Answers

4
votes

If you only require the user to customize the installation folder, use:

<UIRef Id="WixUI_InstallDir" />

If you don't permit customization of the installation folder, use:

<UIRef Id="WixUI_Minimal" />

Chances are you're using one of the built in libraries that does include the Feature Tree selction, i.e.

  • WixUI_Mondo
  • WixUI_FeatureTree
  • WixUI_Advanced
2
votes

My application only has a licence screen then installation directory screen, and I use this configuration block to-do it:

<Property Id="WIXUI_INSTALLDIR" Value="INSTALLLOCATION" />
<UIRef Id="WixUI_InstallDir" />
<WixVariable Id="WixUILicenseRtf" Value="License.rtf" />

just before the end of my </Product> tag. All the application installs into INSTALLLOCATION in the <Directory> section.

The WixUI dialog library guide might help explain the options