Reference Link:
http://blog.robseder.com/2014/02/20/more-on-wix-and-suppressing-the-license-dialog/
Customize WiX ui:only Keep Welcome & Browsing Install directory Dialog
Add following code snippet somewhere between <Product> and </product>.
<UI> < PropertyId= "Wixui_installdir"Value= "Installfolder" /> <UirefId= "Wixui_installdir"/> <UirefId= "Wixui_errorprogresstext" /> <PublishDialog= "Welcomedlg"Control= "Next"Event= "NewDialog"Value= "Installdirdlg"Order= "2">1</Publish> <PublishDialog= "Installdirdlg"Control= "Back"Event= "NewDialog"Value= "Welcomedlg"Order= "2">1</Publish> </UI>
Please note this, if you don't specify Order property, UI would go back to Licensedlg when you click the Back button O N Installdirdlg.
Source Code of Wixui_installdir:
Http://wix.cvs.sourceforge.net/viewvc/wix/wix/src/ext/UIExtension/wixlib/WixUI_InstallDir.wxs
Source Code of Wixui_minimal:
Http://wix.cvs.sourceforge.net/viewvc/wix/wix/src/ext/UIExtension/wixlib/WixUI_Minimal.wxs
Wix installer:suppressing the License Dialog