Search code examples
wixinstallationwindows-installerwix-gui

How to skip the features select screen in WIX-generated installer program?


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.


Solution

  • 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