码迷,mamicode.com
首页 > 其他好文 > 详细

Wix installer: suppressing the License Dialog

时间:2014-12-15 16:57:06      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   io   color   sp   for   strong   on   

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

标签:style   blog   http   io   color   sp   for   strong   on   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!