Wix Custom Dialog

2019-04-09 14:26发布

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) How i can change the custom dialog classic themes to something else.

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 ?

标签: wix
1条回答
▲ chillily
2楼-- · 2019-04-09 14:40

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

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.

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

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>
查看更多
登录 后发表回答