Wix 自定义对话框 [英] Wix Custom Dialog

查看:51
本文介绍了Wix 自定义对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们目前为我们的安装向导使用经典主题 (Wix).现在,我们计划改进安装程序的外观.

We are currently having the Classic theme of (Wix) for our installer wizard. Now, we have plan to improve the look and feel of the installer.

1) 如何将自定义对话框经典主题更改为其他主题.

1) How i can change the custom dialog classic themes to something else.

2) 在安装我们的设置时,我们计划显示一些图像,如幻灯片.是否可以在 Wix 中显示这样的图像.我是否必须创建任何自定义触发器来显示图像.请你能举一些例子吗?

2) While installing our setup we have plan to show the some images like slide show. Is it possible to show the images like that in the Wix. Whether I have to create any custom trigger to show the images. Please can you show some examples on this ?

推荐答案

如何更改自定义对话框其他东西的经典主题.

How i can change the custom dialog classic themes to something else.

看看这个其他答案 在这里,我将介绍创建自定义警告对话框并将其插入自定义 UI 序列所需执行的操作.

Take a look at this other answer where I walk through the things you need to do to create a custom warning dialog and insert it in a custom UI sequence.

在安装我们的设置时,我们有计划展示一些图像,如幻灯片放映.是否可以显示像Wix中的图像.无论我必须创建任何自定义触发器显示图像

While installing our setup we have plan to show the some images like slide show. Is it possible to show the images like that in the Wix. Whether I have to create any custom trigger to show the images

这就是 BillBoardActionBillBoard 元素用于.要在文件安装过程中显示位图,我想你会在 UI 中放置类似的内容 序列定义(我没有测试过):

This is what the BillBoardAction and BillBoard elements are for. To display bitmaps during the installation of files, I think you would put something like this in the UI sequence definition (I haven't tested it):

  <BillboardAction Id="InstallFiles">
    <Billboard Id="FirstBillboard" Feature="FeatureA">
      <Control Id="FirstBitmap" Type="Bitmap" 
          Height="300" Width="300" X="0" Y="0">
        <Binary Id="HelloWorld.bmp" SourceFile="setupImages\HelloWorld.bmp"/>
      </Control>
    </Billboard>
    <Billboard Id="SecondBillboard" Feature="FeatureB">
      <Control Id="SecondBitmap" Type="Bitmap"
          Height="300" Width="300" X="0" Y="0">
        <Binary Id="HelloAgain.bmp" SourceFile="setupImages\HelloAgain.bmp"/>
      </Control>
    </Billboard>      
  </BillboardAction>

这篇关于Wix 自定义对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆