4

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.

Stein Åsmul
  • 39,960
  • 25
  • 91
  • 164
deerchao
  • 10,454
  • 9
  • 55
  • 60
  • I changed from WixUI_Mondo to WixUI_InstallDir. And it worked. Note: you have to add a , or you will get a 2189 error when setting up. Check the document of WIXUI_INSTALLDIR for more details. – deerchao Dec 08 '09 at 08:14

2 Answers2

5

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
Johannes Rabauer
  • 330
  • 3
  • 15
saschabeaumont
  • 22,080
  • 4
  • 63
  • 85
  • hi, i dont want to provide feature screen (i.e. typical,custom and complete) and i have created some custom dialogues those are required to show up so i think i cant use WixUI_Mondo. if i am using WixUI_Advanced then it gives me error "Error 1 Unresolved reference to symbol 'WixUI:WixUI_Advance' in section 'Fragment:'. D:\Projects\WixDemoWPFAppVS2012\WixDemoWPFAppVS2012\WixDemoWPFAppVS2012\Setup\WixDemoWPFAppVS2012.Setup\GUI.wxs 41 1 WixDemoWPFAppVS2012.Setup" i am confused here – Finisher001 Jun 17 '13 at 11:33
2

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

Stomf
  • 177
  • 3
  • 7
Simeon Pilgrim
  • 22,906
  • 3
  • 32
  • 45