首页 > 其他 > 详细

Wix installer: suppressing the License Dialog

时间:2014-12-15 16:55:47      阅读:331      评论:0      收藏:0      [点我收藏+]

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

原文:http://www.cnblogs.com/cindy-hu-23/p/4165163.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!