首页 > 代码库 > Wix installer: suppressing the License Dialog
Wix installer: suppressing the License Dialog
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> <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" /> <UIRef Id="WixUI_InstallDir"/> <UIRef Id="WixUI_ErrorProgressText" /> <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>
Please note that, if you don‘t specify Order property, UI will go back to LicenseDlg when you click Back button on 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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。