Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to build a minimal WiX installer UI without a license page?

I would like to use the WixUI_Minimal installer, but I don't want the license page. How can I do this?

like image 504
Adam Tegen Avatar asked Feb 27 '09 23:02

Adam Tegen


People also ask

Is WiX Installer free?

Download. You can download the WiX toolset for free.

Does WiX have GUI?

WiX is great in that there is no GUI, you just write the installer you want it to be.


1 Answers

I would simply use one of the already created WiX UI and override the sequence (make it higher so that it will override the previous setting):

    <Product>          ...         <UI>             <UIRef Id="WixUI_InstallDir" />              <!-- Skip license dialog -->             <Publish Dialog="WelcomeDlg"                      Control="Next"                      Event="NewDialog"                      Value="InstallDirDlg"                      Order="2">1</Publish>             <Publish Dialog="InstallDirDlg"                      Control="Back"                      Event="NewDialog"                      Value="WelcomeDlg"                      Order="2">1</Publish>         </UI>          <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />         ...     </Product> 
like image 189
Ran Davidovitz Avatar answered Sep 19 '22 21:09

Ran Davidovitz